// LOCALHOST
// var SITE_ROO_DIR = '/cheerful-diligence/';
// Web
var SITE_ROO_DIR = '/';

function HilightDot(img_id) {
	var img = document.getElementById(img_id);
	img.src = SITE_ROO_DIR+'images/left_menu_dot_1a.jpg';
}

function DelightDot(img_id, curr_img_id) {
	var img = document.getElementById(img_id);
	if (img_id == curr_img_id) {
		img.src = SITE_ROO_DIR+'images/left_menu_dot_1a2.jpg';
	}
	else {
		img.src = SITE_ROO_DIR+'images/left_menu_dot_1.jpg';
	}
}

function Redirect(redirect_string) {
	window.location = redirect_string;
}

function Dummy() {}


/* 
Example:
function test()
{
  if (document.layers) getMouseLoc;     //NS
  else if (document.all) getMouseLoc(); //IE
  alert(mouseLocation.x+","+mouseLocation.y);
}
in the BODY:
<a href="#" onmouseover="test()">test</a>
*/
function Point(x,y) {  this.x = x; this.y = y; }
mouseLocation = new Point(-500,-500);
function getMouseLoc(e)
{
  if(!document.all)  //NS
  {
    mouseLocation.x = e.pageX;
    mouseLocation.y = e.pageY;
  }
  else               //IE
  {
    mouseLocation.x = event.x + document.body.scrollLeft;
    mouseLocation.y = event.y + document.body.scrollTop;
  }
  return true;
}
//NS init:
if(document.layers){ document.captureEvents(Event.MOUSEMOVE); document.onMouseMove = getMouseLoc; }
