
function chgTDBg(oObj, sColor)
{	if (IE4 || DOM) 
	{	//IE4	
		oObj.style.backgroundColor = sColor;
	}
  	else if (NS4) 
	{	//NS 4	
		oObj.bgColor = sColor;
	}
}

function chgTextColor(oObj, sColor)
{	if (IE4 || DOM) 
	{	//IE4	
		oObj.style.color = sColor;
	}
  	else if (NS4) 
	{	//NS 4	
		document.oObj.color = sColor;
	}
}

function openWindow(sUrl)
{	var sName = "winLink";
	var sFeatures = "width=750,height=500,top=50,left=50,scrollbars=yes,menubar=yes,toolbar=yes" 
	
	window.open(sUrl, sName, sFeatures);
}
function writeHeader()
{	document.write("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
	document.write("<tr>");
	document.write("<td rowspan=\"4\"><img src=\"images/spacer.gif\" alt=\"\" width=\"30\" height=\"69\" border=\"0\"></td>");
	document.write("<td><img src=\"images/spacer.gif\" alt=\"\" width=\"555\" height=\"1\" border=\"0\"></td>");
	document.write("<td><img src=\"images/spacer.gif\" alt=\"\" width=\"170\" height=\"1\" border=\"0\"></td>");
	document.write("<td rowspan=\"4\" width=\"100%\" rowspan=\"4\"><img src=\"images/spacer.gif\" alt=\"\" width=\"30\" height=\"69\" border=\"0\"></td>");
	document.write("</tr>");
	
	document.write("<tr>");
	document.write("<td colspan=\"2\" class=\"header\" valign=\"middle\"><img src=\"images/spacer.gif\" width=\"1\" alt=\"\" height=\"20\" border=\"0\"></td>");
	document.write("</tr>");
	
	document.write("<tr>");
	document.write("<td class=\"header\" valign=\"middle\"><a href=\"index.html\"><img src=\"images/logo.gif\" alt=\"Northeast Cabinet Doors\" width=\"320\" height=\"75\" border=\"0\"></a></td>");
	document.write("<td class=\"text\" align=\"left\" valign=\"middle\"><strong>Northeast Cabinet Doors</strong><br>33 Morrell Street<br>West Roxbury, MA&nbsp;&nbsp;02132<br><b>Phone:&nbsp;617-469-5445</b><br>Fax:&nbsp;617-469-0770</td>");
	document.write("</tr>");
	
	document.write("<tr>");
	document.write("<td colspan=\"2\" class=\"header\" valign=\"middle\"><img src=\"images/spacer.gif\" width=\"1\" alt=\"\" height=\"20\" border=\"0\"></td>");
	document.write("</tr>");
	document.write("</table>");
}

function writeNavigation(sSection)
{	document.write("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
	document.write("<tr>");
	document.write("<td class=\"primary primary2\" nowrap><img src=\"images/spacer.gif\" alt=\"\" width=\"20\" height=\"1\" border=\"0\"></td>");
	document.write("<td class=\"primary\">");
	
	document.write("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">");
	document.write("<tr align=\"center\">");
	//menu1
	document.write("<td width=\"1\" class=\"menuoutline\"><img src=\"images/spacer.gif\" alt=\"\" width=\"1\" height=\"1\" border=\"0\"></td>");
	document.write("<td class=\"primary\">");
	document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
	document.write("<tr align=\"center\">");
	document.write("<td id=\"nav1\" class=\"menuNav\"><a href=\"javascript:void(0)\"   style=\"cursor:auto;\" onclick=\"window.FW_showMenu(window.fw_menu_0,31,155); onMouseOut=\"FW_startTimeout();\" onMouseOver=\"window.FW_showMenu(window.fw_menu_0,31,155);\">About NE Cabinet Doors</a></td>");

	document.write("</tr>");
	
	document.write("</table>");
	document.write("</td>");
	//menu2
	document.write("<td class=\"menuoutline\"><img src=\"images/spacer.gif\" alt=\"\" width=\"1\" height=\"1\" border=\"0\"></td>");
	document.write("<td class=\"primary\">");
	document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
	document.write("<tr align=\"center\">");
	document.write("<td id=\"nav2\" class=\"menuNav\"><a href=\"javascript:void(0)\"   style=\"cursor:auto;\" onclick=\"window.FW_showMenu(window.fw_menu_1,228,155);\" onmouseover=\"window.FW_showMenu(window.fw_menu_1,228,155);\" onMouseOut=\"FW_startTimeout();\" >Products</a></td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</td>");
	
	//kitchenRemodeling
	/*document.write("<td class=\"menuoutline\"><img src=\"images/spacer.gif\" alt=\"\" width=\"1\" height=\"1\" border=\"0\"></td>");
document.write("<td class=\"primary\">");
document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.write("<tr align=\"center\">");
document.write("<td id=\"nav4\"><div onclick=\"MM_swapImage('menu4','','images/menu_kitchen_blue.jpg',1);\" onmouseover=\"MM_swapImage('menu4','','images/menu_kitchen_gray.jpg',1);\" onmouseout=\"MM_swapImgRestore();FW_startTimeout();\"><a href='kitchenRemodeling.html'><img name=\"menu4\" src=\"images/menu_kitchen_blue.jpg\" width=\"196\" height=\"29\" border=\"0\"></a></div></td>");
document.write("</tr>");
document.write("</table>");
document.write("</td>");*/
	document.write("<td class=\"menuoutline\"><img src=\"images/spacer.gif\" alt=\"\" width=\"1\" height=\"1\" border=\"0\"></td>");
	document.write("<td class=\"primary\">");
	document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
	document.write("<tr align=\"center\">");
	document.write("<td id=\"nav4\" class=\"menuNav\"><a href=\"kitchenRemodeling.html\" style=\"width:180px;\">Kitchen Remodeling</a></div></td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</td>");
	
	/* Kitchen Remodeling Blog */
	
	document.write("<td class=\"menuoutline\"><img src=\"images/spacer.gif\" alt=\"\" width=\"1\" height=\"1\" border=\"0\"></td>");
	document.write("<td class=\"primary\">");
	document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
	document.write("<tr align=\"center\">");
	document.write("<td id=\"nav4\" class=\"menuNav\"><a href=\"blog\" style=\"width:210px;\">Kitchen Remodeling Blog</a></div></td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</td>");
	

	/*
	document.write("<td class=\"menuoutline\"><img src=\"images/spacer.gif\" alt=\"\" width=\"1\" height=\"1\" border=\"0\"></td>");
	document.write("<td class=\"primary\">");
	document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
	document.write("<tr align=\"center\">");
	document.write("<td id=\"nav3\"><div onclick=\"window.FW_showMenu(window.fw_menu_3,425,155);MM_swapImage('menu3','','images/menu3_up.gif',1);\" onmouseover=\"window.FW_showMenu(window.fw_menu_3,425,155);MM_swapImage('menu3','','images/menu3_over.gif',1);\" onmouseout=\"MM_swapImgRestore();FW_startTimeout();\"><img name=\"menu3\" src=\"images/menu3_up.gif\" width=\"196\" height=\"29\" border=\"0\"></div></td>");
	
	document.write("</tr>");
	document.write("</table>");
	document.write("</td>");
	*/
	///menu3
	document.write("<td class=\"menuoutline\"><img src=\"images/spacer.gif\" alt=\"\" width=\"1\" height=\"1\" border=\"0\"></td>");
	document.write("<td class=\"primary\">");
	document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
	document.write("<tr align=\"center\">");
	document.write("<td id=\"nav3\" class=\"menuNav\"><a href=\"order_form.html\" style=\"width:120px;\">Order Form</a></td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</td>");
	document.write("<td class=\"menuoutline\"><img src=\"images/spacer.gif\" alt=\"\" width=\"1\" height=\"1\" border=\"0\"></td>");
	
	document.write("</tr>");
	document.write("</table>");
	
	document.write("</td>");
	document.write("<td width=\"100%\" class=\"primary primary2\"><img src=\"images/spacer.gif\" alt=\"\" width=\"60\" height=\"1\" border=\"0\"></td>");
	document.write("</tr>");
	document.write("</table>");
	
}

function writeBreadcrumb()
{	document.write("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
	document.write("<tr>");
	document.write("<td width=\"100%\"><img src=\"images/spacer.gif\" alt=\"\" width=\"1\" height=\"37\" border=\"0\"></td>");
	document.write("</tr>");
	document.write("</table>");
}

function writeFooter()
{	document.write("<table style=\"display:inline-block;float:left;margin-left:0px;\" align=\"left\" width=\"750\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
	
	document.write("<tr>");
	document.write("<td width=\"750\" colspan=\"2\" valign=\"top\" bgcolor=\"#FFFFFF\"><img src=\"images/spacer.gif\" alt=\"\" width=\"11\" height=\"30\" border=\"\"></td>");
	document.write("</tr>");
	
	document.write("<tr>");
	document.write("<td rowspan=\"4\" valign=\"top\"><img src=\"images/spacer.gif\" alt=\"\" width=\"49\" height=\"40\" border=\"0\" ></td>");
	document.write("<td width=\"750\" valign=\"top\"><img src=\"images/spacer.gif\" alt=\"\" width=\"1\" height=\"40\" border=\"0\"></td>");
	document.write("</tr>");
	
	document.write("<tr>");
	
	
	var sLinks = "<a href=\"index.html\" class=\"footerlink\">Home</a>&nbsp;|&nbsp;";
	sLinks += "<a href=\"about.html\" class=\"footerlink\">Our Story</a>&nbsp;|&nbsp;";
	sLinks += "<a href=\"contact.html\" class=\"footerlink\">Contact Us</a>&nbsp;|&nbsp;";
	sLinks += "<a href=\"doors.html\" class=\"footerlink\">Custom Cabinet Doors</a>&nbsp;|&nbsp;";
	sLinks += "<a href=\"profiles.html\" class=\"footerlink\">Panel Profiles</a>&nbsp;|&nbsp;";
	sLinks += "<a href=\"lip.html\" class=\"footerlink\">Lip Styles</a><br>";
	sLinks += "<a href=\"stiles.html\" class=\"footerlink\">Stile Profiles</a>&nbsp;|&nbsp;";
	sLinks += "<a href=\"drawers.html\" class=\"footerlink\">Drawer Profiles</a>&nbsp;|&nbsp;";
	sLinks += "<a href=\"mouldings.html\" class=\"footerlink\">Mouldings</a>&nbsp;|&nbsp;";
	sLinks += "<a href=\"kitchenRemodeling.html\" class=\"footerlink\">Kitchen Remodeling</a>&nbsp;|&nbsp;";
	sLinks += "<a href=\"blog\" class=\"footerlink\">Kitchen Remodeling Blog</a>&nbsp;|&nbsp;";
	sLinks += "<a href=\"order_form.html\" class=\"footerlink\">Order Form</a>";
	
/*	document.write("<td>");
	
	document.write("<table align=\"center\" width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
	
	document.write("<tr>");
*/	
	document.write("<td align=\"center\" width=\"750\" valign=\"top\" class=\"footer\">" + sLinks + "</td>");
	/*document.write("<td valign=\"top\"><img src=\"images/spacer.gif\" alt=\"\" width=\"200\" height=\"40\" border=\"0\"></td>");	*/
	document.write("</tr>");

	/*document.write("</table>");
	document.write("</td>");	
	document.write("</tr>");
*/
	document.write("<tr>");
	document.write("<td valign=\"top\"><img src=\"images/spacer.gif\" alt=\"\" width=\"1\" height=\"40\" border=\"0\"></td>");
	document.write("</tr>");
	document.write("</table>");
}

