// JavaScript Document
function Pop_Up_Window(page,windowNameIn,wIn,hIn){
var w = 600, h = 600;

var windowName="PopUpWin"
if (typeof(wIn)!="undefined")
{
	w=wIn
}
if (typeof(hIn)!="undefined")
{
	h=hIn
}
if (typeof(windowNameIn)!="undefined")
{
	windowName=windowNameIn
}
var wide, tall;
if (document.all || document.layers) {
  wide = screen.availWidth;
  tall = screen.availHeight;
}
var topPos = (tall-h)/2, leftPos = (wide-w)/2;

window.open(page ,windowName,'width=' + w + ',scrollbars=1,titlebar=no,height=' + h + ',top=' + topPos + ',left=' + leftPos);
}