function GoProfil(Ziel)
{	a = window.open(Ziel,'Profilfenster','width=500,height=520,screenX=10,screenY=10,left=10,top=10,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,copyhistory=0,channelmode=0,dependent=0,fullscreen=0');
	if (a) a.focus();
	return false;
}

function GoTmodusDE(Modus) { GoURLs3('/ger/help/tmodus.aspx?t='+Modus,575,575,1,'ModusDescription'); }
function GoTmodusEN(Modus) { GoURLs3('/enu/help/tmodus.aspx?t='+Modus,575,575,1,'ModusDescription'); }

function GoPSearch_de(ControlID) { GoURLs('/ger/statistik/psearch.aspx?control='+ControlID,475,425); }
function GoPSearch_en(ControlID) { GoURLs('/enu/statistik/psearch.aspx?control='+ControlID,475,425); }
function GoPRanglist(LangPath) { GoURL('/' + LangPath + '/statistik/ranklist.aspx',475,475); }
function GoECOSearch_de(ecoid,ecotxt) { GoURLs('/ger/statistik/ecosearch.aspx?ecoid='+ecoid+'&ecotxt='+ecotxt,525,475,1); }
function GoECOSearch_en(ecoid,ecotxt) { GoURLs('/enu/statistik/ecosearch.aspx?ecoid='+ecoid+'&ecotxt='+ecotxt,525,475,1); }

function GoURL(Ziel,XGross,YGross)
{	a = window.open(Ziel,'','width='+XGross+',height='+YGross+',screenX=10,screenY=10,left=10,top=10,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,copyhistory=0,channelmode=0,dependent=1,fullscreen=0');
	if (a) a.focus();
	return false;
}

function GoURLs(Ziel,XGross,YGross,Scrollbar)
{	if (Scrollbar == 1) a = window.open(Ziel,'Uniquefenster','width='+XGross+',height='+YGross+',screenX=10,screenY=10,left=10,top=10,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,channelmode=0,dependent=0,fullscreen=0'); else a = window.open(Ziel,'Uniquefenster','width='+XGross+',height='+YGross+',screenX=10,screenY=10,left=10,top=10,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,copyhistory=0,channelmode=0,dependent=0,fullscreen=0');
	if (a) a.focus();
	return false;
}

function GoURLs2(Ziel,XGross,YGross,Scrollbar)
{	if (Scrollbar == 1) a = window.open(Ziel,'Uniquefenster3','width='+XGross+',height='+YGross+',screenX=10,screenY=10,left=10,top=10,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,channelmode=0,dependent=0,fullscreen=0'); else a = window.open(Ziel,'Uniquefenster3','width='+XGross+',height='+YGross+',screenX=10,screenY=10,left=10,top=10,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,copyhistory=0,channelmode=0,dependent=0,fullscreen=0');
	if (a) a.focus();
	return false;
}

function GoURLs3(Ziel,XGross,YGross,Scrollbar,Fenstername)
{	if (Scrollbar == 1) a = window.open(Ziel,'Uniquefenster'+Fenstername,'width='+XGross+',height='+YGross+',screenX=10,screenY=10,left=10,top=10,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,channelmode=0,dependent=0,fullscreen=0'); else a = window.open(Ziel,'Uniquefenster'+Fenstername,'width='+XGross+',height='+YGross+',screenX=10,screenY=10,left=10,top=10,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,copyhistory=0,channelmode=0,dependent=0,fullscreen=0');
	if (a) a.focus();
	return false;
}

function GoURLp(Ziel,XGross,YGross,XPos,YPos)
{	window.open(Ziel,'Uniquefenster2','width='+XGross+',height='+YGross+',screenX='+XPos+',screenY='+YPos+',left='+XPos+',top='+YPos+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,copyhistory=0,channelmode=0,dependent=1,fullscreen=0');
	return false;
}

function URLClose()
{	self.close(true);
	return false;
}

function Checkpopup()
{   window.open('/include/checkpopup.aspx','Checkpopup','width=100,height=100,screenX='+(screen.availWidth-105)+',screenY='+(screen.availHeight-105)+',left='+(screen.availWidth-105)+',top='+(screen.availHeight-105)+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,copyhistory=0,channelmode=0,dependent=1,fullscreen=0');
	return false;
}

function DisableFormElements()
{
	for(var i=0;i<document.forms[0].elements.length;i++)
	{ if (document.forms[0].elements[i] && (document.forms[0].elements[i].name!="Next_game:next_game")) document.forms[0].elements[i].disabled=true; }
	return true;
}
