function aboutus()
{	var winModalWindow;
	winModalWindow =  window.open ("aboutus.asp","AboutUs","dependent=yes,width=450,height=350,top="+(screen.availHeight-350)/2+",left="+((screen.availWidth)-(450))/2 )
	winModalWindow.focus()	
}
function tutor()
{	var winModalWindow;
	winModalWindow =  window.open ("tutor.asp","Tutor","dependent=yes,width=800,height=600,top="+(screen.availHeight-100)/2+",left="+((screen.availWidth)-(150))/2 )
	winModalWindow.focus()	
}
function tutor1()
{	var winModalWindow;
	winModalWindow =  window.open ("tutor1.asp","Tutor","dependent=yes,width=800,height=600,top="+(screen.availHeight-100)/2+",left="+((screen.availWidth)-(150))/2 )
	winModalWindow.focus()	
}
function termsofuse()
{	var winModalWindow;
	winModalWindow =  window.open ("termsofuse.asp","TermsOfUse","dependent=yes,scrollbars=yes,width=520,height=500,top="+(screen.availHeight-350)/2+",left="+((screen.availWidth)-(450))/2 )
	winModalWindow.focus()	
}
function fmsched()
{	var winModalWindow;
	winModalWindow =  window.open ("fmsched.asp","Fmsched","dependent=yes,width=650,height=500,top="+(screen.availHeight-350)/2+",left="+((screen.availWidth)-(450))/2 )
	winModalWindow.focus()	
}function popupcontactus()
{
	var winModalWindow;
	winModalWindow =  window.open ("contactus_mail.asp","ContactUs","dependent=yes,width=520,height=350,top="+screen.availHeight/4+",left="+screen.availWidth/4 )
	winModalWindow.focus()	
}
function popupTellaFriend(URL)
{
	var winModalWindow;
	winModalWindow =  window.open (URL,"ContactUs","dependent=yes,width=520,height=550,top="+screen.availHeight/4+",left="+screen.availWidth/4 )
	winModalWindow.focus()	
}
function tournamentPrizes(t_id)
{
	var winModalWindow;
	winModalWindow =  window.open ("inc_fantasytournamentprizes.asp?t_id="+t_id,"TournamentPrizes","dependent=yes,width=520,height=380,top="+(screen.availHeight-520)/2+",left="+((screen.availWidth)-(380))/2 )
	winModalWindow.focus()	
}
function tournamentCreditPrizes(t_id)
{
	var winModalWindow;
	winModalWindow =  window.open ("tournamentPrizes_2006.asp?t_id="+t_id,"TournamentCreditPrizes","dependent=yes,width=520,height=380,top="+screen.availHeight/5+",left="+screen.availWidth/5 )
	winModalWindow.focus()	
}
function tournamentCredits()
{	
	var winModalWindow;
	winModalWindow =  window.open ("credits_ToCash.asp","TournamentCredits","dependent=yes,width=520,height=520,top="+(screen.availHeight-520)/2+",left="+((screen.availWidth)-(520))/2 )
	winModalWindow.focus()	
}
function popuprules()
{
	var winModalWindow;
	winModalWindow =  window.open ("http://www.cricketinc.com/testmanual.htm","Rules","dependent=yes,scrollbars=yes,width=800,height=500,top="+(screen.availHeight-500)/2+",left="+((screen.availWidth)-(800))/2 )
	winModalWindow.focus()	
}

function popupWindow(pageURL)
{
	var winModalWindow;
	winModalWindow =  window.open (pageURL,"Window","dependent=no,scrollbars=yes,status=yes,toolbar=yes,titlebar=yes,resize=yes,width=800,height=500,top="+(screen.availHeight-500)/2+",left="+((screen.availWidth)-(800))/2 )
	winModalWindow.focus()	
}
function popupWindowBlank(pageURL)
{
	var winModalWindow;
	winModalWindow =  window.open (pageURL,"Window")
	winModalWindow.focus()	
}
function player_Profile_Web(url)
{
	if (url!='')
	{
		var winModalWindow;
		winModalWindow =  window.open (url,"PlayerProfile","dependent=yes,scrollbars=yes,width=640,height=400,top="+screen.availHeight/5+",left="+screen.availWidth/5 )
		winModalWindow.focus()	
	}
	else
	{alert("Profile Not Found")}
}
function popupWindowNews(pageURL)
	{			
		var win;// = window.self;
		//win = window.opener;
		win =  window.open (pageURL,"Articles","dependent=no,scrollbars=yes,status=yes,toolbar=no,titlebar=yes,resizable=no,width=800,height=500,top="+(screen.availHeight-500)/2+",left="+((screen.availWidth)-(800))/2 )
		win.focus()//	resizable=yes,scrollbars=yes,toolbar=yes,status=yes'
		
	}
