//Simple window popup function that works on virtual roots and websites
//Sample call: javascript:showPopUp('/DotNetNuke','/PopUps/AboutGeoLocation.aspx',200,300)
function showPopUp(virtual, url, height, width)
{
	if(location.pathname.indexOf(virtual)>=0)
	{	
		//we're running in the virtual root, so prepend it to the url
		url=virtual+url;
	}
	showPopUpSimple(url, height, width);
}

function showPopUpSimple(url, height, width)
{
	window.open(url, 'PopUpWindow', 'toolbar=no,directories=no,menubar=no,resizable=no,status=no,height=' + height + ',width=' + width);
}