/* */ var fadeVal; var quoteNumber=-1; var quotes=[]; var sources=[]; quotes[0]='"...a huge success. It was a well organized and very topically focused program, and mostly because it blended the practical applications with up-to-date technologies so it fitted in beautifully with our needs"'; sources[0]='Dr Vicki A.Barbur, Technology Director, Eastman Kodak Company'; quotes[1]='"Excellent networking opportunities built in"'; sources[1]='Smart Labels USA 2005 delegate'; quotes[2]='"Well done for a very well run conference. I found it very useful, informative and fun!"'; sources[2]='Marc Wisnudel, GE Global Research'; quotes[3]='"Very exciting"'; sources[3]='David Hughes, G&K Tech Media'; quotes[4]='"Very informative, as a newcomer I learnt a great deal at the conference"'; sources[4]='Sean Weir, Ferro Corp'; quotes[5]='"Very good mix of actual experiences, technologies and industry visions."'; sources[5]='Mick Austin, Asymtek'; function startQuotes() { if(quotes.length>0) newQuote(); } function fade() { fadeVal+=16; if(fadeVal<100) { var quote=document.getElementById('quote'); var source=document.getElementById('source'); var val=fadeVal.toString(16); while(val.length<6) val='0'+val; quote.style.color=getColourString(255,255,255,203,1,3,fadeVal); source.style.color=getColourString(255,255,255,0,0,0,fadeVal); setTimeout('fade()',100); } else { newQuote(); } } function newQuote() { var quote=document.getElementById('quote'); var source=document.getElementById('source'); quoteNumber=(quoteNumber+1)%(quotes.length); quote.style.color='#CB0103'; source.style.color='#000000'; quote.innerHTML=quotes[quoteNumber]; source.innerHTML=sources[quoteNumber]; fadeVal=0; setTimeout('fade()',5000); } function getColourString(r1,g1,b1,r2,g2,b2,v1) { var v2=100-v1; var r=Math.floor((r1*v1+r2*v2)/100); var g=Math.floor((g1*v1+g2*v2)/100); var b=Math.floor((b1*v1+b2*v2)/100); var retval; if(r<16) retval='#0'+r.toString(16); else retval='#'+r.toString(16); if(g<16) retval=retval+'0'+g.toString(16); else retval=retval+g.toString(16); if(b<16) retval=retval+'0'+b.toString(16); else retval=retval+b.toString(16); return retval; } function breakFree() { if (top.location) top.location.replace(self.location.href) else top.document.location.replace(self.document.location.href); } function stayInFrame() { var url=document.location.href; return url.substring(url.length-17)=='&stayinframe=true'; } if(top!=self && !stayInFrame()) breakFree();