nav01 = new Image();
nav01.src = "common/nav01.jpg";

nav02 = new Image();
nav02.src = "common/nav02.jpg";

nav03 = new Image();
nav03.src = "common/nav03.jpg";

nav04 = new Image();
nav04.src = "common/nav04.jpg";

nav05 = new Image();
nav05.src = "common/nav05.jpg";

function globalNav(location) {

	homelink = '';
	homeMouse = 'onMouseOver="src=\'common/nav01_over.jpg\';" onMouseOut="src=\''+nav01.src+'\';"'
	servicesMouse = 'onMouseOver="src=\'common/nav02_over.jpg\';" onMouseOut="src=\''+nav02.src+'\';"'
	testimonialsMouse = 'onMouseOver="src=\'common/nav03_over.jpg\';" onMouseOut="src=\''+nav03.src+'\';"'
	contactMouse = 'onMouseOver="src=\'common/nav04_over.jpg\';" onMouseOut="src=\''+nav04.src+'\';"'
	newsMouse = 'onMouseOver="src=\'common/nav05_over.jpg\';" onMouseOut="src=\''+nav05.src+'\';"'

if (location==("home")){
	nav01.src = "common/nav01_on.jpg";
	homeMouse = '';
	}

if (location==("services")){
	nav02.src = "common/nav02_on.jpg";
	servicesMouse = '';
	}

if (location==("testimonials")){
	nav03.src = "common/nav03_on.jpg";
	testimonialsMouse = '';
	}

if (location==("contact")){
	nav04.src = "common/nav04_on.jpg";
	contactMouse = '';
	}

if (location==("news")){
	nav05.src = "common/nav05_on.jpg";
	newsMouse = '';
	}

document.write('<DIV ID="header" STYLE="position:absolute; top:0; left:50%; margin-left:-392; width:785; visibility:visible; z-index:15;">');
document.write('<TABLE width="785" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF>');
document.write('<TR><TD valign=top"><IMG width=785 height=214 SRC="common/header_home.jpg" border=0></TD></TR>');
document.write('<TR bgcolor="#6FA569"><TD valign=top><IMG width=51 height=34 SRC="common/02.jpg" border=0><A HREF="index.html" TARGET="_parent" onMouseOver="window.status=\'Home Page\'; return true;"><IMG width=76 height=34 SRC="'+nav01.src+'" border=0 '+homeMouse+' name="nav01"></A><A HREF="services.html" TARGET="_parent" onMouseOver="window.status=\'Manufacturing Services\'; return true;"><IMG width=159 height=34 SRC="'+nav02.src+'" border=0 '+servicesMouse+' name="nav02"></A><A HREF="testimonials.html" TARGET="_parent" onMouseOver="window.status=\'Testimonials\'; return true;"><IMG width=94 height=34 SRC="'+nav03.src+'" border=0 '+testimonialsMouse+' name="nav03"></A><A HREF="contact.html" TARGET="_parent" onMouseOver="window.status=\'Contact Us\'; return true;"><IMG width=82 height=34 SRC="'+nav04.src+'" border=0 '+contactMouse+' name="nav04"></A><A HREF="news.html" TARGET="_parent" onMouseOver="window.status=\'News\'; return true;"><IMG width=49 height=34 SRC="'+nav05.src+'" border=0 '+newsMouse+' name="nav05"></A><IMG width=276 height=34 SRC="common/03.jpg" border=0></TD></TR></TABLE></DIV>');
}

function StartShell(){
document.write('<DIV ID="main" STYLE="background-color:#E9F1E8; background-image: url(common/bodybk.jpg); background-repeat: repeat-x; background-position: top; position:absolute; top:248; left:50%; margin-left:-392; width:785; visibility:visible; z-index:1;">');
document.write('<TABLE width=785 border=0 cellpadding=0 cellspacing=0><TR><TD width=13 background="common/left.jpg">&nbsp;</TD><TD width=750 valign=top><TABLE cellpadding=0><TR><TD><div style="padding: 30px;"');
}

