//////////
// print_general includes print this page subroutines for insinkerator.com
// v1.0
// 

  function swapStyle(theHref) {
 	//var myurl=self.location.href;
	var sOption="toolbar=yes,location=no,directories=yes,menubar=no,scrollbars=yes,width=750,height=600,left=100,top=25"; 
	
	var  sHeadline = document.getElementById('headline').innerHTML;
	var  sPageText = document.getElementById('textpage').innerHTML; 
	var  sTitle=document.title;
	var  sUrl=document.location;

	var winprint=window.open("","",sOption); 
	   winprint.document.open(); 
	   winprint.document.write("<html><head><link rel=\"stylesheet\" type=\"text/css\" href=\"/styles_print.css\" ><title>"+sTitle+"</title></head><body bgcolor=\"#FFFFFF\" topmargin=\"0\" leftmargin=\"5\" rightmargin=\"0\" marginheight=\"0\" marginwidth=\"0\">"); 
	   winprint.document.write("<center><table width=\"95%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td valign=\"top\"><table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"95%\" class=\"textpage\" >");
	   winprint.document.write("<tr><td width=150 align=\"left\" ><img src=\"/images/logo2.gif\" alt=\"In-Sink-Erator\" width=\"156\" height=\"80\" border=\"0\"><BR></td><td align=left >&nbsp;&nbsp;&nbsp;<strong>");
	   winprint.document.write(sTitle);
	   winprint.document.write("</strong></td><td align=\"right\" ><strong><strong><a href=\"javascript:window.print();\">Print</a>&nbsp;|&nbsp;<a href=\"javascript:window.close();\">Close</a></strong></td></tr></table>");
	   winprint.document.write("<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\" ><tr><td height=\"2\" align=\"left\" valign=\"top\" bgcolor=\"000000\"></td></tr></table><BR><BR>");
	   winprint.document.write("<div class=\"textpage\"><strong><br>");
	   winprint.document.write(sHeadline); 
	   winprint.document.write("</strong><br><br>");
	   winprint.document.write(sPageText);  
	   winprint.document.write("<BR><br><br><strong>Reprinted from:<BR>");
	   winprint.document.write(sUrl);
	   winprint.document.write("</strong><BR><BR><hr color=\"#000000\" size=\"2\"><BR><font size=1>© 2006 In-Sink-Erator.<BR>www.insinkerator.com</font><BR><BR></div></td></tr></table>");        
	   winprint.document.write("</center></body></html>"); 
	   winprint.document.close(); 
	   winprint.focus(); 
	
	return false; //cancels link action
 }

