	function getMouseXPos(e) {
	
		if (document.all) { //IE4 and up
			return (event.clientX + document.body.scrollLeft);
		} else if (document.layers) {
			if(!e)
				e = window.event;
			return e.pageX
		} else if (document.getElementById) {
			if(!e)
				e = window.Event;
			return (e.clientX + document.body.scrollLeft);
		} 
	
	}
	// <b style="color:black;background-color:#A0FFFF">Get</B> the vartical <B style="color:black;background-color:#ff9999">position</b> of the mouse
	function getMouseYPos(e) {
		if (document.all) { //IE4 and up
			return (event.clientY + document.body.scrollTop);
		} else if (document.layers) {
			if(!e)
				e = window.event;
			return e.pageY;
		} else if (document.getElementById) { // mozilla
			if(!e)
				e = window.Event;
			return (e.clientY + document.body.scrollTop);
		} 
	
	}
 
	function ShowImage(e,img_src){
		x = getMouseXPos(e) + 5;
		y = getMouseYPos(e) + 5;
 
		document.getElementById('div_preview_image').style.left = x+'px';
		document.getElementById('div_preview_image').style.top = y+'px';
		document.getElementById('div_preview_image').style.display='';
		document.getElementById('preview_image').src=img_src;
	}
	function HideImage(){
		document.getElementById('div_preview_image').style.display='none';
	}
	
	
	
 
	
	/* ROLLOVER DEFINITION : Begin ==================================  */
	//if (document.images) {
         pic1on= new Image();
         pic1on.src="../images/figurines/arrow_r.gif"; 
		 
		 pic1off= new Image();
         pic1off.src="../images/figurines/arrow.gif"; 
	//}
	
	function lightup(imgName)
	 {
	   if (document.images)
		{
		  imgOn=eval(imgName + "on.src");
		  document[imgName].src= imgOn;
		}
	 }
	
	function turnoff(imgName)
	 {
	   if (document.images)
		{
		  imgOff=eval(imgName + "off.src");
		  document[imgName].src= imgOff;
		}
	 }
	 /* ROLLOVER DEFINITION : End  ===================================  */
	 
	 
 
 
function openList(obj) {
   document.getElementById(obj).style.display = 'block' ; 
}
 
function closeList(obj) {
   document.getElementById(obj).style.display = 'none' ; 
}

