var variableslide=new Array()



//variableslide[x]=["percorso del banner", "link ozionale", "testo opzionale"]




variableslide[0]=['MY EBAY STORE', 'http://search.ebay.it/_W0QQsassZmicrost1QQhtZ-1QQfrppZ50QQfsopZ1QQfsooZ1QQrdZ0?', '']

variableslide[1]=['DIMMER PER LAMPADE',  'http://www.microst.it/Progetti/pic_dimmer.htm', '']

variableslide[2]=['INTERFACCIA SERIALE PER LCD (HD44780)', 'http://www.microst.it/Progetti/lcd_232.html', '']

variableslide[3]=['SONDA DI TEMPERATURA A DIODO', 'http://www.microst.it/Progetti/termo_diodo.html', '']

variableslide[4]=['RIPRODUTTORE MUSICHE NATALIZIE', 'http://www.microst.it/Progetti/natale_musiche.html', '']

variableslide[5]=['INTERRUTTORE CREPUSCOLARE', 'http://www.microst.it/Progetti/inter_crepu.html', '']

variableslide[6]=['STANDARD USB OTG', 'http://www.microst.it/Tutorial/usb_otg.htm', '']

variableslide[7]=['CONVERTITORE A/D SAR', 'http://www.microst.it/Tutorial/sar_adc.htm', '']

variableslide[8]=['APPLICAZIONE DEL PWM NEI uP PIC', 'http://www.microst.it/Tutorial/pwm_app.htm', '']

variableslide[9]=['NE555 - TEORIA E CIRCUITI', 'http://www.microst.it/Tutorial/ne555.html', '']

variableslide[10]=['STANDARD RS232', 'http://www.microst.it/Tutorial/RS-232.htm', '']

variableslide[11]=['GENERATORE DI SEGNALI', 'http://www.microst.it/Progetti/sigen.html', '']

variableslide[12]=['REGOLATORE DI VELOCITA PER MOTORI', 'http://www.microst.it/Progetti/regvelocita.html', '']

variableslide[13]=['LINK EXCHANGE', 'http://www.microst.it/links.htm#proponi_link', '']

variableslide[14]=['CONVERTITORE A/D SIGMA DELTA', 'http://www.microst.it/Tutorial/sigmadelta_adc.htm', '']

variableslide[15]=['COMUNICAZIONE SPI NEI uP PIC', 'http://www.microst.it/Tutorial/pic_spi.htm', '']

variableslide[16]=['EFFETTO HALL', 'http://www.microst.it/Tutorial/hall.html', '']

variableslide[17]=['DIODI LED - FOTODIODI', 'http://www.microst.it/Tutorial/led_fd.html', '']

variableslide[18]=['LEGGE DI OHM', 'http://www.microst.it/Tutorial/ohm.html', '']

variableslide[19]=['IMPIANTO DI TERRA', 'http://www.microst.it/Tutorial/impianto_terra.html', '']

variableslide[20]=['RESISTORI', 'http://www.microst.it/Tutorial/res.html', '']

variableslide[21]=['CONDENSATORI', 'http://www.microst.it/Tutorial/condensatori.html', '']

variableslide[22]=['TRANSISTORI BIPOLARI (BJT)', 'http://www.microst.it/Tutorial/bjt.html', '']

variableslide[23]=['IGBT', 'http://www.microst.it/Tutorial/igbt.html', '']

variableslide[24]=['MEMS', 'http://www.microst.it/Tutorial/mems.htm', '']

variableslide[25]=['DAC - CARATTERISTICHE', 'http://www.microst.it/Tutorial/dac_char.html', '']

variableslide[26]=['DAC - ARCHITETTURE', 'http://www.microst.it/Tutorial/dac_arch.htm', '']

variableslide[27]=['OSCILLOSCOPIO', 'http://www.microst.it/Tutorial/oscilloscopio.htm', '']

variableslide[28]=['SISTEMI ACQUISIZIONE DATI DISTRIBUITI', 'http://www.microst.it/Tutorial/sadd.htm', '']




// le 3 seguenti variabili possono essere settate per modificare le misure delle slide















var slidewidth='300px' //larghezza della slide

var slideheight='50px' //altezza della slide







var slidebgcolor='#FFFFFF' // colore di sfondo; se la misura della slide č = alla misura dell'immagine, non apparirā nessun colore di sfondo in quanto questo si trova sotto.















//configura intervallo tra una immagine e l'altra, in millisecondi (3000 = 3 secondi)







var slidedelay=2500















//// non cambiare le righe di codice poste di seguito \\\\















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= Math.floor(variableslide.length * Math.random());








function rotateimages(){






contentcontainer='<center>'







if (variableslide[currentslide][1]!="")







contentcontainer+='<a href="'+variableslide[currentslide][1]+'"><font color="#3333ff"><font size="4">'







contentcontainer+=variableslide[currentslide][0]








if (variableslide[currentslide][1]!="")







contentcontainer+='</font></font></a>'







contentcontainer+='</center>'







if (variableslide[currentslide][2]!="")







contentcontainer+=variableslide[currentslide][2]















if (document.layers){







crossrotateobj.document.write(contentcontainer)







crossrotateobj.document.close()







}











else if (ie||dom)







crossrotateobj.innerHTML=contentcontainer







// old code



//if (currentslide==variableslide.length-1) currentslide=0







//else currentslide++







// new code for random show



currentslide=Math.floor(variableslide.length * Math.random());







setTimeout("rotateimages()",slidedelay)







}















if (ie||dom)







document.write('<div id="slidedom" style="width:'+slidewidth+';height:'+slideheight+'; background-color:'+slidebgcolor+'"></div>')















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







////<ilayer id="slidensmain" width=&{slidewidth}; height=&{slideheight}; bgColor=&{slidebgcolor}; visibility=hide><layer id="slidenssub" width=&{slidewidth}; left=0 top=0></layer></ilayer>