function StartShellMS(){
document.write('<DIV ID="main" STYLE="background-color:#E9F1E8; background-image: url(common/bodybk.jpg); background-repeat: repeat-x; background-position: top; position:absolute; top:248; left:50%; margin-left:-392; width:785; visibility:visible; z-index:1;">');
document.write('<TABLE width=785 border=0 cellpadding=0 cellspacing=0><TR><TD width=13 background="common/left.jpg">&nbsp;</TD><TD width=750 valign=top><div style="position:absolute; top:0; width:760; height:26; background-image: url(common/submenubk.jpg); z-index:20; padding:0px;"><TABLE cellpadding=1 cellspacing=0><TR><TD width=43>&nbsp\;</TD><TD><span class="submenu"><a href="services.html">Manufacturing Services</a> &nbsp; &nbsp; <a href="equipment.html">Equipment</a> &nbsp; &nbsp; <a href="quality.html">Quality/Compliance</a> &nbsp; &nbsp; <a href="certs.html">Certificates</a></span></TD></TR></TABLE></div><TABLE cellpadding=0><TR><TD><div style="padding: 30px;"');
}

function StartShellCU(){
document.write('<DIV ID="main" STYLE="background-color:#E9F1E8; background-image: url(common/bodybk.jpg); background-repeat: repeat-x; background-position: top; position:absolute; top:248; left:50%; margin-left:-392; width:785; visibility:visible; z-index:1;">');
document.write('<TABLE width=785 border=0 cellpadding=0 cellspacing=0><TR><TD width=13 background="common/left.jpg">&nbsp;</TD><TD width=750 valign=top><div style="position:absolute; top:0; width:760; height:26; background-image: url(common/submenubk.jpg); z-index:20; padding:0px;"><TABLE cellpadding=1 cellspacing=0><TR><TD width=43>&nbsp\;</TD><TD><span class="submenu"><a href="contact.html">Contact Form</a> &nbsp; &nbsp; <a href="faqs.html">FAQs</a> &nbsp; &nbsp; <a href="gettingstarted.html">Getting Started</a></span></TD></TR></TABLE></div><TABLE cellpadding=0><TR><TD><div style="padding: 30px;"');
}



function footer(){
document.write('<DIV ID="footer" STYLE="position:relative;left:50%; margin-left:-392; width:785; visibility:visible; z-index:1;">');
document.write('<TABLE width=785 height=98 border=0 cellpadding=0 cellspacing=0 bgcolor="#ffffff"><TR><TD>');
document.write('<IMG SRC="common/footer.jpg">');
document.write('<DIV STYLE="position:absolute; right:30px; top:18;" >');
document.write('<TABLE><TR><TD>');
document.write('<P class="footertext">');
document.write('1180 East Valencia Drive   &middot;    Fullerton   &middot;   California    &middot;   92831-4627');
document.write('<BR>');
document.write('(714) 738-3775 tel   &middot;   (714) 738-7727 fax   &middot;   <A HREF="mailto:sales@goldenwesttech.com">sales@goldenwesttech.com</A>');
document.write('<BR>');
document.write('<A HREF="http://maps.google.com/maps?f=q&hl=en&q=1180+East+Valencia+Drive,+Fullerton,+CA+92831&ie=UTF8&ll=33.866567,-117.907205&spn=0.022735,0.037251&om=1" target="map">Map / Directions</A>   &middot;   <A HREF="quality.html">Quality Systems</A> &middot; &copy; 2006 Golden West Technology');
document.write('</P>');

document.write('</TD></TR></TABLE>');
document.write('</DIV>');
document.write('</TD></TR></TABLE>');
document.write('</DIV>');
}

function EndShell(){
//document.write('<DIV ID="currentBk" STYLE="position:absolute; top:321; left:50%; margin-left:-375; width:750; visibility:visible; z-index:41;">');
//document.write('<TABLE border=0 cellpadding=0 cellspacing=0 width="750"><TR><TD height=229 valign=top>');
//document.write('<img src="common/current_bk.jpg">');
//document.write('<TABLE width=166 border=0 cellpadding=0 cellspacing=0><TR><TD width=12>&nbsp;</TD>');
//document.write('<TD><BR></TD></TR></TABLE></TD></TR></TABLE></DIV>');
//searchClock();
//footerMap();
//FlyOut();
}
