//*****************Scroll messages*****************
//scroll bar message script and activation, rev 12/10/2004
//This credit line must stay intact
//Status Scrolling script
//For this script, visit java-scripts.net 
i=0;
 var Msg = 'Welcome to my new website for the Adirondack Northway and Spring and enjoy the mud season. New growth is all abounding with all these rains, but watch out for flash floods.                               ';
function scrollMsg() 
 {//Msg located in <body onload="scrollMsg('........')"> event
    var frontPart = Msg.substring(i,Msg.length)
    var backPart =  Msg.substring(0,i)
    window.status = frontPart + backPart

    if (i < Msg.length) {
        i++
    }
    else {
        i = 0
    }

    setTimeout('scrollMsg()',100)

}//end scrollMsg()**************************************************************************


function mover(x)
{
  document.getElementById(x).border='1';
  document.getElementById(x).style.background='#99CCFF'
}
function mout(x)
{
  this.border='0';
  //this.style.background='#CCCC33';
  document.getElementById(x).style.background='#E7D798'
}
function mout2()
{
  this.border='0';
  this.style.background='#FF9966';
}
  /*  ////////////////////////////////////////////// nnnnnn  /////////////////////////
function DispPics(picname, ItemName)
{
   if(picname == '' || ItemName == '')
   {//if no picture display message and bolt
     window.alert('No Picture Available Yet, Please Be Patient');
     return 1;
   }// end if 
   
   rWin = window.open('', 'win02', 'height=700,width=700');
   rWin.document.open();
// insert code to begin writing HTML document here
   rWin.document.writeln('<html><head><title>' + ItemName + '</title></head><body>');  //height="480" width="640"
   rWin.document.writeln('<form id="myform" name="myform"><div align="center"><img src ="<?=$menu_pics_dir;?>/' + picname+'"  alt="'+ItemName+'" title="'+ItemName+'"></div>');  
   rWin.document.writeln('<p align="center" style="font-family:arial;"><b>'+ ItemName +'</b><br>');
   rWin.document.writeln('<b><?=$ShopName;?></b><br>'); 
   rWin.document.writeln('<font size = 1>(Press Enter or Spacebar to Close Window too)</font><br>'); 
   rWin.document.writeln('<input type="button" name="offswitch"  id="offswitch" onclick="window.close();" value="Close Window" style=""/></p>');
   rWin.document.writeln('</form></body></html>');
   rWin.document.myform.offswitch.focus();//sets focus to close window button
   rWin.document.close();
   return 0;
}  */

