var dt=new Date();
var rand=dt.getTime();
var pp=""+rand;
var pp=pp.charAt(pp.length-4);
var ctr=eval(pp);
var dest1=new Array();
dest1[0]="hp/index.html";
dest1[1]="cm/cm.html";
dest1[2]="we/we.html";
dest1[3]="slot/slot.html";
dest1[4]="lotto/lotto.html";
dest1[5]="namedrop/index.html";
dest1[10]="../rates/contact.html";
var prog=new Array();
prog[0]="Hangperson";
prog[1]="CurseMonger";
prog[2]="Weird Game";
prog[3]="Discount Slot Machine";
prog[4]="InstaLotto Game";
prog[5]="Nasty Name Dropper";
var txt=new Array()
txt[0]='This is the old game you knew as "Hangman". Never let it be said'
+' that we would discriminate. Now updated with DHTML...';
txt[1]='The CurseMonger<SUP>tm</SUP> is a nasty fella who has well over '
+'a trillion curses on file just for you...';
txt[2]='Games should have rules, shouldn\'t they?  Well, this one doesn'
+'\'t, which makes "winning" strange...';
txt[3]='When you have a retail client, this little script engine will '
+'give you a slot machine visitors can spin...';
txt[4]='We all play the various Lotto games. InstaLotto will be a sobe'
+'ring experience for you as you play for instant results...';
txt[5]='Just about everyone has been known to drop names. Well, this little rascal really drops names - lots of them - accompanied by rude noises...';
txt[10]='';


function dump1(flg){
msg=window.open(dest1[flg],"","height=400,width=600,location=1,status=1,scrollbars=1,toolbar=1,resizable=1");
 }
function dim(){
 disp3(10); 
 }
function disp2(flg){
 if (document.getElementById){
  document.getElementById("display1").innerHTML='<IMG SRC=i/gear.gif'
  +' WIDTH=56 HEIGHT=50><BR><FONT COLOR=#00BDFF>'+txt[flg]+'</FONT>';
  }
 else{
  if (document.layers){
   document.e.document.f.document.write('<P STYLE="font-family:arial,'
   +'helvetica,sans-serif;font-size'
   +':12px;color:#00BDFF;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=#00BDFF>'
  +txt[flg]+'</FONT>';
  }
 else{
  if (document.layers){
   document.e.document.f.document.write('<FONT COLOR=#00BDFF>'+txt[flg]
   +'</FONT>');
   document.e.document.f.document.close();
   }
  }
 }
function wrtIt(){
 for (var i=0;i<6;i++){
  document.write('<A HREF='+dest1[i]+' onMouseover=disp2('+i
  +') onMouseout=dim() TARGET=_BLANK>'
  +prog[i]+'</A><BR>');
  }
 document.write('</TD><TD VALIGN=CENTER WIDTH=200><DIV ID=di'
 +'splay1 ALIGN=LEFT VALIGN=MIDDLE><ILAYER ID=e WIDTH=200 HE'
 +'IGHT=120><LAYER ID=f WIDTH=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>');
  }
 }
