var  isNav, isIE, NS6
 var coll = ""
 var styleObj = ""
 if (parseInt(navigator.appVersion) >= 4) {
         if (document.layers) {
                 isNav = true
                 origWidth = innerWidth;
          origHeight = innerHeight;
          } else if (document.all) {
                 isIE = true;
                 coll = "all.";
                 styleObj = ".style";
         } else if (document.getElementById) {
         		 isNS6 = true;
          } else if (!isNav || !isIE  || ! isNS6) {
         top.location.href = "/suckapage.html"
 }

}
 function NetscapeSux() {
        if (innerWidth != origWidth || innerHeight != origHeight) {
                 origWidth = innerWidth;
                 origHeight = innerHeight;
                 location.reload()
                 return false
         }
 }
 if (isNav) {
         window.captureEvents(Event.RESIZE)
         window.onresize = NetscapeSux
 }




function hideInt() {
if (isNav) {
if (document.intro.visibility == "show") {
    document.intro.visibility = "hide";
   }
  } else if (isIE) {
 
if (document.all.intro.style.visibility = "visible") {
   document.all.intro.style.visibility = "hidden";
  }
 } else if (isNS6) {
 
if (document.getElementById.intro.style.visibility='visible'){
   document.getElementById.intro.style.visibility='hidden';
   }
 }  

}





function preload()
{
        zero = new Image();
        zero.src="images/roll_zero.jpg";
        one = new Image();
        one.src="images/roll_one.jpg";
        two = new Image();
        two.src="images/roll_two.jpg";
        three = new Image();
        three.src="images/roll_three.jpg";
        four = new Image();
        four.src="images/roll_four.jpg";
        five = new Image();
        five.src="images/roll_five.jpg";        
        six = new Image();
        six.src="images/roll_six.jpg";     
        seven = new Image();
        seven.src="images/roll_zero.jpg";     
                eight = new Image();
        eight.src="images/roll_zero.jpg";
                nine = new Image();
        nine.src="images/roll_zero.jpg";
  }

if (document.layers) {
  visible = 'show';
  hidden = 'hide';
} else if (document.all) {
  visible = 'visible';
  hidden = 'hidden';
}


var lastMenu ="";

function reveal(menu) {
hideInt();
  if (document.layers) {
    daMenu = document.layers[menu];
  } else if (document.all) {
    daMenu = document.all(menu).style;
  }
  if (daMenu.visibility == visible) {
    daMenu.visibility = hidden;
  } else {
    daMenu.visibility = visible;
  }
 if (lastMenu != "") {
 var oldLayer = lastMenu;
 oldLayer.visibility = "hidden";
 }
var newLayer = daMenu;
newLayer.visibility = "visible";
lastMenu = daMenu;

}

function hide(object) {
    if (document.getElementById && document.getElementById(object) != null) {
         document.getElementById(object).style.visibility='hidden';
         document.getElementById(object).style.display='none';
       }
   	 else if (document.layers)
         lastItem.visibility = 'hide';
    	 else if (document.all)
         lastItem.visibility = 'hidden';
}


if (document.layers) {
		document.write('<link rel=STYLESHEET type=text/css href=ppt_net.css>')
		} else if (document.all) {
		document.write('<link rel=STYLESHEET type=text/css href=ppt.css>')
		} else if (document.getElementById) {
		document.write('<link rel=STYLESHEET type=text/css href=ppt.css>')
	}

function Popwin() {
	newWin=window.open('help.asp', 'NewWindow', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=425,height=410')
}

function checkpass() {
	newWin=window.open('forgot_password.asp', 'NewWindow', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=250,height=200')
}









