//BLANK_IMAGE = 'add-space.gif';

var lastTip = null;
var POS1 = "relative";

function setVis(id, value) {
	var o;
	if (document.getElementById && (o = document.getElementById(id)) && o.style)
		o.style.visibility = value;
}
function show(id) {
	setVis(id, 'visible');
}
function hide(id) {
	setVis(id, 'hidden');
}
function navTip(id) {
	if (lastTip)
		hide(lastTip);
	show(id);
	lastTip = id;
}


var STYLE = {
	border:0,
	shadow:0,
	color:{
		border:'#CCCCCC',
		shadow:'#333333',
		bgON:'',
		bgOVER:'#C5D8FF'
	},
	css:{
		ON:'clsCMOn',
		OVER:'clsCMOver'
	}
};

var STYLE2 = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#CCCCCC",	// color of the item border, if any
		shadow:'#333333',	// color of the item shadow, if any
		bgON:'',		// background color for the items
		bgOVER:''	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOn2",		// CSS class for items
		OVER:"clsCMOver2"	// CSS class  for item which is under mouse
	}
};

var STYLE3 = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#CCCCCC",	// color of the item border, if any
		shadow:'#333333',	// color of the item shadow, if any
		bgON:'#C5D8FF',		// background color for the items
		bgOVER:'#A6C2FF'	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOn3",		// CSS class for items
		OVER:"clsCMOver3"	// CSS class  for item which is under mouse
	}
};

var MENU_ITEMS_ARROWS =
[
	{pos:[5,110], itemoff:[0,0], "leveloff":[0,0], "style":STYLE2, "size":[20,150], "delay":[200]},
    	{code:"Home", url:"/index.asp", format:{size:[20,40], itemoff:[0,50]}},
    	{code:"Lodging", url:"/lodging.asp", format:{size:[20,95], itemoff:[0,35]}, 
			sub:[
				{"style":STYLE3, itemoff:[20,0], "leveloff":[20,20], "size":[20,150]},
				{code:"Camping", url:"/lodgingCamping.asp"},
				{code:"Cottages", url:"/lodgingCottages.asp"},
				{code:"Hotels & Motels", url:"/lodgingHotels.asp"},
				{code:"Bed & Breakfasts", url:"/lodgingbedBreakfasts.asp"},
				{code:"Resorts", url:"/lodgingResorts.asp"},
				{code:"Vacation Homes", url:"/lodgingVacationHomes.asp"},
				{code:"Conference Centers", url:"/hagueConference.asp"},
				]
		},
    	{code:"Dining", url:"/dining.asp", "format":{size:[20,90], itemoff:[0,69]},
			sub:[
				{"style":STYLE3, itemoff:[20,0], "leveloff":[20,25], "size":[20,150]},
				{code:"Deli & Grocery", url:"/diningDeli.asp"},
				{code:"Restaurants", url:"/diningRestaurants.asp"},
				 ]
		},
		{code:"Things to Do", url:"/thingsToDo.asp", format:{size:[20,120], itemoff:[0,65]},
			sub:[
				{"style":STYLE3, itemoff:[20,0], "leveloff":[20,20], "size":[20,200]},
				{code:"Attractions & Recreation", url:"/attractionsRecreation.asp"},
				{code:"Charter Fishing", url:"/attractionsSportfishing.asp"},
				{code:"Boating Guide", url:"/attractionsBoatingGuide.asp"},
				{code:"Shopping", url:"/attractionsShopping.asp"},
				{code:"Hiking", url:"/attractionsHiking.asp"},
				{code:"Historic Sites & Museums", url:"/attractionsMuseums.asp"},
				{code:"Family Fun", url:"/attractionsFamilyFun.asp"},
				{code:"Fort Ticonderoga", url:"/attractionsFortTiconderoga.asp"},

				]
		},
		{code:"Events",  url: "/events.asp", format:{size:[20,55], itemoff:[0,115]}},
		{code:"Services", url:"/services.asp", format:{size:[20,100], itemoff:[0,47]},
		sub:[
				{"style":STYLE3, itemoff:[20,0], "leveloff":[20,25], "size":[20,170]},
				{code:"Automotive",  url:"/servicesAuto.asp"},
				{code:"Real Estate / Insurance",  url:"/servicesRealEstate.asp"},
				{code:"Retirement Community",  url:"/servicesRetirement.asp"},
				{code:"Banking",  url:"/servicesBanking.asp"},
			 ]
		},
		
			{code:"About Hague", url: "/aboutHague.asp", format:{size:[20,110], itemoff:[0,84]},
		sub:[
				{"style":STYLE3, itemoff:[20,0], "leveloff":[20,15], "size":[20,170]},
				{code:"PHOTO CONTEST!", url:"/contests/winners2005.asp"},
				{code:"Directions", url:"/aboutRoutes.asp"},
				{code:"Lake George Monster", url:"/hagueMonster.asp"},
				{code:"Request Information", url:"/aboutRequestInfo.asp"},
				{code:"Churches",  url:"/servicesChurches.asp"},
				{code:"Government", url:"/aboutGovt.asp"},
				{code:"Clubs & Organizations", url:"/aboutClubs.asp"},
				{code:"Regional Links", url:"/aboutLinks.asp"},
			 ]},
		{code:"Contact Us", url:"/aboutRequestInfo.asp", format:{size:[20,80], itemoff:[0,111]}},];