function popupWindowTicker(pageURL)
{	//alert("abc" + pageURL)
	
	var winModalWindow;
	winModalWindow =  window.open (pageURL,"NewsWindow","dependent=no,scrollbars=yes,status=yes,toolbar=no,titlebar=yes,resizable=yes,width=800,height=500,top="+(screen.availHeight-500)/2+",left="+((screen.availWidth)-(800))/2 )
	winModalWindow.focus()	
}


function popUpMatchResult(tid,matchid,userteamname)
{
	var winModalWindow;
	var pageURL = "view_matchResult_popUp.asp?t_id="+tid+"&match_id="+matchid+"&userteamname="+userteamname;
	//winModalWindow =  window.open (pageURL,"MatchResult","dependent=no,scrollbars=yes,status=no,toolbar=no,titlebar=no,resize=no,width=800,height=500,top="+(screen.availHeight-500)/2+",left="+((screen.availWidth)-(800))/2 )
	winModalWindow =  window.open (pageURL,"MatchResult","dependent=no,scrollbars=yes,status=no,toolbar=no,titlebar=no,resize=no,width="+screen.availWidth+",height="+((screen.availHeight)-(20))+",top=0,left=0" )
	winModalWindow.focus()	
}

function popupWindowNewsDetail1(pageURL)
	{			
		var win;// = window.self;
		//win = window.opener;
		win =  window.open (pageURL,"NewsDetail","dependent=no,scrollbars=yes,status=yes,toolbar=no,titlebar=yes,resizable=no,width=760,height=450,top="+(screen.availHeight-450)/2+",left="+((screen.availWidth)-(760))/2 )
		win.focus()//	resizable=yes,scrollbars=yes,toolbar=yes,status=yes'
		
	}
	function openExternalWindow(pageURL,pageTitle)
	{		
		if ((pageURL!='')&&(pageURL!=null))	
		{
			var win;
			win =  window.open (pageURL,pageTitle,"dependent=no,scrollbars=yes,status=yes,toolbar=yes,titlebar=yes,resizable=yes,width=800,height=500,top="+(screen.availHeight-500)/2+",left="+((screen.availWidth)-(800))/2 )
			win.focus();
		}		
	}
	function popupWindowNewsDetail(pageURL)
	{			
		var win;// = window.self;
		//win = window.opener;
		win =  window.open (pageURL,"NewsDetail","dependent=yes,scrollbars=yes,status=yes,toolbar=yes,titlebar=yes,toolbar=yes, menubar=yes,resizable=yes,width=990,height=500,top="+(screen.availHeight-500)/2+",left="+((screen.availWidth)-(990))/2 )
		win.focus()//	resizable=yes,scrollbars=yes,toolbar=yes,status=yes'
		
	}
	function popupWindowURL(pageURL,pageTitle)
	{			
		var win; 
		win =  window.open (pageURL,pageTitle,"dependent=yes,scrollbars=yes,status=yes,toolbar=yes,titlebar=yes,toolbar=yes, menubar=yes,resizable=yes,width=800,height=500,top="+(screen.availHeight-500)/2+",left="+((screen.availWidth)-(800))/2 )
		win.focus() 
		
	} 
	function windowOpener(pageURL,pageTitle)
	{	 		
		var win;
		var urlPath = "/Misc/externalWindow.aspx?urlPath="+pageURL; 
		win =  window.open (urlPath)
		//win =  window.open("/windowOpener.aspx?urlPath="+pageURL, '', 'fullscreen=yes, scrollbars=auto');
		win.focus() 
		
	} 
	function windowOpenerJobs(pageURL)
	{	 		
		var win;
		win =  window.open(pageURL);
		win.focus() 
		
	} 
	function windowOpenerFull(pageURL)
	{	 		
		var win;
		win =  window.open(pageURL);
		win.focus() 
		
	} 