
/***********************************
*   http://javascripts.vbarsan.com/
*   This notice may not be removed 
***********************************/

//-- Begin Scroller's Parameters and message -->
//scroller width: change to your own;
var swidth=360;

//scroller height: change to your own;
var sheight=198;

//background color: change to your own; 
//var sbcolor="#CAA360";
var sbcolor="#8DC9DE";

//scroller's speed: change to your own;
var sspeed=2;
var restart=sspeed;
rspeed=sspeed;

//Preload is recommended (no downloading check) - otherwise you may skip this:
preload1 = new Image();
preload1.src = "http://www.majestictravel2go.com/images/fareslide.jpg";
//preload2 = new Image();
//preload2.src = "http://www.majestictravel2go.com/images/contactus.gif";
//preload3 = new Image();
//preload3.src = "http://www.majestictravel2go.com/images/products.gif";

//text: change to your own

wholemessage='<div align="center" class=headingtab>Majestic Travel, Inc...</div>'+'<br><div align="center" class=subheadingtab>**Sale Fares!***Sale Fares!***Sale Fares!**</div>'+'<br><div align="center" class=emgtab>GET YOUR BEST DEAL NOW AND CALL US IMMEDIATELY!!!</div>'+'<br><div align="center" class=tab>  Steal the Deal Today '+'<br>'+'for Tomorrow and Save Big</div>'+'<br><div align="center" class=tabb>Unbelievable Discounts on First Class '+'<br>'+'and Business Class on all Major Carriers</div>'+'<br><div align="center" class=tab>Promotional Fares to USA! Europe! South America! Africa! Middle East! Asia!</div>'+'<br><div align="center" class=tabb>Here are some of our Sample Fares!</div>'+'<br><div align="center"><img src='+preload1.src+' width=300 height=160 alt="Fares"></div>'+'<br><div align="center" class=tabb>And much much more at your fingertips or '+'<br>'+'our sales specialists are always there to assist you '+'<br>'+' in getting your seats confirm.</div>'+'<br><div align="center" class=tab>We promise to bring S-MILE-S on your face!</div>'+'<br><div align="center" class=subheadingtab>**Sale Fares!***Sale Fares!***Sale Fares!**</div>';

//'+'<div><img src='+preload2.src+' width=125 height=30 alt="contactus"></div>'


/*We offer the best airfares in the following Continents:</div>'+'<br><div align="center" class=tab>USA and Puerto Rico</div>'+'<br><div align="center" class=tab>Europe</div>'+'<br><div align="center" class=tab>Canada</div>'+'<br><div align="center" class=tab>Asia</div>'+'<br><div align="center" class=tab>Latin America</div>'+'<br><div align="center" class=tab>Africa</div>'+'<br><div align="center" class=tab>Middle East</div>'+'<br><div align="center" class=tab>South Pacific</div>'+'<br><div align="center" class=tabb>We offer discounts upto 60% on Business and First Class on all Major Carriers!</div>';
*/
//Or you may do a slide show running up any number of images too!

// ...

//if no preloading, replace below '+ preload... +' with the actual Images path "..."

//wholemessage='<img src='+preload1.src+' width=125 height=30 alt="hotels"><br>'+
//'<img src='+preload2.src+' width=125 height=30 alt="contactus"><br>'+
//'<img src='+preload3.src+' width=125 height=30 alt="products"<br>'+
//'<img ... >';

//-- end Parameters and message -->

//-- begin: Scroller's Algorithm -->
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)ns6marquee(document.getElementById('slider'));else if(document.all)iemarquee(slider);else if(document.layers)ns4marquee(document.slider1.document.slider2);}function iemarquee(whichdiv){iediv=eval(whichdiv);iediv.style.pixelTop=sheight+"px";iediv.innerHTML=wholemessage;sizeup=iediv.offsetHeight;ieslide();}function ieslide(){if(iediv.style.pixelTop>=sizeup*(-1)){iediv.style.pixelTop-=sspeed+"px";setTimeout("ieslide()",100);}else{iediv.style.pixelTop=sheight+"px";ieslide();}}function ns4marquee(whichlayer){ns4layer=eval(whichlayer);ns4layer.top=sheight;ns4layer.document.write(wholemessage);ns4layer.document.close();sizeup=ns4layer.document.height;ns4slide();}function ns4slide(){if(ns4layer.top>=sizeup*(-1)){ns4layer.top-=sspeed;setTimeout("ns4slide()",100);}else{ns4layer.top=sheight;ns4slide();}}function ns6marquee(whichdiv){ns6div=eval(whichdiv);ns6div.style.top=sheight+"px";ns6div.innerHTML=wholemessage;sizeup=ns6div.offsetHeight;ns6slide();}function ns6slide(){if(parseInt(ns6div.style.top)>=sizeup*(-1)){ns6div.style.top=parseInt(ns6div.style.top)-sspeed+"px";setTimeout("ns6slide()",100);}else{ns6div.style.top=sheight+"px";ns6slide();}}
//-- end Algorithm -->