BLANK_IMAGE = '/images/add-space.gif';

var lastTip = null;

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:'#FBEFD9',
		shadow:'#FBEFD9',
		bgON:'#FBEFD9',
		bgOVER:'#FBEFD9'
	},
	css:{
		ON:'clsCMOnHome',
		OVER:'clsCMOverHome'
	}
};

var STYLE2 = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:1,			// item's shadow size, pixels; zero means "none"
	width: 200,
	color:{
		border:"#CCCCCC",	// color of the item border, if any
		shadow:"#333333",	// color of the item shadow, if any
		bgON:"#FBEFD9",		// background color for the items
		bgOVER:"#F1C778"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOn2Home",		// CSS class for items
		OVER:"clsCMOver2Home"	// CSS class  for item which is under mouse
	}
};

var MENU_ITEMS_ARROWS =
[
	{"pos":[580,75], "itemoff":[20,0], leveloff:[0,0], "style":STYLE, "size":[20,300]},
    	{code:"HEALTH CARE SERVICES", url:"/Services/",
			sub:[
				{"style":STYLE2, "leveloff":[0,-260], "size":[20,250]},
				{code:"Primary Care", url:"/Services/#PrimaryCare"},
				{code:"Specialty Care", url:"/Services/#SpecialtyCare"},
				{code:"Other Medical Services", url:"/Services/#OtherServices"},
				{code:"How To Get Care", url:"/Services/#HowToGetCare"},
				{code:"Patient Forms", url:"/Services/#PatientForms"},
				{code:"Payment Policies", url:"/Services/#PaymentPolicies"},
				{code:"Payment Assistance Programs", url:"/Services/#PaymentAssistance"},
				]
		},
    	{code:"HEALTH CENTERS", url:"/HealthCenters/",
			sub:[
				{"style":STYLE2, "leveloff":[0,-260], "size":[20,250]},
				{code:"By Location", url:"/HealthCenters/"},
				{code:"Area Map", url:"/HealthCenters/Map/"},
				//{code:"Bolton Landing", url:"/HealthCenters/Health-Center-Bolton.cfm"},
				//{code:"Chester-Horicon", url:"/HealthCenters/Health-Center-ChesterHoricon.cfm"},
				//{code:"Glens Falls (Broad Street)", url:"/HealthCenters/Health-Center-GlensFalls.cfm"},
				//{code:"Indian Lake", url:"/HealthCenters/Health-Center-IndianLake.cfm"},
				//{code:"Moreau", url:"/HealthCenters/Health-Center-Moreau.cfm"},
				//{code:"Moriah", url:"/HealthCenters/Health-Center-Moriah.cfm"},
				//{code:"North Creek", url:"/HealthCenters/Health-Center-NorthCreek.cfm"},
				//{code:"Queensbury", url:"/HealthCenters/Health-Center-Queensbury.cfm"},
				//{code:"Schroon Lake", url:"/HealthCenters/Health-Center-SchroonLake.cfm"},
				//{code:"Ticonderoga / Stafford", url:"/HealthCenters/Health-Center-Stafford-Ticonderoga.cfm"},
				//{code:"Warrensburg", url:"/HealthCenters/Health-Center-Warrensburg.cfm"},
				]
		},
		{code:"PHARMACY SERVICES", url:"/Pharmacy/",
			sub:[
				{"style":STYLE2, "leveloff":[0,-260], "size":[20,250]},
				]
		},
		{code:"OUR MEDICAL STAFF", url:"/Physicians/",
			sub:[
				{"style":STYLE2, "leveloff":[0,-260], "size":[20,250]},
				]
		},
		{code:"YOUR PATIENT PORTAL", url:"/patient-portal/",
			sub:[
				{"style":STYLE2, "leveloff":[0,-260], "size":[20,250]},
				]
		},
		{code:"ABOUT US", url:"/AboutUs/",
			sub:[
				{"style":STYLE2, "leveloff":[0,-260], "size":[20,250]},
				{code:"History And Mission", url:"/AboutUs/HistoryMission.cfm"},
				{code:"Board Of Directors", url:"/AboutUs/BoardOfDirectors.cfm"},
				{code:"Community Advisory Committees", url:"/AboutUs/CommunityAdvisory.cfm"},
				{code:"Health Center Guilds", url:"/AboutUs/HealthCenterGuilds.cfm"},
				{code:"Our Management Team", url:"/AboutUs/ManagementTeam.cfm"},
				{code:"Regulation and Review", url:"/AboutUs/RegulationAndReview.cfm"},
				{code:"Affiliate Organizations/Programs", url:"/AboutUs/AffiliateOrganizations.cfm"},
				]
		},
		{code:"WHAT'S NEW", url:"/News/",
			sub:[
				{"style":STYLE2, "leveloff":[0,-260], "size":[20,250]},
				{code:"Announcements", url:"/News/"},
				{code:"The Network News", url:"/News/NetworkNews/"},
				]
		},
		{code:"SUPPORT HHHN/CARE FOR KIDS", url:"/Donate/",
			sub:[
				{"style":STYLE2, "leveloff":[0,-260], "size":[20,250]},
				{code:"The Hudson Headwaters Foundation", url:"/Donate/"},
				{code:"Ways To Donate", url:"/Donate/Ways-To-Donate.cfm"},
				{code:"Donation Guidelines", url:"/Donate/Donation-Guidelines.cfm"},
				{code:"Care For Kids", url:"/Donate/Care-For-Kids.cfm"},
				]
		},
    	{code:"CAREER OPPORTUNITIES", url:"/Jobs/",
			sub:[
				{"style":STYLE2, "leveloff":[0,-260], "size":[20,250]},
				{code:"Career Opportunites", url:"/Jobs/"},
				{code:"Employment Listings", url:"/Jobs/Listings/"},
				{code:"Physician/Provider Opportunites", url:"/Jobs/Physicians/"},
				{code:"Comprehensive Benefits", url:"/Jobs/Benefits/"},
				]
		},
    	
    	
    	{code:"LINKS", url:"/Links/",
			sub:[
				{"style":STYLE2, "leveloff":[0,-260], "size":[20,250]},
				{code:"Health Related", url:"/Links/Health/"},
				{code:"Sites of Local Interest", url:"/Links/Local"},
				]
		},
    	{code:"CONTACT US", url:"/ContactUs/",
			sub:[
				{"style":STYLE2, "leveloff":[0,-260], "size":[20,250]},
				]
		},
   ];
