var IE = document.all?true:false

var tempX = 0;
var tempY = 0;



function originalPos(){
    tempX = 0;
    tempY = -100 ;
hotelInfoPos(tempX, tempY);
}


function getMouseXY(e) {
  if (IE) { // grab the x-y pos.s if browser is IE
    tempX = document.body.clientWidth;
    tempY = document.documentElement.scrollTop + event.clientY;
  } else {  // grab the x-y pos.s if browser is NS
    tempX = document.body.clientWidth;
    tempY = e.pageY;
  } 
  hotelInfoPos(tempX, tempY)
}



function hotelInfoPos(x, y) {
	var boxPos = document.getElementById("HotelInfo").style;
	if(boxPos.posTop) {
		// IE
		boxPos.posTop = y - 70;
		boxPos.posLeft = (x/2) + 400;
	} else {
		boxPos.top = y - 70 + "px";
		boxPos.left = (x/2) + 400 + "px";
	}
	
}

function HotelOut(){
document.onmousemove = originalPos;

}

function HotelOver(pic){
document.onmousemove = getMouseXY;
document.images["hotelPic"].src = pic;
}

<!--Little Banner for mail Registration -->
function resetMailPos(){
	window.onresize = mailPricePos;
	}

function mailPricePos() {
	var pricePos = document.getElementById("mailPrice").style;
	var newXPos = (document.body.clientWidth/2) + 425;
	
	if(pricePos.posTop) {
		// IE
		pricePos.posTop = 775;
		pricePos.posLeft = newXPos;
	} else {
		pricePos.top = 775 + "px";
		pricePos.left = newXPos + "px";
	}
	
}