function popOver(url)
{
	var h = (window.screen) ? window.screen.height : window.outerHeight;
	var w = (window.screen) ? window.screen.width  : window.outerWidth;
	var x =  (window.screenX) ? window.screenX : (window.screenLeft) ? window.screenLeft : 100;
	var y =  (window.screenY) ? window.screenY : (window.screenTop)  ? window.screenTop  : 100;
	var spec = "toolbar=1,menubar=1,status=1,location=1,scrollbars=1,resizable=1,";
	spec += "top=" + y + ",left=" + x + ",width=" + w + ",height=" + h;
	var ie7 = (window.clientInformation && window.clientInformation.appVersion.indexOf("IE 7") > 0);
	var pop = (true || !ie7) ? window.open(url, "popOver", spec, true) : window.open(url);
	return pop;
}

function popUnder(url)
{
	var h = (document.documentElement && document.documentElement.clientHeight) ? document.documentElement.clientHeight - 10 : (document.body.clientHeight) ? document.body.clientHeight - 10 : 700;
	var w = (document.documentElement && document.documentElement.clientWidth)  ? document.documentElement.clientWidth  - 10 : (document.body.clientWidth)  ? document.body.clientWidth  - 10 : 950;
	var x =  (window.screenX) ? window.screenX : (window.screenLeft) ? window.screenLeft : 100;
	var y =  (window.screenY) ? window.screenY : (window.screenTop)  ? window.screenTop  : 100;
	var spec = "toolbar=1,menubar=1,status=1,location=1,scrollbars=1,resizable=1,";
	spec += "top=" + y + ",left=" + x + ",width=" + w + ",height=" + h;
	var ie7 = (window.clientInformation && window.clientInformation.appVersion.indexOf("IE 7") > 0);
	var popName = "popUnder_" + String((new Date()).valueOf());
	var pop = (true || !ie7) ? window.open("about:blank", popName, spec, true) : window.open("about:blank");
	if (pop) pop.blur();
	self.focus();
	if (pop) pop.location.replace(url);
	takeFocus();
	return pop;
}

function takeFocus()
{
	var seconds = 11;
	self.focus();
	for (var i = 0; i < seconds; i++)
	{
		window.setTimeout("self.focus()", (i * 1000));
		window.setTimeout("self.focus()", (i * 1000) + 500);
	}
}
