
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function full(url,width,height)
{
	var se, str = "width=" + width + ",height=" + height + ",toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=0,alwaysRaised=yes,hotkeys=0";
	if (window.screen)
	{
		var ah = screen.availHeight - 30;
		var aw = screen.availWidth - 10;
		var xc = (aw - width) / 2;
		var yc = (ah - height) / 2;
	
		str += ",left=" + xc + ",screenX=" + xc;
		str += ",top=" + yc + ",screenY=" + yc;
	}
	window.open(url,"se",str).focus();
}

var hideflag = true;

function HideInputValue(objinput)
{
 if (hideflag)
 {
  objinput.value = '';
  hideflag = false;
 }
}

function boom(n) 
{ 
	if (window.top.moveBy) 
	{ 
		for (i = 10; i > 0; i--) 
		{ 
			for (j = n; j > 0; j--) 
			{ 
				window.top.moveBy(0,i); 
				window.top.moveBy(i,0); 
				window.top.moveBy(0,-i); 
				window.top.moveBy(-i,0); 
			} 
		} 
	}
	
} 

function show_news(nname) 
{
   window.open(nname, 'News', 'menubar=0,location=0,status=0,toolbar=0,scrollbars=1,resizable=1,height=550,width=800');
}

function OpenWindow(th, width, height, scroll)
{ if (window.screen)
        {
                var ah = screen.availHeight - 30;
		var aw = screen.availWidth - 10;
		var xc = (aw - width) / 2;
		var yc = (ah - height) / 2;
		str = ",left=" + xc + ",screenX=" + xc;
		str += ",top=" + yc + ",screenY=" + yc;
	}
	var newwin = window.open(th, 'sefootball', 'width=' + width + ',height=' + height + ',resizable=no,location=no,toolbar=no,menubar=no,status=no,scrollbars=' + scroll + str);
	newwin.focus();
}

