<!--

/***********************************
*   http://javascripts.vbarsan.com/
*   This notice may not be removed 
***********************************/

//-- Begin Scroller's Parameters and messages -->
//scroller's width
var swidth=480;

//scroller's height
var sheight=70;

//scroller's speed 
var sspeed=9;
var restart=sspeed;
var rspeed=sspeed;

//scroller's pause
var spause=3000;

//scroller's background
var sbcolor="";

//messages: change to your own; use as many as you'd like; set up Hyperlinks to URLs as you normally do: <a target=... href="... URL ...">..message..</a>
var singletext=new Array();
//singletext[0]='<span class="bigredbold">GRAND DESIGNS LIVE 5-7th Oct</span><br><span class="bolder">Stand B501, Grand Hall - see you there!.</span>';

singletext[0]='<a href="gallery09.htm"><img src="images/advert_homepage.jpg" alt="Take a closer look inside our loft conversions with our 360° Virtual Loft Tours..."></a>';
singletext[1]='<span class="bolderred">Considering Solar Panels?</span> - every little bit helps!<br><span class="bolder"><a href="solar_panels.htm" class="gourl">click here for more information</a></span>';
//singletext[1]='<span class="bolder">Increase the potential of your loft from as<br>little as &pound;14,000. <a href="stages.htm" class="gourl">Click here to find out more...</a></span>';
singletext[2]='<img src="photos/mainpride10.gif" align="right"><img src="photos/mainpride09.gif" align="left"><span class="bolder">Want to see what we\'ve done?<br><a href="gallery-pix.htm" class="gourl">Click here to see our showcase...</a></span>';
singletext[3]='<span class="bolder">Have you thought of a GARAGE conversion?</span><br>It could be the ideal space for a guest suite, home office or studio...';
singletext[4]='<span class="bolder">call us TODAY to speak to a specialist</span><br><span class="bigredbold">call now on 0121 522 2007</span>';
//singletext[...]='...';
//-- end Parameters and message -->

//-- begin: Scroller's Algorithm -->
var ii=0;
function goup(){if(sspeed!=rspeed*8){sspeed=sspeed*2;restart=sspeed;}}
function godown(){if(sspeed>rspeed){sspeed=sspeed/2;restart=sspeed;}}
function start(){
if(document.getElementById){ns6div=document.getElementById('iens6div');ns6div.style.top=sheight;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;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;setTimeout("iescroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;iediv.style.pixelTop=sheight;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;setTimeout("ns6scroll()",100);}
else{if(ii==singletext.length-1)ii=0;else ii++;
ns6div.style.top=sheight;ns6div.innerHTML=singletext[ii];sizeup=ns6div.offsetHeight;ns6scroll();}}
//-- end Algorithm -->

// Stop hiding --> 

-->