<script type="text/javascript" language="javascript">
function popWindow(url)
{
	//get center coords
	width = 788;
	height = 540;
	var leftPosition = (screen.width - width) / 2;
    var topPosition = (screen.height - height) / 2;
    
    win=window.open(url, 'main_map', 'width=' + width + ',height=' + height + ',left=' + leftPosition + ',top=' + topPosition + 
',toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=yes');
    
}
</script>

