var dt=new Date();
var rand=dt.getTime();
var pp=""+rand;
var pp=pp.charAt(pp.length-4);
var ctr=eval(pp);
var dest=new Array();
dest[0]="marquee/marquee.html";
dest[1]="imgscroll/scroll.html";
dest[2]="sponsor/pgsponsor.html";
dest[10]="../rates/contact.html";
var prog=new Array();
prog[0]="On-Screen Dhtml Scroller";
prog[1]="On-Screen Image Swap Scroller";
prog[2]="On-Screen Banner Rotator";
var txt=new Array()
txt[0]='This on-screen scroller uses dynamic html in lieu of image swaps or form elements with a number of messages possible...';
txt[1]='The familiar image-swap scroller which permits several messages to be cycled, as you desire...';
txt[2]='This script engine writes a script to rotate your sponsor banners on-screen without reloading the page...';
txt[6]='';
function dump1(flg){
 msg=window.open(dest[flg],ctr,"HEIGHT=400,WIDTH=600,location=1,status=1,toolbar=1,resizable=1");
 }
function dim(){
 disp3(6); 
 }
function disp2(flg){
 if (document.getElementById){
  document.getElementById("display1").innerHTML='<IMG SRC=i/gear.gif'
  +' WIDTH=56 HEIGHT=50><BR><FONT COLOR=#9D00FF>'+txt[flg]+'</FONT>';
  }
  if (document.layers){
   document.e.document.f.document.write('<P STYLE="font-family:arial,'
   +'helvetica,sans-serif;font-size'
   +':12px;color:#9D00FF;font-style:plain"><IMG SRC=i/gear.gif'
  +' WIDTH=56 HEIGHT=50><BR>'+txt[flg]+'</P>');
   document.e.document.f.document.close();
  }
 }
function disp3(flg){
 if (document.getElementById){
  document.getElementById("display1").innerHTML='<FONT COLOR=#9D00FF>'
  +txt[flg]+'</FONT>';
  }
 else{
  if (document.layers){
   document.e.document.f.document.write('<FONT COLOR=#9D00FF FACE=ARIAL,'
   +'HELVETICA,SANS-SERIF>'+txt[flg]
   +'</FONT>');
   document.e.document.f.document.close();
   }
  }
 }
function wrtIt(){
 for (var i=0;i<3;i++){
  if (i==5){
   document.write('</TD><TD VALIGN=TOP CLASS=b><IMG SRC=../i/white.gi'
   +'f WIDTH=150 HEIGHT=1><BR>');
   }
  document.write('<A HREF='+dest[i]+' onMouseover=disp2('+i
  +') onMouseout=dim() TARGET=_BLANK>'
  +prog[i]+'</A><BR>');
  }
 document.write('</TD><TD VALIGN=CENTER WIDTH=200><DIV ID=display1 ALIGN'
 +'=LEFT VALIGN=MIDDLE><ILAYER ID=e WIDTH=200 HEIGHT=120><LAYER ID=f WID'
 +'TH=200 HEIGHT=120></DIV></ILAYER></LAYER></TD></TR>');
}
function wrtMusic(){
 if (parent.left.musflg==1){
  document.write('<OBJECT CLASSID=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B'
  +' WIDTH=160 HEIGHT=144 CODEBASE=http://www.apple.com/qtactivex/qtplugin.c'
  +'ab><PARAM NAME=SRC VALUE=../i/lm3.mid><PARAM NAME=AUTOPLAY VALUE=TRUE><P'
  +'ARAM NAME=CONTROLLER VALUE=FALSE><EMBED SRC=../i/lm3.mid AUTOPLAY=TRUE A'
  +'UTOSTART=TRUE CONTROLLER=FALSE LOOP=FALSE VOLUME=80 HIDDEN=TRUE PLUGINSP'
  +'AGE=http://www.apple.com/quicktime/download/></EMBED></OBJECT>');
  }
 }