/* This code inserts default elements into a standard page
(1) Stat Counter
(2) Top Panel with Search Bar
(3) Navigation Panel
*/

// Insert StatCounter Code
// =======================
// Define variables
var sc_project=1186861; 
var sc_invisible=1; 
var sc_partition=10; 
var sc_security="bc0806a2"; 

// Insert the script from StatCounter home page
document.write('<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script>');
// Handle browers that have javascript turned off
document.write('<noscript>');
document.write('<a href="http://www.statcounter.com/" target="_blank">');
document.write('<img src= "http://c11.statcounter.com/counter.php?sc_project=1186861&java=0&security=bc0806a2&invisible=1" alt="website statistics" border="0"></a>');
document.write('</noscript>');

/* Insert top panel and search bar*/
//=================================

/* Identify the object as a member of the "toppanel" class */
document.write('<div class="toppanel">');

	/* Start searchbar code
	----------------------*/
	document.write('<span class="searchBar">');

		/* Variables used in determining browser type below*/
		var ua   = window.navigator.userAgent;
		var msie = ua.indexOf("MSIE ");

		/*If not MSIE insert a CR*/
		if (msie <=0 )
		{
			document.write('<br>');
		}

		document.write('Enter the word or expression to search for then click "Site Search".');

		/*If not MSIE insert a blank line*/
		if (msie <=0 )
		{
			document.write('<br><br>');
		}

		document.write('<form method="get" action="http://starcraftcustombuilders.com/search.results.htm" target="_top">');

		document.write('<input type="hidden" name="domains" value="starcraftcustombuilders.com"></input>');
		document.write('<input type="text" class="textfield" name="q" maxlength="255" value="" id="sbi">');
		document.write("&nbsp;");
		document.write('<input type="image"  name="sa" src="/images/search.png" style="vertical-align:middle" id="sbb">');
		document.write("&nbsp;");
		document.write('<a href="searchhelp.htm" accesskey="H" rel="help" taget="_blank" >');
		document.write('<img src="/images/help.png" alt="help button" border=0 style="vertical-align:middle"></a>');

		document.write('<input type="hidden" name="sitesearch" value="" id="ss0"> </input>');
		document.write('<input type="hidden" name="sitesearch" value="starcraftcustombuilders.com" checked id="ss1"></input>');

		document.write('<input type="hidden" name="client" value="pub-2587501670346134"></input>');
		document.write('<input type="hidden" name="forid" value="1"></input>');
		document.write('<input type="hidden" name="ie" value="ISO-8859-1"></input>');
		document.write('<input type="hidden" name="oe" value="ISO-8859-1"></input>');
		document.write('<input type="hidden" name="safe" value="active"></input>');
		document.write('<input type="hidden" name="cof"');
		document.write('	value="GALT:#0066CC;GL:1;DIV:#999999;VLC:990000;AH:center');
		document.write('  		;BGC:FFFFEE;LBGC:FFFFEE;ALC:0066CC;LC:0066CC;T:000000;GFNT:CCCCCC;GIMP:6666ff;FORID:11"></input>');
		document.write('<input type="hidden" name="hl" value="en"></input>');

		document.write('</form>');

	document.write('</span>');
	/*End of search bar code*/

// End of toppanel class //
document.write('</div>');

/* Print header that does not display on the screen */
document.write('<div align="center" id="noscreen">');
	document.write('<span class="centered">');
	document.write('<span class="h1">');
	document.write('StarCraft Custom Builders <br>');
	document.write('<span class="h4">');
	document.write('P. O. Box 80265, Lincoln, NE 68501 <br>');
	document.write('402-871-5301 866-393-5886 <br>');
	document.write('<br><br>');
	document.write('</span>'); //h4
	document.write('</span>'); //h1
	document.write('</span>'); //centered
document.write('</div>');  //noscreen

