// This is the function that will open the
// new window when the mouse is moved over the link
var baseText = null;

function open_new_window(event,w,h,conDiv) 
{		
	var x;
	var y;	
	var popUp = document.getElementById(conDiv);	
	/*switch(conDiv)	
	{
		case 1:
			popUp = document.getElementById("MonthSpecial");			
			break;
		case 2:
			popUp = document.getElementById("XBunSpecial");	
			break;
	}	
	*/
	
	// Code to Get the pop up to show at the pointer
	if (event.pageX) x = event.pageX;
	else if (event.clientX)
	{
		x = event.clientX + (document.documentElement.scrollLeft ?
	   	document.documentElement.scrollLeft :
	   	document.body.scrollLeft);
	}	
	
	if (event.pageY) y = event.pageY;
	else if (event.clientY)
	{
	   y = event.clientY + (document.documentElement.scrollTop ?
	   document.documentElement.scrollTop :
	   document.body.scrollTop);
	}
	
	y = y - h - 20;
	x = x + 10;	
	popUp.style.top = y + "px";
	popUp.style.left = x + "px";
	popUp.style.width = w + "px";	
	popUp.style.height = h + "px";	
	
	popUp.style.visibility = "visible";
	
}

// This is the function that will close the
// new window when the mouse is moved off the link
function close_window(conDiv) 
{		
	var popUp = document.getElementById(conDiv);
	popUp.style.visibility = "hidden";	
}