

//Specify the slider's width (in pixels)
var sliderwidth="536px"
//Specify the slider's height
var sliderheight="70px"
//Specify the slider's slide speed (larger is faster 1-10)
var slidespeed=1
//configure background color:
slidebgcolor="#EAEAEA"

//Specify the slider's images
var downupslide=new Array()
var finalslide=''
downupslide[0]='<a href="../Recrutement/recrutpub.aspx"><img src="../images/HPrecrut1.jpg" border=0></a>'
downupslide[1]='<a href="../Recrutement/recrutpub.aspx"><img src="../images/HPrecrut2.jpg" border=0></a>'
downupslide[2]='<a href="../Recrutement/recrutpub.aspx"><img src="../images/HPrecrut3.jpg" border=0></a>'


//Specify gap between each image (use HTML):
var imagegap="<br>"

//Specify pixels gap between each slideshow rotation (use integer):
var slideshowgap=0


///////////////////////////////////////////////////////

var copyspeed=slidespeed
downupslide='<nobr>'+downupslide.join(imagegap)+'</nobr>'
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-9000px;left:-100px">'+downupslide+'</span>')
var actualwidth=''
var actualheight=''
var cross_slide, ns_slide

///////////////////////////////////////////////////////
function fillup(){

if(document.getElementById("SlideUpDiv")){
if (iedom){
cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2
cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3
cross_slide.innerHTML=cross_slide2.innerHTML=downupslide

actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth
cross_slide2.style.left=actualwidth+"px"  //+slideshowgap

actualheight=document.all? cross_slide.offsetHeight : document.getElementById("temp").offsetHeight
cross_slide2.style.top=actualheight+slideshowgap+"px"

}
else if (document.layers){
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3

ns_slide.document.write(downupslide)
ns_slide.document.close()

actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth   //+slideshowgap

actualheight=ns_slide.document.Height
ns_slide2.top=actualheight+slideshowgap

ns_slide2.document.write(downupslide)
ns_slide2.document.close()
}

uptime=setInterval("slideup()",60)
}

}

//window.onload=fillup


///////////////////////////////////////////////////////
function slideup(){
if (iedom){
if (parseInt(cross_slide.style.top)>(actualheight*(-1)+1))
cross_slide.style.top=parseInt(cross_slide.style.top)-copyspeed+"px"
else
cross_slide.style.top=parseInt(cross_slide2.style.top)+actualheight-copyspeed+slideshowgap+"px"

cross_slide.style.left="0px"

if (parseInt(cross_slide2.style.top)>(actualheight*(-1)+1))
cross_slide2.style.top=parseInt(cross_slide2.style.top)-copyspeed+"px"
else
cross_slide2.style.top=parseInt(cross_slide.style.top)+actualheight+slideshowgap+"px"

cross_slide2.style.left="0px"
}
else if (document.layers){
if (ns_slide.top>(actualheight*(-1)+8))
ns_slide.top=copyspeed
else
ns_slide.top=ns_slide2.top+actualheight+slideshowgap

ns_slide.left=0

if (ns_slide2.top>(actualheight*(-1)+8))
ns_slide2.top=copyspeed
else
ns_slide2.top=ns_slide.top+actualheight+slideshowgap

ns_slide2.left=0
}

}

///////////////////////////////////////////////////////////////

