var variableslide=new Array()

//variableslide[x]=["path to image", "OPTIONAL link for image", "OPTIONAL text description (supports HTML tags)"]

variableslide[0]=['images/logo/villa_img.jpg', 'http://www.villasm.com', 'Villa valley']
variableslide[1]=['images/logo/breton_img.jpg', 'http://www.breton.it', 'Bernton']
variableslide[2]=['images/logo/zohai.jpg', 'http://www.powerinfo.com.cn', 'Zohai Info']
variableslide[3]=['images/logo/allied.jpg', 'http://www.alliedhightech.com', 'Allied']
variableslide[4]=['images/logo/biopac.jpg', 'http://www.gsdpackaging.com', 'Biopak']
variableslide[5]=['images/logo/cuec.jpg', 'http://www.cuec.com.cn', 'Cuec']
variableslide[6]=['images/logo/densply.jpg', 'http://www.dentsply.com', 'Densply']
variableslide[7]=['images/logo/environdata.jpg', 'http://www.environdata.com.au', 'Environdata']
variableslide[8]=['images/logo/fini.jpg', 'http://www.finicompressors.it', 'Fini Compressors']
variableslide[9]=['images/logo/iti.jpg', 'http://www.Scopes.com', 'I T I']
variableslide[10]=['images/logo/matest.jpg', 'http://www.matest.com', 'Matest']
variableslide[11]=['images/logo/mcc.jpg', 'http://www.mcc-instrumentation.com', 'MCC']
variableslide[12]=['images/logo/motic.jpg', 'http://www.motic.com', 'Motic']
variableslide[13]=['images/logo/quantachrome.jpg', 'http://www.quantachrome.com', 'Quantachrome']
variableslide[14]=['images/logo/time.jpg', 'http://www.timegroup.com', 'Time Group']
variableslide[15]=['images/logo/united.jpg', 'http://www.tensiletest.com', 'United Testing']
variableslide[16]=['images/logo/adec.jpg', 'http://www.a-dec.com', 'A-Dec']
variableslide[17]=['images/logo/wh.jpg', 'http://www.wh.com', 'W&amp;H']
variableslide[18]=['images/logo/manfri.jpg', 'http://www.manfredi-saed.it', 'Manfredi']
variableslide[19]=['images/logo/dentx.jpg', 'http://www.dent-x.com', 'Dent-X']
variableslide[20]=['images/logo/fifty.jpg', 'http://www.fittydent.com', 'Fitty Dent']
variableslide[21]=['images/logo/anthod.jpg', 'http://www.anthos.it/site/page.wplus?ID_COUNT=home&LN=1', 'Anthod']
variableslide[22]=['images/logo/carlo.jpg', 'http://www.degiorgi.it', 'Carlo De Giorgi']
variableslide[23]=['images/logo/mectron.jpg', 'http://www.mectron.com', 'Mectron']
variableslide[24]=['images/logo/dmega.jpg', 'http://www.dmega.co.kr', 'Dmega']
variableslide[25]=['images/logo/dae.jpg', 'http://www.daelectronics.com', 'DA Electronics']
variableslide[26]=['images/logo/durr.jpg', 'http://www.duerr.de/deu/6.aspx', 'Durr Dental']
variableslide[27]=['images/logo/bms.jpg', 'http://dentalcatalog.lookingfordental.com/viewcompany.php?Id=30920', 'BMS']
variableslide[28]=['images/logo/mercer.jpg', 'http://www.mercers.co.nz', 'Mercers']
variableslide[29]=['images/logo/tuttnar.jpg', 'http://www.tuttnauer.com', 'Tuttnauer']
variableslide[30]=['images/logo/cecil.jpg', 'http://www.cecilinstruments.com', 'CECIL']
variableslide[31]=['images/logo/street.jpg', 'http://www.solarstreet-light.com', 'Solar Street Lights']
variableslide[32]=['images/logo/an.jpg', 'http://www.ansolar.com.my', 'ANSOLAR']
variableslide[33]=['images/logo/zgsm.jpg', 'http://www.zgsm-china.com', 'ZGSM']
variableslide[34]=['images/logo/simce.jpg', 'http://www.simec.it', 'SIMEC']
variableslide[35]=['images/logo/abcop.jpg', '', 'ABCOP']

//configure the below 3 variables to set the dimension/background color of the slideshow

var slidewidth='130px' //set to width of LARGEST image in your slideshow
var slideheight='130px' //set to height of LARGEST iamge in your slideshow, plus any text description
var slidebgcolor=''

//configure the below variable to determine the delay between image rotations (in miliseconds)
var slidedelay=3000

////Do not edit pass this line////////////////

var ie=document.all
var dom=document.getElementById

for (i=0;i<variableslide.length;i++){
var cacheimage=new Image()
cacheimage.src=variableslide[i][0]
}

var currentslide=0

function rotateimages(){
contentcontainer='<table width="88" height="90" border="0"><tr></td><td align="center">'

if (variableslide[currentslide][1]!="")
contentcontainer+='<a href="'+variableslide[currentslide][1]+'" target="_blank">'
contentcontainer+='<img src="'+variableslide[currentslide][0]+'" border="0">'
if (variableslide[currentslide][1]!="")
contentcontainer+='</a>'
contentcontainer+='</td></tr></table>'
if (variableslide[currentslide][2]!="")
//contentcontainer+='<center>'
contentcontainer+=variableslide[currentslide][2]
//contentcontainer+='</center>'

if (document.layers){
crossrotateobj.document.write(contentcontainer)
crossrotateobj.document.close()
}
else if (ie||dom)
crossrotateobj.innerHTML=contentcontainer
if (currentslide==variableslide.length-1) currentslide=0
else currentslide++
setTimeout("rotateimages()",slidedelay)
}

if (ie||dom)
document.write('<table width="87"  border="0"><tr><td background="images/bg.jpg"  style="background-repeat:no-repeat;"  height="87" width="87"><div id="slidedom"  class="fontText1" style="width:'+slidewidth+';height:'+slideheight+'; background-color:'+slidebgcolor+'"></div></td></tr></table>')

function start_slider(){
crossrotateobj=dom? document.getElementById("slidedom") : ie? document.all.slidedom : document.slidensmain.document.slidenssub
if (document.layers)
document.slidensmain.visibility="show"
rotateimages()
}

if (ie||dom)
start_slider()
else if (document.layers)
window.onload=start_slider