<!-- hide me from non-JavaScript-enabled browsers
		window.name="parentWin";
		// open new window

		function openwin(windowName,width,height,target) 
		{
			if (target == "")
				target = "";
				
			newWindow = window.open(windowName, target,'toolbar=no,menubar=no,width='+width+',height='+height+',scrollbars=yes,resizable=no');
		}
	
		function openpop(index) 
		{
			if ( index == 1)
	   	    	openwin('tour.php?a=t&t=1',650,550,"_tour");
	   	    else if ( index == 2)
	   	    	openwin('user.php?a=r',450,510,"_refer");
	   	    else if ( index == 3)
	   	    	openwin('help.php?p=t&t=1',650,550,"_tutorial");
   	   	    else if ( index == 4)
   	   	        window.open('user.php?a=reg', '_register','toolbar=no,menubar=no,status=yes,width=550,height=450,scrollbars=yes,resizable=no');
	   	    else if ( index == 5)
	   	    	openwin('help.php?p=t&t=21',650,550,"_tutorial");
	   	    else if ( index == 6)
	   	    	openwin('help.php?p=t&t=13',650,550,"_tutorial");
	   	    else if ( index == 7)
	   	    	openwin('help.php?p=t&t=2',650,550,"_tutorial");
	   	    else if ( index == 8)
	   	    	openwin('help.php?p=t&t=27',650,550,"_tutorial");	
	   	    else if ( index == 9)	
	   	    	openwin('profiles.php?a=w',450,500);	   	    	   	    	
		}
		
		function M(m) 
		{
			tar = "_mat";
			url = "matches.php?a=p&t=det&mid=" + m ;
			newWindow = window.open(url, tar,'width=740,height=570,toolbar=no,menubar=no,scrollbars=yes,resizable=yes');
		}		
		

// Simple Browser Check
var ns4 = (document.layers) ? 1 : 0;
var ie4 = (document.all) ? 1 : 0;
var ns6 = (document.getElementById && !document.all) ? 1 : 0;

// Browser Window Dimensions
function winWid(){ return (ns4||ns6) ? window.innerWidth : document.body.clientWidth; }
function winWid1(){ return (ns4||ns6) ? window.Width : document.body.Width; }
function winHei(){ return (ns4||ns6) ? window.innerHeight : document.body.clientHeight; }
		
// done hiding -->

