function popupScreenshot( path, x_html)
{
	var		oWindow = null;
	var		iWidth = 650;
	var		iHeight =570;

	oWindow = window.open( path+"popup/screenshots/"+x_html+".html", "POPUP_INFO", "dependent=yes,locationbar=no,menubar=no,scrollbars=yes,resizable=yes,status=no,screenX=0,screenY=0,height="+iHeight+",width="+iWidth); 
	if( top.window.opener)
		oWindow.opener = top.window.opener;

	var posX = (screen.availWidth - iWidth) / 2;
	var posY = (screen.availHeight - iHeight) / 2;

	oWindow.resizeTo( iWidth, iHeight);
	oWindow.moveTo( posX, posY);

	oWindow.focus();
}

function popupScreenshot700( path, x_html)
{
	var		oWindow = null;
	var		iWidth = 650;
	var		iHeight =770;

	oWindow = window.open( path+"popup/screenshots/"+x_html+".html", "POPUP_INFO", "dependent=yes,locationbar=no,menubar=no,scrollbars=yes,resizable=yes,status=no,screenX=0,screenY=0,height="+iHeight+",width="+iWidth); 
	if( top.window.opener)
		oWindow.opener = top.window.opener;

	var posX = (screen.availWidth - iWidth) / 2;
	var posY = (screen.availHeight - iHeight) / 2;

	oWindow.resizeTo( iWidth, iHeight);
	oWindow.moveTo( posX, posY);

	oWindow.focus();
}

function popupStandard( path, x_html)
{
	var		oWindow = null;
	var		iWidth = 550;
	var		iHeight =590;

	oWindow = window.open( path+"popup/"+x_html+".html", "POPUP_INFO", "dependent=yes,locationbar=no,menubar=no,scrollbars=no,resizable=yes,status=no,screenX=0,screenY=0,height="+iHeight+",width="+iWidth); 
	if( top.window.opener)
		oWindow.opener = top.window.opener;

	var posX = (screen.availWidth - iWidth) / 2;
	var posY = (screen.availHeight - iHeight) / 2;

	oWindow.resizeTo( iWidth, iHeight);
	oWindow.moveTo( posX, posY);

	oWindow.focus();
}

function popupKaNews( path, x_html)
{
	var		oWindow = null;
	var		iWidth = 780;
	var		iHeight =700;

	oWindow = window.open("http://www.ka-news.de/cyberprofil/news.php4?show=tkh2004812-419I", "POPUP_INFO", "dependent=yes,locationbar=no,menubar=no,scrollbars=yes,resizable=yes,status=no,screenX=0,screenY=0,height="+iHeight+",width="+iWidth); 
	if( top.window.opener)
		oWindow.opener = top.window.opener;

	var posX = (screen.availWidth - iWidth) / 2;
	var posY = (screen.availHeight - iHeight) / 2;

	oWindow.resizeTo( iWidth, iHeight);
	oWindow.moveTo( posX, posY);

	oWindow.focus();
}

function reSizeToImage( x_obj)
{
	var isNN = getIsNN();
	var isIE = getIsIE();
	
	if (isIE)
	{
		x_obj.resizeTo(100,100);
		
		width=100-(x_obj.document.body.clientWidth-x_obj.document.images[0].width);
		height=100-(x_obj.document.body.clientHeight-x_obj.document.images[0].height);
		x_obj.resizeTo(width,height);
	}
	if (isNN)
	{
		x_obj.innerWidth=x_obj.document.images["imageBig"].width;
		x_obj.innerHeight=x_obj.document.images["imageBig"].height;
		width = x_obj.innerWidth;
		height = x_obj.innerHeight;
	}
	centerWindow( x_obj, width, height)
}

function doTitle( x_title)
{
	document.title = x_title;
}

function centerWindow( x_obj, x_width, x_height)
{
	var posX = (screen.availWidth - x_width) / 2;
	var posY = (screen.availHeight - x_height) / 2;

	x_obj.moveTo( posX, posY);
	x_obj.focus();
}

function WriteHtml( HtmlString, DocObj)
{	
	DocObj.close();
	DocObj.open();
	DocObj.write( HtmlString);
	DocObj.close();
}

