function executeAJAX2(uid)
{
$.ajax({
   type: "GET",
   url: "index.php",
   data: "module=Biz&pname=contact&pmode=empg&uid=" + uid,
success: function(msg){
	
	 $('#contactDiv').html("<div id='closewin' onclick=\"$('#contactDiv').hide('slow');\">X</div>");
	 $('#contactDiv').append(msg);
	 $('#contactDiv').addClass("show");
	 
		 
	posY = getScreenCenterY();
	posX = getScreenCenterX();
	
	 $('#contactDiv').css({'top' : (posY - 100) + 'px' , 'left' : (posX - 200) + 'px'});

     $("#contactDiv").show("slow");
   }
});
}

$(document).ready(function() {
//$(".openContact").click(function () {
	
	
	//executeAJAX2();
	
//});
 });








 
function getScreenCenterY() {
var y = 0;
 
y = getScrollOffset()+(getInnerHeight()/2);
 
return(y);
}
 
function getScreenCenterX() {
return(document.body.clientWidth/2);
}
 
function getInnerHeight() {
var y;
if (self.innerHeight) // all except Explorer
{
y = self.innerHeight;
}
else if (document.documentElement && document.documentElement.clientHeight)
// Explorer 6 Strict Mode
{
y = document.documentElement.clientHeight;
}
else if (document.body) // other Explorers
{
y = document.body.clientHeight;
}
return(y);
}
 
function getScrollOffset() {
var y;
if (self.pageYOffset) // all except Explorer
{
y = self.pageYOffset;
}
else if (document.documentElement && document.documentElement.scrollTop)
// Explorer 6 Strict
{
y = document.documentElement.scrollTop;
}
else if (document.body) // all other Explorers
{
y = document.body.scrollTop;
}
return(y);
}