if (window != top) top.location.href = location.href;

// Date Display //
var isn1=null;
var isn2=false;
today=new Date();

function isnclock(){
 var now=new Date();
 isn1=setTimeout("isnclock()",2000);
 isn2=true;
 }

function isnArray() {
 argnr=isnArray.arguments.length
 for (var i=0;i<argnr;i++) {
  this[i+1] = isnArray.arguments[i];
  }
 }

var isnMonths=new isnArray("January","February","March","April","May","June","July","August","September","October","November","December");
var isnDays= new isnArray("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday");
isnDays[0]="Sunday";

// Fixed image on page //
function setVariables() {
if (navigator.appName == "Netscape") {
v=".top=";
dS="document.";
sD="";
y="window.pageYOffset";
}
else {
v=".pixelTop=";
dS="";
sD=".style";
y="document.body.scrollTop";
   }
}

function checkLocation() {
object="object1";
yy=eval(y);
eval(dS+object+sD+v+yy);
setTimeout("checkLocation()",10);
}


// ShowHelp //
function ShowLegal(sURL){
var cx=550;if(screen){
leftPos=screen.width-cx-15;}
var oWindow=window.open(sURL,"Legal","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,top=0,left="+leftPos+",width="+cx+",height=380");oWindow.focus();}

function ShowBoard(sURL){
var cx=550;if(screen){
leftPos=screen.width-cx-15;}
var oWindow=window.open(sURL,"Board","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,top=0,left="+leftPos+",width="+cx+",height=380");oWindow.focus();}

function ShowRules(sURL){
var cx=360;if(screen){
leftPos=screen.width-cx-15;}
var oWindow=window.open(sURL,"Rules","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,top=0,left="+leftPos+",width="+cx+",height=400");oWindow.focus();}

function ShowFaq(sURL){
var cx=360;if(screen){
leftPos=screen.width-cx-15;}
var oWindow=window.open(sURL,"FAQ","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,top=0,left="+leftPos+",width="+cx+",height=400");oWindow.focus();}

function ShowHelp(sURL){
var cx=360;if(screen){
leftPos=screen.width-cx-15;}
var oWindow=window.open(sURL,"Help","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,top=0,left="+leftPos+",width="+cx+",height=400");oWindow.focus();}

function WhatNew(sURL){
var cx=360;if(screen){
leftPos=screen.width-cx-15;}
var oWindow=window.open(sURL,"WhatNew","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,top=0,left="+leftPos+",width="+cx+",height=400");oWindow.focus();}

// Popup window //
function Popup(sURL,sTitle,cx,cy){
if(screen){
var leftPos = (screen.width - cx) / 2;
var wint = (screen.height - cy) / 2;
window.open(sURL,sTitle,"toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,top="+wint+",left="+leftPos+",width="+cx+",height="+cy+").focus();
}}


// Preloadimages //
var lalogo = new Image();
lalogo.src = "images/lalogo.gif";


// Rollover <a href="#" onmouseover = "doButtons('lalogo')"> //
function doButtons(picimage) {
eval("document['picture'].src = " + picimage + ".src");
}

function movepic(img_name,img_src) {
document[img_name].src=img_src;
}
// <CENTER>
// <A HREF="#" 
// onmouseover="movepic('button','pic-off.gif')" 
// onmouseout="movepic('button','pic-on.gif')">
// <IMG NAME="button" SRC="pic-off.gif" ALT="Image"></A>
// </CENTER>

