function OpenPopup(file)

{

	// alert(file);

	win = window.open(file,'Popup','width=600,height=450,scrollbars=1,resizable=1');

	WindowXPosition(700,620,win);

}

function WindowXPosition(widthX,heightX,windowName)

{

	var width = (screen.width);

	var height = (screen.height - 25);

	var centerleft = 0;

	var centertop = 0;

	var centerleft = (width/2) - (widthX/2);

	var centertop = (height/2) - (heightX/2);

	var width=widthX;

	var height=heightX;

	windowName.moveTo(centerleft,centertop);

	windowName.resizeTo(width, height);

	windowName.focus();

}