/*
=======================================================================================================================
LeftPanel

is the navigation panel on the left edge of the page. Its width is fixed at about 200 px.  IE and Navigator
display widths differently so adjustment is made in the code.  This java script code writes the Navigation panel HTML code.  The Javascript code is contained in leftpanel.js and replaces the former navigation.js.
=======================================================================================================================*/
// Make the LeftPanel invisible to the printer//
document.write('<div id="noprint">');

	// Identify this object as a member of the LeftPanel class //
	document.write('<span class="leftpanel">');

		document.write('<div style="text-align:center">');
		
			/*Start of This Old House*/
			document.write('<h5 class="reversetext" style="display:inline">We proudly sponser</h5>');
			document.write('<br>');
			document.write('<a class="filterimage" href="http://www.thisoldhouse.com"><img align="center" alt="This Old House" border="O" src="images/ThisOldHouseLogo.jpg"></a>');
			document.write('<br>');
			document.write('<h5 class="reversetext" style="display:inline; font-size:80%">');
			document.write("on Nebraska's PBS Station</h5><br>");
			document.write('<h5 class="reversetext" style="display:inline">');			
			document.write("<a class='filterimage' href='http://netnebraska.org/'>");
			document.write("<img src='/images/net.png' alt='NET TV' style='width:75px'> </a></h5>");
			document.write('<br>');
			document.write('<h5 class="reversetext" style="display:inline; font-size:80%">');
			document.write('See your local listings for show times in your area.</h5>');
			document.write('<br>');
		
		document.write('</div>');
		/*End of This Old House*/

		/* Horizontal Line */
		document.write('<hr class="hrreverse">');

		/* Start main selection menu */
		document.write('<span class="h2rev">I would like a new...</span>');
		document.write("<ul>");
		document.write('<li><a href="kitchen.htm">Kitchen</a></li>');
		document.write('<li><a href="bath.htm">Bath</a></li>');
		document.write('<li><a href="addition1.htm">Addition</a></li>');
		document.write('<li><a href="builtin.htm">Furniture/Built-In</a></li>');
		document.write('<li><a href="closet.htm">Closet/Storage</a></li>');
		document.write('<li><a href="home.office.htm">Home Office</a></li>');
		document.write('<li><a href="deck.handbook.htm">Deck/Porch</a></li>');
		document.write('<li><a href="garage.htm">Garage/Outbuilding</a></li>');
		document.write('<li><a href="http://www.sandcreekpostandbeam.com">Post & Beam</a></li>');
		document.write('<li><a href="commercial.htm">Commercial Building</a></li>');
		document.write("</ul>");
		/* End main selection menu */
	
		/* Horizontal Line */
		document.write('<hr class="hrreverse">');
	
		/* Start second selection menu */
		document.write('<span class="h3rev"><img src="images/New.png" align="right" alt="New" width="50px"> Articles</span>');
		document.write("<ul>");
		document.write('<li><a href="articlesalpha.htm">Alphabetical List</a></li>');
		document.write('<li><a href="articleslist.htm">Topical List</a></li>');
		document.write("</ul>");
		/* End second selection menu */

		/* Horizontal Line */
		document.write('<hr class="hrreverse">');
	
		/* Start About Us menu */
		document.write('<span class="h3rev">About Us</span>');
		document.write('<ul>');
		document.write('<li><a href="index.html">Home</a></li>');
		document.write('<li><a href="designbuilder.htm">Design-Builder</a></li>');
		document.write('<li><a href="warranties.htm">Warranties</a></li>');
		document.write('<li><a href="contactus.htm" target="_blank">Contact Us</a></li>');
		document.write('</ul>');
		/* End About Us menu */

		/* Horizontal Line */
		document.write('<hr class="hrreverse">');

		/* Start Addiliations Display */
		document.write('<span class="h3rev">Affiliations</span>');
	
		/* BBB */
		document.write('<div align="center" style="line-height:110%">');
		
			document.write('<h5 class="reverse" style+"text-align:center">');
			document.write('Honor Roll Member of the Better Business Bureau.');
			document.write('<br><br>');
			document.write('<a class="filterimage" href="http://www.bbbonline.org/cks.asp?id=1051110105347"><img alt="Go to BBB Reliability Program" border="0" id="BBB" src="images/Left_Panel/BBBLogo.gif"></a>');
			document.write('<br><br>');
			document.write('BBB Acredited Business');
			document.write('<br><br>');
			document.write('<a class="filterimage" href="http://www.bbbonline.org/cks.asp?id=1051110105347"><img alt="Go to BBB Web Site" border="0" id="BBBAcredited" src="images/Left_Panel/BBBAcreditedBusiness.png"></a>');
			document.write('<br><br>');
			document.write('We adhere to and strongly support the ethical standards required of BBB member businesses. <br>'); 
			document.write('For more information, please contact<br>');
			document.write('<a href="http://www.lincoln.bbb.org">BBB of Nebraska</a><br>');
			document.write('3633 O Street, Ste. 1<br>');
			document.write('Lincoln, NE 68510-1670<br>');
			document.write('(402) 436-2345');
			document.write('<br><br>');
		
			/* Horizontal Line */
			document.write('<hr class="hrreverse">');
		
			/*NARI*/
			document.write('<br>');
			document.write('<a class="filterimage" href="http:///www.nari.org"><img alt="NARI logo" id="NARI" src="images/Left_Panel/NARI.jpg" width="120px"></a>');
			document.write('<br><br>');
			document.write('Member of the <br> <a href="http:///www.nari.org">National Association of the Remodeling 	Industry</a>.');
			document.write('<br>');
			document.write('NARI members adhere to a strict code of ethics and standards of practice.'); 
			document.write('<br><br>');
				
			/* Horizontal Line */
			document.write('<hr class="hrreverse">');
		
			/*NKBA*/
			document.write('<br>');
			document.write('<a class="filterimage" href="http:///www.nkba.com"><img alt="National Kitchen and Bath Association" id="NKBA" src="images/Left_Panel/NKBA.jpg" width="95%"></a>');
			document.write('<br><br>');
			document.write('Member of <br> <a href="http:///www.nkba.com">The National Kitchen &amp; Bath Association</a>');

			/* End of Afficliations */

			/* Separate horizontal line not needed since h5 has its own underline */
			document.write('<br><br></h5><br>');
		
		document.write('</div>');

		/* Copyright Notice */
		document.write('<p class="t14" align="center">');
			document.write('<b>');
			document.write('Copyright &copy;');
			document.write(getThisYear());
			document.write("<br>");
			document.write('StarCraft Custom Builders<br>');
			document.write('P. O. Box 80265<br>');
			document.write('Lincoln, NE 68501-0265<br>');
			document.write('All Rights Reserved');
			document.write('<br><br>');
			document.write('By accessing this web site, you agree to our <br> <a href="TermsofService.htm">Terms of Service</a>.');
			document.write('</b>');
		document.write('</p>');

	// End of LeftPanel Class //
	document.write('</span>');

/* End of NoPrint ID */
document.write('</div>');
