
function ShowPopup(ContentID, ContentType){
	
	showPopupWindow();
	
	$.ajax({
		url: 'includes/GetPopUpContents.php',
		data:{CID: ContentID, TYPE: ContentType},
		type: 'post',				
		beforeSend: function(){$("#popupWindow").html('Loading...');}, 
		success: function(response){$("#popupWindow").html(response);},    	
	    error: function(){$("#popupWindow").html('Error!');}
	});			
}

function openpanel(theURL,winName,features) 
{
	window.open(theURL,winName,features);
}
