// common javascript for moo you win// tribalddb canada// var win = false;var promoWin = false;function openWin(file,winName,wide,high,scroll){	if(win){win.close();}	var screenX = screen.availWidth;	var screenY = screen.availHeight;	var posX = (screenX - wide)/2;	var posY = (screenY - high)/2;	win = window.open(file,winName,"screenX="+posX+",screenY="+posY+",top="+posY+",left="+posX+",height="+high+",width="+wide+",fullscreen=0,location=0,menubar=0,resizable=0,scrollbars="+scroll+ ",status=0,toolbar=0");			if (window.opener == null) window.opener = self;}function openFull(file){		if(document.layers || document.all)		var wide = screen.availWidth - 10;	else		var wide = screen.availWidth - 5;		var high = screen.availHeight;		promoWin = window.open(file,'promo','width='+wide+',height='+high+',top=0,screenx=0,left=0 screeny=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0');}