function navlink(navlink)
{

            switch (navlink) 

            { 

		//============================
		// MISC
		//============================ 
	       case "whyWeDid" : 

                  location.href = "/disposers/sound_demonstration.shtml"; 
                  break; 
               
	       case "techVideos" : 

                  location.href = "/disposers/tech_vid.php"; 
                  break; 

               case "tvComm" : 

                  location.href = "/disposers/commercial_vid.php"; 
                  break; 
	
		//============================
		// House Hold Products
		//============================ 
	      
	      case "InstallTutorial" : 

                  location.href = "/service/install_disposer.html"; 
                  break; 
               
	       case "hhDisposers" : 

                  location.href = "/disposers/index.shtml"; 
                  break; 

               case "hotWaterDisp" : 

                  location.href = "/dispensers/index.shtml"; 
                  break; 

		//============================
		//Evolution Series
		//============================

               case "evolution" : 

                  location.href = "/isejsp/product/selector.jsp"; 
                  break; 

               case "evoSepticMain" : 

                  location.href = "/isejsp/product/product.jsp?id=205&template=hhd"; 
                  break; 

               case "prodpg_excel" : 

                  location.href = "/isejsp/product/product.jsp?id=206&template=hhd"; 
                  break;  

               case "prodpg_essential" : 

                  location.href = "/isejsp/product/product.jsp?id=202&template=hhd"; 
                  break; 

               case "prodpg_septic" : 

                  location.href = "/isejsp/product/product.jsp?id=205&template=hhd"; 
                  break; 

               case "prodpg_ccontrol" : 

                  location.href = "/isejsp/product/product.jsp?id=204&template=hhd"; 
                  break; 

               case "prodpg_compact" : 

                  location.href = "/isejsp/product/product.jsp?id=203&template=hhd"; 
                  break;

		//============================
		//Evolution Accessories
		//============================
               case "accessories_excel" : 

                  location.href = "/isejsp/product/product.jsp?id=206&template=hhd#tabs"; 
                  break; 

               case "accessories_essential" : 

                  location.href = "/isejsp/product/product.jsp?id=202&template=hhd#tabs"; 
                  break;  

               case "accessories_septic" : 

                  location.href = "/isejsp/product/product.jsp?id=205&template=hhd#tabs"; 
                  break; 

               case "accessories_ccontrol" : 

                  location.href = "/isejsp/product/product.jsp?id=204&template=hhd#tabs"; 
                  break; 

               case "accessories_compact" : 

                  location.href = "/isejsp/product/product.jsp?id=203&template=hhd#tabs"; 
                  break; 


		//============================
		//Business Partners
		//============================

 		   case "busPart_ISEReps" : 

                  location.href = "/businesspartners/reps.html"; 
                  break; 

               case "busPart_proCircle" : 

                  location.href = "/procircle/index.html"; 
                  break; 

               case "busPart_builders" : 

                  location.href = "/businesspartners/builders/index.html"; 
                  break;  

		//============================
		// Food Service Hot Water Systems
		//============================

               case "comHotWaterSystms" : 

                  location.href = "/foodservice/hotwater.shtml"; 
                  break;  

 	      case "comUltraSystms" : 

                  location.href = "/isejsp/product/product.jsp?id=40&template=c"; 
                  break; 

               case "comCompctHotWater" : 

                  location.href = "/isejsp/product/product.jsp?id=42&template=c"; 
                  break;

               case "comHotWaterDis" : 

                  location.href = "/foodservice/hotwater.shtml"; 
                  break;  

               case "comDisposers" : 

                  location.href = "/foodservice/disposers.shtml"; 
                  break;


		//============================
		// Food Service Disposers
		//============================ 


               case "fdSrvDisLC50" : 

                  location.href = "/isejsp/product/product.jsp?id=26&template=c"; 
                  break;  

 	       case "fdSrvDisSS50" : 

                  location.href = "/isejsp/product/product.jsp?id=35&template=c"; 
                  break; 

               case "fdSrvDisSS75" : 

                  location.href = "/isejsp/product/product.jsp?id=37&template=c"; 
                  break;

               case "fdSrvDisSS100" : 

                  location.href = "/isejsp/product/product.jsp?id=29&template=c"; 
                  break;  

               case "fdSrvDisSS125" : 

                  location.href = "/isejsp/product/product.jsp?id=31&template=c"; 
                  break;

               case "fdSrvDisSS150" : 

                  location.href = "/isejsp/product/product.jsp?id=32&template=c"; 
                  break;  

 	       case "fdSrvDisSS200" : 

                  location.href = "/isejsp/product/product.jsp?id=33&template=c"; 
                  break; 

               case "fdSrvDisSS300" : 

                  location.href = "/isejsp/product/product.jsp?id=34&template=c"; 
                  break;

               case "fdSrvDisSS500" : 

                  location.href = "/isejsp/product/product.jsp?id=36&template=c"; 
                  break;  

               case "fdSrvDisSS750" : 

                  location.href = "/isejsp/product/product.jsp?id=38&template=c"; 
                  break;

               case "fdSrvDisSS1000" : 
	                 location.href = "/isejsp/product/product.jsp?id=30&template=c"; 
    	              break;


			//============================
			// Food Service
			//============================ 
			case "comPulpers" : 
				location.href = "/foodservice/pulper.shtml"; 
				break; 
			
			case "foodService" : 
				location.href = "/foodservice/index.shtml"; 
				break;  
			
			case "comPulperWX300" : 
				location.href = "/isejsp/product/product.jsp?id=44&template=c"; 
				break; 
			
			case "comPulperWX200" : 
				location.href = "/isejsp/product/product.jsp?id=43&template=c"; 
				break;
	
			//============================
			// Default
			//============================ 
			default : 
				location.href = "/"; 
	}           

}


