/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
CMenu.makeMenu('sub43','top5','MenuMaker','','',0,0,'','','','','','','','window.open("/coolmenus/maker/","","width=800,height=600")')
//Add this into the menu for text only option
//oCMenu.makeMenu('sub11','top1','Text Emails','/emailblast/access/mail_text/create.cfm?p_from=new')
*************************************/
//

<!--

// Returns a string (.css class) based on what page you are currently in
// Note: this uses absolute paths for comparison
function isCurPage(URLtoTest) {
	var sPath = window.location.pathname;
	//var sPage = sPath.substring(sPath.lastIndexOf('\\') + 1);
	// page name only
	//var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);
	if (URLtoTest == sPath) {
		return "clLevel0over"; // highlighted class
	} else {
		return "clLevel0"; // normal class
	}
}


oCMenu.makeMenu('top0','','Home','/index.jsp', '', '', '', '', '', isCurPage("/index.jsp")) 

oCMenu.makeMenu('top1','','Our Products','/Products/', '', '', '', '', '', isCurPage("/Products/")) 		
		oCMenu.makeMenu('sub111','top1','Nanik&reg; Horizontals','/Products/Nanik_Horizontal/', '', '160', '', '', '', isCurPage("/Products/Nanik_Horizontal/")) 
		//oCMenu.makeMenu('sub112','top1','Nanik&reg; Wood Verticals','http://www.nanikblinds.com/Products/Nanik_Wood_Verticals/', '', '160', '', '', '', isCurPage("/Products/Nanik_Wood_Verticals/")) 
		//oCMenu.makeMenu('sub113','top1','Nanik Naturals&reg;','/Products/Nanik_Naturals/', '', '160', '', '', '', isCurPage("/Products/Nanik_Naturals/")) 
		oCMenu.makeMenu('sub114','top1','Nanik&reg; Specialty Shapes','/Products/Nanik_Specialty_Shapes/', '', '160', '', '', '', isCurPage("/Products/Nanik_Specialty_Shapes/")) 
		oCMenu.makeMenu('sub115','top1','Nanik&reg; Custom Options','/Products/Nanik_Custom_Options/', '', '160', '', '', '', isCurPage("/Products/Nanik_Custom_Options/")) 
		oCMenu.makeMenu('sub116','top1','Timberline by Nanik&reg;','/Products/Timberline_by_Nanik/', '', '160', '', '', '', isCurPage("/Products/Timberline_by_Nanik/"))
			oCMenu.makeMenu('sub1111','sub116','Timberline&reg;<br>Horizontals','/Products/Timberline_by_Nanik/Timberline_Horizontals.jsp', '', '', '30', '', '', isCurPage("/Products/Timberline_by_Nanik/Timberline_Horizontals.jsp"))
			oCMenu.makeMenu('sub1112','sub116','Timberline&reg;<br>Custom Options','/Products/Timberline_by_Nanik/Timberline_Custom.jsp', '', '', '30', '', '', isCurPage("/Products/Timberline_by_Nanik/Timberline_Custom.jsp"))
			oCMenu.makeMenu('sub1113','sub116','Timberline&reg;<br>Specialty Shapes','/Products/Timberline_by_Nanik/Timberline_Special_Shapes.jsp', '', '', '30', '', '', isCurPage("/Products/Timberline_by_Nanik/Timberline_Special_Shapes.jsp"))
//	oCMenu.makeMenu('sub12','top1','Product Selector','/Products/Product_Selector.jsp', '', '', '', '', '', isCurPage("/Products/Product_Selector.jsp")) 

//oCMenu.makeMenu('top2','','Product Showroom','/Product_Showroom/', '', '', '', '', '', isCurPage("/Product_Showroom/")) 		
	
oCMenu.makeMenu('top4','','Ideas and Solutions','/Solutions/', '', '', '', '', '', isCurPage("/Solutions/")) 
	oCMenu.makeMenu('sub41','top4','Ideas and Solutions','/Solutions/', '', '', '', '', '', isCurPage("/Solutions/")) 
	oCMenu.makeMenu('sub42','top4','Planning Checklist','/Solutions/Nanik_Planning_Checklist.pdf','_blank') 		

//oCMenu.makeMenu('top5','','Measuring Instructions','/Measuring/','','','31', '','', isCurPage("/Installation/"))										

oCMenu.makeMenu('top7','','Customer Support','/Customer_Support/', '', '', '', '', '', isCurPage("/Customer_Support/")) 		
	oCMenu.makeMenu('sub71','top7','Contact Us','/Customer_Support/', '', '', '', '', '', isCurPage("/Customer_Support/")) 				
	oCMenu.makeMenu('sub72','top7','Warranty Information','/Customer_Support/Warranty_Information.jsp', '', '', '', '', '', isCurPage("/Customer_Support/Warranty_Information.jsp")) 
	oCMenu.makeMenu('sub73','top7','Cleaning Instructions','/Customer_Support/Cleaning_Instructions.jsp', '', '', '', '', '', isCurPage("/Customer_Support/Cleaning_Instructions.jsp")) 
	oCMenu.makeMenu('sub74','top7','Replacement Parts','/Customer_Support/Replacement_Parts.jsp', '', '', '', '', '', isCurPage("/Customer_Support/Replacement_Parts.jsp"))
	oCMenu.makeMenu('sub75','top7','Safety','/safety/', '', '', '', '', '', isCurPage("/Customer_Support/Safety.jsp")) 
	 
	if (blnShowWhereToShop) oCMenu.makeMenu('sub76','top7','Ordering Products','/Customer_Support/Ordering_Product.jsp', '', '', '', '', '', isCurPage("/Customer_Support/Ordering_Product.jsp")) 		

	
if (blnShowWhereToShop) {
	oCMenu.makeMenu('top8','','Where to Shop','http://docs.springswindowfashions.com/depts/is/wf/web/windowsd.nsf?login&username=READONLY&password=READONLY&redirectto=http://docs.springswindowfashions.com/depts/is/wf/web/windowsd.nsf/NanikDFPage?OpenForm', '_blank', '', '', '', '', isCurPage("http://docs.springswindowfashions.com/depts/is/wf/web/windowsd.nsf?login&username=READONLY&password=READONLY&redirectto=http://docs.springswindowfashions.com/depts/is/wf/web/windowsd.nsf/NanikDFPage?OpenForm")) 		
}

if (!blnShowWhereToShop) {	
	if (document.location.pathname == "/" || new String(document.location.pathname).toLowerCase() == "/index.jsp") {
		// If home page, show site map and then a blank button
		oCMenu.makeMenu('top8','','Site Map','/Sitemap/')
		oCMenu.makeMenu('top9','','','', '', '', '', '', '', false, '','','',true)
	} else {
		// On an inside page, show just the site map without the Where To Shop
		oCMenu.makeMenu('top8','','Site Map','/Sitemap/')
	}
} else {
	oCMenu.makeMenu('top9','','Site Map','/Sitemap/') 	
}
//Leave this line - it constructs the menu
oCMenu.construct()
//-->
