//v1.1
function KONE_CenterPopUp(zwidth, zheight) {
	var xWidth = (screen.width-zwidth)/2;
	var yHeight = (screen.height-zheight)/2;
	try
	{
	    window.moveTo(xWidth, yHeight);
	}
	catch(err) {}
}

function KOTAN_OpenWin(contentUrl, height, width, sizeable, scrolling) {
	var x = (screen.width-width)/2;
	var y = (screen.height-height)/2;
	
	var wparameters = "'location=1,status=1" + 
			 ",scrollbars=" + scrolling +
			 ",width=" + width +
			 ",height=" + height +
			 ",resizable=" + sizeable +
			 "'";
	
    var openedWindow = window.open(contentUrl, 'KOTAN', wparameters);
    try
    {
        openedWindow.moveTo(x, y);
        openedWindow.focus();
    }
    catch(err) {}
}

 

 
  