/*
*/
var fadeVal;
var quoteNumber=-1;
var quotes=[];
var sources=[];
quotes[0]='"End user needs presentations very informative."';
sources[0]='Avnet';
quotes[1]='"Networking and presentations were excellent."';
sources[1]='ITT Corp';
quotes[2]='"Very good presentations. Highly relevant speakers and exhibits by current leaders."';
sources[2]='Infronics Systems';
quotes[3]='"Good coverage of energy harvesting. I felt it was a well-rounded tutoring of this niche area."';
sources[3]='Phase IV Engineering';
quotes[4]='"Good balance between technical and business."';
sources[4]='Fundacao CPqD';
quotes[5]='"Very well organized with very helpful and useful content. I really enjoyed it!"';
sources[5]='ITENE';
quotes[6]='"Another well organised and highly informative conference from IDTechEx."';
sources[6]='Facility:Innovate';
quotes[7]='"Well organized and appropriately sized. Very pleasant and efficient staff."';
sources[7]='Impact Technologies';
quotes[8]='"Good conference!"';
sources[8]='Bosch';
quotes[9]='"Very interesting presentations and exhibitors. Thanks!"';
sources[9]='SNCF';
quotes[10]='"As always, the best-run event in the industry!"';
sources[10]='Blackburn Global';
quotes[11]='"This conference is very efficient and fruitful!"';
sources[11]='GSNanotech';
quotes[12]='"This is a first-of-its-kind conference providing valuable networking and face-to-face technical discussions among the practitioners of the field. Teaching is good!"';
sources[12]='ASTRI';
quotes[13]='"Like most conferences some is applicable and some not. Overall, this has been the most well rounded conference to date."';
sources[13]='ITT';
quotes[14]='"All people who attend this site is very important to future technologies\' realization."';
sources[14]='GSNanotech';
quotes[15]='"End user testimonies and technology offer presentations are well balanced allowing to get highly interesting information [sic]."';
sources[15]='Schneider Electric';
quotes[16]='"I was surprised as to what I have learnt in just 2 days after doing active research in energy harvesting and storage for the last 6-9 months. It was very helpful."';
sources[16]='Tyco Fire & Security';
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();