// JavaScript Document


function IToolTips()
{
	this.cssClass;
	this.tips; // array of ITips;
	this.on;
	this.delayTime;	
		
	//others.. used for this.
	this.div = "toolTipLayer";
	this.layer;
	this.isOver = false;
	this.timer;
	
	
	this.showTip = showTip;
	this.hideTip = hideTip;
}


	
	





function showTip() {
	
	this.layer = document.getElementById(this.div);
	this.layer.style.visibility = "visible";
	this.layer.style.top = mouseY + "px";
	this.layer.style.left = mouseX + 25+ "px";
	

}


function hideTip() {

	this.layer = document.getElementById(this.div);
	this.layer.style.visibility = "hidden";
	this.isOver = false;

}



function ITip() {
	this.forId;
	this.title;
	this.summary;

}


var myTips = new Array();

	myTips[0] = new ITip();
	myTips[0].forId 	= "mapLayer";
	myTips[0].title 	= "The Main Map Area";
	myTips[0].summery 	= "This is the main map area where you will be using tools and browsings.";
	


