var variableslide3=new Array()

//variableslide3[x]=["path to image", "OPTIONAL link for image", "OPTIONAL text description (supports HTML tags)"]

variableslide3[0]=['images/kamp001.gif', 'kampanya01.aspx', '']
variableslide3[1]=['images/kamp002.gif', 'kampanya02.aspx', '']
variableslide3[2]=['images/kamp003.gif', 'kampanya03.aspx', '']

//configure the below 3 variables to set the dimension/background color of the slideshow

var slidewidth3='490px' //set to width of LARGEST image in your slideshow
var slideheight3='150px' //set to height of LARGEST image in your slideshow, plus any text description
var slidebgcolor3='#46474b'

//configure the below variable to determine the delay between image rotations (in miliseconds)
var slidedelay3=2000

////Do not edit pass this line////////////////

var ie=document.all
var dom=document.getElementById

for (i=0;i<variableslide3.length;i++){
var cacheimage=new Image()
cacheimage.src=variableslide3[i][0]
}

var currentslide3=0

function rotateimages3(){
contentcontainer3='<center>'
if (variableslide3[currentslide3][1]!="")
contentcontainer3+='<a href="'+variableslide3[currentslide3][1]+'" target="_parent">'
contentcontainer3+='<img src="'+variableslide3[currentslide3][0]+'" border="0" vspace="0">'
if (variableslide3[currentslide3][1]!="")
contentcontainer3+='</a>'
contentcontainer3+='</center>'
if (variableslide3[currentslide3][2]!="")
contentcontainer3+=variableslide3[currentslide3][2]

if (document.layers){
crossrotateobj3.document.write(contentcontainer3)
crossrotateobj3.document.close()
}
else if (ie||dom)
crossrotateobj3.innerHTML=contentcontainer3
if (currentslide3==variableslide3.length-1) currentslide3=0
else currentslide3++
setTimeout("rotateimages3()",slidedelay3)
}

if (ie||dom)
document.write('<div id="slidedom3" style="width:'+slidewidth3+';height:'+slideheight3+'; background-color:'+slidebgcolor3+'"></div>')

function start_slider3(){
crossrotateobj3=dom? document.getElementById("slidedom3") : ie? document.all.slidedom3 : document.slidensmain3.document.slidenssub3
if (document.layers)
document.slidensmain3.visibility="show"
rotateimages3()
}

if (ie||dom)
start_slider3()
else if (document.layers)
window.onload=start_slider3
