var sliderwidth="1000px"

var sliderheight="150px"

var slidespeed=1

// slidebgcolor="#E1E9EF"

slidebgcolor=""

var tmp=new Array()

var leftrightslide=new Array()

var finalslide=''

var loadinggif='background-image: url("images/loading.gif"); background-repeat: no-repeat; background-attachment: fixed; background-position: top center;';


tmp[0]='<a target="_self" href="underconstruction.html"><img src="images/1.jpg" width="127" height="115" alt="View " title="Join ITIL & Project Management Clas today" border="0"></a>';

tmp[2]='<img src="images/spacer.gif" width="20" height="20" alt="View " border="0">';

tmp[3]='<a target="_self" href="3months.html"><img src="images/2.jpg" width="127" height="115" alt="View " title="ICT / Telecom Training" border="0"></a>';

tmp[4]='<img src="images/spacer.gif" width="20" height="20" alt="View " border="0">';

tmp[5]='<a target="_self" href="portalweb.html"><img src="images/3.jpg" width="127" height="115" alt="View " title="Cut your cost on portal&  web development" border="0"></a>';

tmp[6]='<img src="images/spacer.gif" width="20" height="20" alt="View " border="0">';

tmp[7]='<a target="_self" href="webhosting.html"><img src="images/4.jpg" width="127" height="115" alt="View " title="Low cost & Reliable web-hosting" border="0"></a>';

tmp[8]='<img src="images/spacer.gif" width="20" height="20" alt="View " border="0">';

tmp[9]='<a target="_self" href="portalweb.html"><img src="images/5.jpg" width="127" height="115" alt="View " title="Portal / Web Development" border="0"></a>';

tmp[10]='<img src="images/spacer.gif" width="20" height="20" alt="View " border="0">';

tmp[11]='<a target="_self" href="underconstruction.html"><img src="images/6.jpg" width="127" height="115" alt="View " title="Exchange Server Implementation" border="0"></a>';

tmp[12]='<img src="images/spacer.gif" width="20" height="20" alt="View " border="0">';

tmp[13]='<a target="_self" href="underconstruction.html"><img src="images/7.jpg" width="127" height="115" alt="View " title="Creative Graphic Designs | Multimedia Web Design 3D Animation" border="0"></a>';

tmp[14]='<img src="images/spacer.gif" width="20" height="20" alt="View " border="0">';

fisherYates_rand(tmp);



leftrightslide[0]=tmp[0];

leftrightslide[1]=tmp[1];

leftrightslide[2]=tmp[2];

leftrightslide[3]=tmp[3];

leftrightslide[4]=tmp[4];

leftrightslide[5]=tmp[5];

leftrightslide[6]=tmp[6];

leftrightslide[7]=tmp[7];

leftrightslide[8]=tmp[8];

leftrightslide[9]=tmp[9];

leftrightslide[10]=tmp[10];

leftrightslide[11]=tmp[11];

leftrightslide[12]=tmp[12];

leftrightslide[13]=tmp[13];

					   

var copyspeed=slidespeed

leftrightslide='<nobr>'+leftrightslide.join("")+'</nobr>'

var iedom=document.all||document.getElementById

if (iedom)

document.write('<center><span id="temp" style="visibility:hidden;position:absolute;top:4px;right:0px;">'+leftrightslide+'&nbsp;&nbsp;&nbsp;' +'</span></center>')

var actualwidth=''

var cross_slide, ns_slide



function fillup(){

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=leftrightslide

actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth

cross_slide2.style.right=actualwidth+1+"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(leftrightslide)

ns_slide.document.close()

actualwidth=ns_slide.document.width

ns_slide2.right=actualwidth+1

ns_slide2.document.write(leftrightslide)

ns_slide2.document.close()

}

lefttime=setInterval("slideleft()",25)

}

window.onload=fillup





function fisherYates_rand ( myArray ) {

  var i = myArray.length;

  if ( i == 0 ) return false;

  while ( --i ) {

     var j =40

     var tempi = myArray[i];

     var tempj = myArray[j];

     myArray[i] = tempj;

     myArray[j] = tempi;

   }

}



function slideleft(){

if (iedom){

if (parseInt(cross_slide.style.right)>(actualwidth*(-1)+40))

cross_slide.style.right=parseInt(cross_slide.style.right)-copyspeed+"px"

else

cross_slide.style.right=parseInt(cross_slide2.style.right)+actualwidth+1+"px"



if (parseInt(cross_slide2.style.right)>(actualwidth*(-1)+40))

cross_slide2.style.right=parseInt(cross_slide2.style.right)-copyspeed+"px"

else

cross_slide2.style.right=parseInt(cross_slide.style.right)+actualwidth+1+"px"





}

else if (document.layers){

if (ns_slide.right>(actualwidth*(-1)+40))

ns_slide.right-=copyspeed

else

ns_slide.right=ns_slide2.right+actualwidth+1



if (ns_slide2.right>(actualwidth*(-1)+40))

ns_slide2.right-=copyspeed

else

ns_slide2.right=ns_slide.right+actualwidth+1

}

}



if (iedom||document.layers){

with (document){

document.write('<table border="0" cellspacing="0" cellpadding="0" background="images\showbg.gif" valign="top" ><td>')

if (iedom){

write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden" valign="top">')



// write('<div id="loading" style="display: inline; top: 80px; height: '+sliderheight+'; width: '+sliderwidth+'; position: absolute; text-align: center; vertical-align: middle;"><img border="0" src="/images/loading.gif" alt="Loading photo slideshow..." title="Loading photo slideshow..."></div>')



// write('<div style="display:inline; position:absolute;width:'+sliderwidth+';height:'+siderheight+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')

write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed" valign="top">')



write('<div id="test2" style="position:absolute;right:0px;top:4px"></div>')

write('<div id="test3" style="position:absolute;right:0px;top:4px"></div>')

write('</div></div>')



// write('</div>')



}

else if (document.layers){

write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu" bgColor='+slidebgcolor+'>')

write('<layer name="ns_slidemenu2" right=0 top=4 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')

write('<layer name="ns_slidemenu3" right=0 top=4 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')

write('</ilayer>')

}

document.write('</td></table>')

}

}


