function doClosePop()
{
	$("#pop-up").fadeOut("slow");
}
function doPop(contentURL)
{
	$("#pop-content").load(contentURL);
	centerPopup();
	$("#pop-up").fadeIn("slow");
}




function centerPopup(){  
//request data for centering  
var windowWidth = document.documentElement.clientWidth;  
var windowHeight = document.documentElement.clientHeight;  
var popupHeight = $("#pop-up").height();  
var popupWidth = $("#pop-up").width();  
//centering  
$("#pop-up").css({  
"position": "absolute",  
"top": windowHeight/2-popupHeight/2,  
"left": windowWidth/2-popupWidth/2  
});  
//only need force for IE6  
  
//$("#pop-up").css({  
//"height": windowHeight  
//});  
  
} 