function setImage(image_html, description)
{
   var layerid='rollover';
   var layerid2='rollovertext';
   if (!document.getElementById && !document.all) return;

	var domref;

   if (document.getElementById)
      domref = document.getElementById(layerid);
   else if (document.all)
      domref = document.all(layerid);

   if (image_html != '')
      domref.innerHTML = unescape(image_html);
   else
      domref.innerHTML = '';

	document.getElementById(layerid2).innerHTML = description;

}


var where = ''; // which link
var xCoord = 0;
var yCoord = 0;
function checkwhere(e) {
  if (document.layers){
    xCoord = e.x;
    yCoord = e.y;
	} else if (document.all){
    xCoord = event.clientX;
  	yCoord = event.clientY;
	} else if (document.getElementById){
  	xCoord = e.clientX;
  	yCoord = e.clientY;
	}
}

function get_ScrollOffset(){
	scroll_offset = 0;
	if (document.body.scrollTop != 0) scroll_offset = document.body.scrollTop;
	if (document.documentElement.scrollTop != 0) scroll_offset = document.documentElement.scrollTop;
	return scroll_offset;
}
	document.onmousemove = checkwhere;
	if(document.captureEvents) {document.captureEvents(Event.MOUSEMOVE);}

		
	function changeSty(classpassed, tabid){
		document.getElementById(tabid).className=classpassed;
	}
