// JavaScript Document

function popup(url, newWidth, newHeight) 
{
 var width  = newWidth || 600;
 var height = newHeight || 400;
 var left   = (screen.width  - width)/2;
 var top    = (screen.height - height)/2;
 var params = 'width='+width+', height='+height;
 params += ', top='+top+', left='+left;
 params += ', directories=no';
 params += ', location=no';
 params += ', menubar=no';
 params += ', resizable=no';
 params += ', scrollbars=no';
 params += ', status=no';
 params += ', toolbar=no';
 newwin=window.open(url,'windowname5', params);
 if (window.focus) {newwin.focus()}
 return false;
}
function closePopup()
{
	if (window.opener && !window.opener.closed)
    	window.opener.focus();
 	window.close();

}


