// JavaScript Document
/**************************************
* http://vertical-scroller.vbarsan.com/
*    This notice may not be removed 
**************************************/

//-- Begin Scroller's Parameters and messages -->
//scroller's width
var swidth=220;

//scroller's height
var sheight=200;


//scroller's speed 
var sspeed=3;
var restart=sspeed;
var rspeed=sspeed;

//scroller's pause 
var spause=0000;

//scroller's background
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>;
var singletext=new Array();
singletext[0]="<a class=\"scroller\" href=\"javascript:createWindow('feature10.html','window2','width=270,height=260,location')\"><img border=\"0\" src=\"images/hot-fire-symbol-40.png\" width=\"40\" height=\"28\" alt=\"HOT\">Restaurant Mobile Apps for Android & I-Phones</a><br /><p class=\"scroller\">Your restaurant's custom phone app.</p><hr /><a class=\"scroller\" href=\"javascript:createWindow('feature19.html','window2','width=270,height=249,location')\"><img border=\"0\" src=\"images/hot-fire-symbol-40.png\" width=\"40\" height=\"28\" alt=\"HOT\">Instant Website</a><br /><p class=\"scroller\">Create a home page for your menu.</p><hr /><a class=\"scroller\" href=\"javascript:createWindow('feature11.html','window2','width=270,height=249,location')\"><img border=\"0\" src=\"images/hot-fire-symbol-40.png\" width=\"40\" height=\"28\" alt=\"HOT\">Party Platter Menu</a><br /><p class=\"scroller\">Have separate menus for regular or catering orders.</p><hr /><a class=\"scroller\" href=\"javascript:createWindow('feature12.html','window2','width=270,height=249,location')\">Themed Menu Building</a><br /><p class=\"scroller\">Created to match your website theme.</p><hr /><a class=\"scroller\" href=\"javascript:createWindow('feature13.html','window2','width=270,height=249,location')\">Modifiers</a><br /><p class=\"scroller\">Up to 70 modifiers per item.</p><hr /><a class=\"scroller\" href=\"javascript:createWindow('feature14.html','window2','width=270,height=249,location')\">Automatic Suggested Upsells</a><br /><p class=\"scroller\">Increase ticket prices up to 20%.</p><hr /><a class=\"scroller\" href=\"javascript:createWindow('feature15.html','window2','width=270,height=249,location')\">Geo-coded Delivery</a><br /><p class=\"scroller\">Delivery area mapped by street.</p><hr /><a class=\"scroller\" href=\"javascript:createWindow('feature16.html','window2','width=270,height=249,location')\">Multi Language Support</a><br /><p class=\"scroller\">Choose up to 5 different languages.</p><hr /><a class=\"scroller\" href=\"javascript:createWindow('feature17.html','window2','width=270,height=420,location')\">Coupons, Discounts and Packages</a><br /><p class=\"scroller\">We support every coupon imaginable.</p><hr /><a class=\"scroller\" href=\"javascript:createWindow('feature18.html','window2','width=270,height=249,location')\">Email and Cell Phone Marketing</a><br /><p class=\"scroller\">Customers can opt-in to SMS texts or emails.</p>";
//singletext[1]='<a href="#">Feature #2</a>:<br />Stuff about this feature.';
//singletext[2]='<a href="#">Feature #3</a>:<br />Stuff about this feature.';
//singletext[3]='<a href="#">Feature #4</a>:<br />Stuff about this feature.';
//singletext[4]='<a href="#">Feature #5</a>:<br />Stuff about this feature.';
//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 -->

