<!--
if(document.all && !document.getElementById)
	document.getElementById = document.all;
function hunterMenu() {
	hunterMenu[hunterMenu.prototype.length] = this;
	this.index = hunterMenu.prototype.length;
	hunterMenu.prototype.length++;
}
hunterMenu.prototype = {
	sub : null,
	hiding : null,
	length : 0,
	show : function(id,obj) {
		if(this.hiding) this.keep();
		var menu = document.getElementById(id);
		if(this.sub == menu) return;
		if(this.sub) this.clear();
		this.sub = menu;
		var e = new this.event(obj);
		menu.style.top = e.y + obj.offsetHeight - 2;
		menu.style.left = e.x;
		obj.className = "menu_item_active";
		menu.item = obj;
		//try{activeSub.filters.item(0).apply();}catch(e){}
		menu.style.visibility = "visible";
		//try{activeSub.filters.item(0).play();}catch(e){}
	},
	keep : function() {
		this.hiding = clearTimeout(this.hiding);
	},
	hide : function() {
		this.hiding = setTimeout("hunterMenu["+this.index+"].clear()",500);
	},
	clear : function() {
		var sub = this.sub;
		if(!sub) return;
		if(sub.item) sub.item.className = "menu_item";
		//try{activeSub.filters.item(0).apply();}catch(e){}
		sub.style.visibility = "hidden";
		//try{activeSub.filters.item(0).play();}catch(e){}
		this.sub = null;
	},
	event : function(obj) {
		this.x = 0;
		this.y = 0;
		var o = "";
		//this.src = obj;
		if(!obj.getBoundingClientRect) { // meant to work in everything else
			while(obj != null) {
				this.x += obj.offsetLeft;
				this.y += obj.offsetTop;
				//o += obj.tagName+' left:'+obj.offsetLeft+" top:"+obj.offsetTop+"\n";
				obj = obj.offsetParent;
			}
		}
		else { // to fix the IE5.5+ offsetTop and possibly offsetLeft errors
			var x_y = obj.getBoundingClientRect();
			this.x = x_y.left-2;
			this.y = x_y.top-2;
		}
		//alert(o);
	}
};
var menu = new hunterMenu();
//-->