// VERTICAL TEXT SCROLLER IN HEADER (FOR FEEDBACKS)
//scroller's width
var swidth=210;

//scroller's height
var sheight=65;

//scroller's speed 
var sspeed=2;
var restart=sspeed;
var rspeed=sspeed;

//scroller's pause 
var spause=2000;

// MESSAGES TO SCROLL
var singletext=new Array();

singletext[0]='<p class="sm_red">&ldquo;HigherFi sold my $130,000 Wilson Alexandria X-2 speakers, they are an honest, reliable and a first-rate company. Jim Peterson.&rdquo;</p>'

singletext[1]='<p class="sm_red">&ldquo;I am very happy with the $68,000 amps you sent to me here in Russia - all went smooth and prompt.  Aleksandr Nasonov.&rdquo;</p>'

singletext[2]='<p class="sm_red">&ldquo;$55,000 Rockport Sirius III turntable arrived safely in mint condition here in Australia, I will use you again. Hemisferik Audio.&rdquo;</p>'

singletext[3]='<p class="sm_red">&ldquo;Thanks for the $220,000 speakers you shipped to me in England, perfectly. Superb transaction, A++. Kevin Brady.&rdquo;</p>'

singletext[4]='<p class="sm_red">&ldquo;HigherFi provided excellent service to me in Finland when I purchased my $65,000 VR-7SE speakers. Riwin Homan.&rdquo;</p>'

singletext[5]='<p class="sm_red">&ldquo;I purchased a $90,000 Transrotor Gravita from HigherFi which they sent to me in Korea. Highly recomended. Ryan Kim.&rdquo;</p>'

singletext[6]='<p class="sm_red">&ldquo;I spent $120,000 in audio with HigherFi this year - best deals, best service ... the best in the world. Morgan Epple.&rdquo;</p>'

// begin: Scroller's Algorithm
var ii = 0;
var sizeup = 0;
var ns6div = 0;
function goup(){if(sspeed!=rspeed*16){sspeed=sspeed*2;restart=sspeed;}}

function startScroll(){
if(document.getElementById){ns6div=document.getElementById('iens6div');ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[0];sizeup=ns6div.offsetHeight;ns6scroll();}
else 
if(document.layers){ns4layer=document.ns4div.document.ns4div1;ns4layer.top=sheight;ns4layer.document.write(singletext[0]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}
else 
if(document.all){iediv=iens6div;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[0];sizeup=iediv.offsetHeight;iescroll();}}
function iescroll(){if(iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){iediv.style.pixelTop=0;setTimeout("iescroll()",spause);}else 
if(iediv.style.pixelTop>=sizeup*-1){iediv.style.pixelTop-=sspeed+"px";setTimeout("iescroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[ii];sizeup=iediv.offsetHeight;iescroll();}}
function ns4scroll(){if(ns4layer.top>0&&ns4layer.top<=sspeed){ns4layer.top=0;setTimeout("ns4scroll()",spause);}else 
if(ns4layer.top>=sizeup*-1){ns4layer.top-=sspeed;setTimeout("ns4scroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;ns4layer.top=sheight;ns4layer.document.write(singletext[ii]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}}
function ns6scroll(){if(parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){ns6div.style.top=0;setTimeout("ns6scroll()",spause);}else 
if(parseInt(ns6div.style.top)>=sizeup*-1){ns6div.style.top=parseInt(ns6div.style.top)-sspeed+"px";setTimeout("ns6scroll()",100);}
else{if(ii==singletext.length-1)ii=0;else ii++;
ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[ii];sizeup=ns6div.offsetHeight;ns6scroll();}}

/////////////// DISPLAY SECTION \\\\\\\\\\\\\\\\\\
if(document.layers){
document.write('<ilayer id="ns4div" width="'+swidth+'" height="'+sheight+'" bgcolor='+sbcolor+'><layer id="ns4div1" width="'+swidth+'" height="'+sheight+'" onmouseover="sspeed=0;" onmouseout="sspeed=rspeed"></layer></ilayer>')}
if(document.getElementById||document.all){document.write('<div style="position:relative;overflow:hidden;width:'+swidth+'px;height:'+sheight+'px;clip:rect(0 '+swidth+'px '+sheight+'px 0);background-color:black;" onmouseover="sspeed=0" onmouseout="sspeed=rspeed"><div id="iens6div" style="position:relative;width:'+swidth+'px;"></div></div>');}