/**************************************
* http://vertical-scroller.vbarsan.com/
*    This notice may not be removed 
**************************************/

//-- Begin Scroller's Parameters and messages -->

var swidth=340;
var sheight=317;
var sspeed=10000;
var restart=sspeed;
var rspeed=sspeed;
var spause=15000;


var sbcolor="";

//Messages: set your own; use as many as you'd like; set up Hyperlinks to
//URLs as you normally do: <a target=... href="... URL ...">..message..</a>;
//Preloading images is recommended:
preload1 = new Image();
preload1.src = "images/infuse-ultra-mrd.jpg";
preload2 = new Image();
preload2.src = "images/product-2.jpg";
preload3 = new Image();
preload3.src = "images/product-3.jpg";
preload4 = new Image();
preload4.src = "images/product-4.jpg";
preload5 = new Image();
preload5.src = "images/product-5.jpg";
//When no preloading, use below the actual image path instead of '+preload...+';
var singletext=new Array();
//infuse ultra mrd
//singletext[0]='<table CELLSPACING="0" CELLPADDING="0" align="center"><tr><td height="300px" valign="top"><div id="content1"><ul><li class="bullet">TH burns fat and CPF to build muscle</li><li class="bullet">Convenient, gerat-tasting performance nutrition</li><li class="bullet">100% daily allowance of 25 Vitamins / Minerals</li><li class="bullet">9 grams L-Glutamine per serving </li><li class="bullet">17 key Amino Acids per serving </li><li class="bullet">Build lean toned muscle</li><li class="bullet">Increase strength, energy, and endurance</li><li class="bullet">Timed absorption for ulitmate gains</li><li class="bullet">Helps you look and Feel Grate </li><li class="bullet">Great for low carb, low fat lifestyle</li><li class="bullet">Transform your body with Infuse UlrtaTM</li></ul><a href="#."><img border="0" style="margin:10px 0 0 30px;" src="images/buynow.jpg"></a></div></td></tr></table>';
//thunderbar
//singletext[1]='<table CELLSPACING="0" CELLPADDING="0" align="center"><tr><td height="300px" valign="top"><div id="content2"><ul><li class="bullet">Perfect post workout recovery bar</li><li class="bullet">Low Fat, low carb, high protein</li><li class="bullet">Unbeatable Taste</li><li class="bullet">Guilt Free Snack</li><li class="bullet">Low Caloire</li><li class="bullet">No Trans Fatty Acids</li></ul><a href="#."><img border="0" style="margin:10px 0 0 30px;" src="images/find-thunderbar.jpg"></a></div></td></tr></table>';
//infuse whey protein
singletext[0]='<table CELLSPACING="0" CELLPADDING="0" align="center"><tr><td height="300px" valign="top"><div id="content3"><ul><li class="bullet-norm">Finally theres a whey protein that tastes<br> like dessert:e2 infuse Whey Protein in Chocolate</li><br><li class="bullet">Increase energy for the body</li><li class="bullet">Provide a boost to the immune system</li><li class="bullet">Help prevent bone loss by increasing calcium utilization</li><li class="bullet">Repair and rebuild muscle tissue</li><li class="bullet">Raise Metabolic Rate</li></ul><a href="whey_infuse.php"><img border="0" style="margin:10px 0 0 30px;" src="images/buynow.jpg"></a></div></td></tr></table>';
//create creatine
singletext[1]='<table CELLSPACING="0" CELLPADDING="0" align="center"><tr><td height="300px" valign="top"><div id="content4"><ul><li class="bullet">Additional Energy for your Muscles</li><li class="bullet">Increase Muscle Tone</li><li class="bullet">Increase Muscle Mass</li><li class="bullet">Aids in Post Workout Recovery</li><li class="bullet">Enhances Protein Synthesis</li><li class="bullet">Increase strength and overall performance</li></ul><a href="creatine.php"><img border="0" style="margin:10px 0 0 30px;" src="images/buynow.jpg"></a></div></td></tr></table>';

/*
singletext[4]='<table CELLSPACING="0" CELLPADDING="0" align="center"><tr><td height="300px" valign="top"><div id="content5"><ul><li class="bullet">TH burns fat and CPF to build muscle</li><li class="bullet">Convenient, gerat-tasting performance nutrition</li><li class="bullet">100% daily allowance of 25 Vitamins / Minerals</li><li class="bullet">9 grams L-Glutamine per serving </li><li class="bullet">17 key Amino Acids per serving </li><li class="bullet">Build lean toned muscle</li><li class="bullet">Increase strength, energy, and endurance</li><li class="bullet">Timed absorption for ulitmate gains</li><li class="bullet">Helps you look and Feel Grate </li><li class="bullet">Great for low carb, low fat lifestyle</li><li class="bullet">Transform your body with Infuse UlrtaTM</li></ul><a href="#."><img border="0" style="margin:10px 0 0 30px;" src="images/buynow.jpg"></a></div></td></tr></table>';
*/
//singletext[...]='...';
//-- end Parameters and message -->

//-- begin: Scroller's Algorithm -->
var ii=0;
function goup(){if(sspeed!=rspeed*16){sspeed=sspeed*2;restart=sspeed;}}

function start(){
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();}}
//-- end Algorithm -->
