	function showPopoverPage(path)
	{
		var pid = "popover";
		var pid2 = "popover2";
		
		if ($("#" + pid).size()) {
			pid = "popover2";
			pid2 = "popover";
		}
		// $("#popover, #popover-bg").remove();
		
		var style_popover = false;
		
		if (!$("#popover-bg").size()) {
			style_popover = true;
			$("body").append("<div id='popover-bg'><\/div>");
		}

		$("body").append("<iframe allowtransparency=true id='" + pid + "'><\/iframe>");
		$("#" + pid + (style_popover ? ", #popover-bg" : "")).css({
			position: 'fixed',
			top: 0,
			left: 0,
			right: 0,
			bottom: 0,
			width: '100%',
			height: '100%',
			zIndex: 10000,
			opacity: 0,
			border: 0
		});
		var bgc = 'rgba(0, 0, 0, 0.8)';
		if (/MSIE [678]/.test(navigator.userAgent))
		  bgc =  'url(/t/width=1/height=1/matte=000000cc/scale/bg.png)';
		$('#popover-bg').css('background', bgc); 
		// $("#popover")[0].contentWindow.document.write("<body style='background: rgba(0, 0, 0, 0.8);'>");
		$("#popover-bg").animate({ opacity: 1 }, function() { this.style.filter = ''; });
		$("#" + pid).load(function() {
			if ($("#" + pid2).size()) $("#" + pid2).animate({ opacity: 0 }, function() {
				$(this).remove();
			});
			$(this).animate({ opacity: 1 }, function() { this.style.filter = ''; });
		}).attr("src", path);
	}
	
	function hidePopoverPage()
	{
		$("#popover, #popover2, #popover-bg").animate({ opacity: 0 }, function() {
			$(this).remove();
		});
	}


