// JavaScript Document
// Bottom of primary page template

	txtBlock = '';

	txtBlock += '<body bgcolor="#3f005e"';

	txtBlock += '<!-- IE6 and earlier warning -->';
	txtBlock += '<!--[if (gte IE 5.5)&(lt IE 7)]>';
	txtBlock += '<p align="center" style="color: #FFF; font-size: 18px; font-weight: bold; line-height: 150%">To ensure this site displays properly, please consider upgrading to<br />';
	txtBlock += 'the latest version of Internet Explorer <a href="http://www.microsoft.com/windows/internet-explorer/worldwide-sites.aspx">here</a>.</p>';
	txtBlock += '<![endif]-->';


	txtBlock += '<table border="0" cellpadding="0" cellspacing="0" width="872" !align="center" style="margin-bottom: 1024px;">';
	txtBlock += '  <tr>';
	txtBlock += '   <td><img src="imgs/ui/spacer.gif" width="35" height="1" border="0" alt="" /></td>';
	txtBlock += '   <td><img src="imgs/ui/spacer.gif" width="15" height="1" border="0" alt="" /></td>';
	txtBlock += '   <td><img src="imgs/ui/spacer.gif" width="523" height="1" border="0" alt="" /></td>';
	txtBlock += '   <td><img src="imgs/ui/spacer.gif" width="74" height="1" border="0" alt="" /></td>';
	txtBlock += '   <td><img src="imgs/ui/spacer.gif" width="103" height="1" border="0" alt="" /></td>';
	txtBlock += '   <td><img src="imgs/ui/spacer.gif" width="72" height="1" border="0" alt="" /></td>';
	txtBlock += '   <td><img src="imgs/ui/spacer.gif" width="50" height="1" border="0" alt="" /></td>';
	txtBlock += '   <td><img src="imgs/ui/spacer.gif" width="1" height="1" border="0" alt="" /></td>';
	txtBlock += '  </tr>';

	txtBlock += '  <!-- masthead -->	';
	txtBlock += '  <tr>';
	txtBlock += '   <td rowspan="3"><img src="imgs/ui/shade_L_1.gif" width="35" height="116" border="0" alt="" /></td>';
	txtBlock += '   <td rowspan="3" colspan="2" bgcolor="#6699cc"><img src="imgs/ui/masthead.gif" width="538" height="116" border="0" usemap="#m_masthead" alt="Helios Kiln Glass Studio" /></td>';
	txtBlock += '   <td colspan="3"><img src="imgs/ui/above_mh_btns.gif" width="249" height="34" border="0" alt="" /></td>';
	txtBlock += '   <td><img name="shade_R_1a" src="imgs/ui/shade_R_1a.gif" width="50" height="34" border="0" alt="" /></td>';
	txtBlock += '   <td><img src="imgs/ui/spacer.gif" width="1" height="34" border="0" alt="" /></td>';
	txtBlock += '  </tr>';
	txtBlock += '  <tr>';
	txtBlock += '   <!-- start masthead buttons -->';
	txtBlock += '   <td bgcolor="#6091C1"><a href="about_directions.htm" id="mhOpen" alt="Studio Hours">Hours</a></td>';
	txtBlock += '   <td bgcolor="#6699cc"><a href="about_directions.htm#directions" id="mhDirections" alt="Directions">Directions</a></td>';
	txtBlock += '   <td bgcolor="#6699cc"><a href="http://www.heliosglass.com/lists/?p=subscribe&id=2" target="_blank" id="mhSignup" alt="Email Sign Up">Sign Up</a></td>';
	// txtBlock += '   <td bgcolor="#6699cc"><a href="list_temp.htm" target="_blank" id="mhSignup" alt="Email Sign Up">Sign Up</a></td>';
	txtBlock += '   <!-- end masthead buttons -->';
	txtBlock += '   <td background="imgs/ui/shade_R_1b.gif"></td>';
	txtBlock += '   <td><img src="imgs/ui/spacer.gif" width="1" height="46" border="0" alt="" /></td>';
	txtBlock += '  </tr>';
	txtBlock += '  <tr>';
	txtBlock += '   <td colspan="3"><img src="imgs/ui/below_mh_btns.gif" width="249" height="36" border="0" alt="" /></td>';
	txtBlock += '   <td><img src="imgs/ui/shade_R_1c.gif" width="50" height="36" border="0" alt="" /></td>';
	txtBlock += '   <td><img src="imgs/ui/spacer.gif" width="1" height="36" border="0" alt="" /></td>';
	txtBlock += '  </tr>';
	txtBlock += '  <tr>';
	txtBlock += '   <td rowspan="2"><img name="shade_L_2" src="imgs/ui/shade_L_2.gif" width="35" height="37" border="0" id="shade_L_2" alt="" /></td>';
	txtBlock += '   <td rowspan="2"><img name="tab_L_marg" src="imgs/ui/tab_L_marg.gif" width="15" height="37" border="0" id="tab_L_marg" alt="" /></td>';
   
	txtBlock += '   <td colspan="4" bgcolor="#6699cc" align="left">';
   
   	
	txtBlock += '			<!-- TAB MENU - PRIMARY -->';
            
	txtBlock += '			<div id="menu">';
	txtBlock += '				<ul>';
	txtBlock += '					<li id="tabHome"><a href="index.htm">Home</a></li>';
	txtBlock += '					<li id="tabProducts"><a href="products.htm">Helios has...</a></li>';
	txtBlock += '					<li id="tabClasses"><a href="classes.htm">Fused Glass Classes</a></li>';
	txtBlock += '					<li id="tabPhotos"><a href="/photos" target="_blank">Photo Album</a></li>';
	txtBlock += '					<li id="tabWhatIs"><a href="whatis.htm">What is Fused Glass?</a></li>';
	txtBlock += '					<li id="tabAbout"><a href="about.htm">About Us</a></li>';
	txtBlock += '				</ul>';
	txtBlock += '			</div>';

	txtBlock += '            <!-- set active tab -->';
	txtBlock += '            <script>';
	txtBlock += '			$("#"+activeTab).addClass("current");';
	txtBlock += '			</script>';

	txtBlock += '   </td>';
	txtBlock += '   <td rowspan="2"><img name="tab_R_marg" src="imgs/ui/tab_R_marg.gif" width="50" height="37" border="0" id="tab_R_marg" alt="" /></td>';
	txtBlock += '   <td><img src="imgs/ui/spacer.gif" width="1" height="31" border="0" alt="" /></td>';
	txtBlock += '  </tr>';
	txtBlock += '  <tr>';
	txtBlock += '   <td colspan="4"><img name="tab_footer" src="imgs/ui/tab_footer.gif" width="772" height="6" border="0" id="tab_footer" alt="" /></td>';
	txtBlock += '   <td><img src="imgs/ui/spacer.gif" width="1" height="6" border="0" alt="" /></td>';
	txtBlock += '  </tr>';


	txtBlock += '  <!-- begin submenu -->';

	if(activeSubTab != "") {

	txtBlock += '  <tr>';
	txtBlock += '   <td colspan="2" style="background:url(imgs/ui/sub_menu_lmarg.gif) repeat-y;"></td>';
	txtBlock += '   <td colspan="4" bgcolor="#ff6600" align="left" style="margin:0; padding:0;">';
	txtBlock += '   <div class="sublinks">';

	txtBlock += '	 <ul>';

	switch(activeTab){
		
	case 'tabClasses':
		txtBlock += '	 <!-- CLASSES & EVENTS SUBMENU -->';
		txtBlock += '	 	<li id="stabClasses"><a href="classes.htm" ><span>Class Catalog</span></a></li>';
		txtBlock += '		<li id="stabCalendar"><a href="classes_schedule.htm"><span>Calendar</span></a></li>';
		txtBlock += '		<li id="stabPackages"><a href="classes_deals.htm"><span>Discounts</span></a></li>';
		txtBlock += '		<li id="stabVisitATX"><a href="classes_visit_austin.htm"><span>Visiting Austin</span></a></li>';
		txtBlock += '		<li id="stabPolicies"><a href="about_policies.htm"><span>Studio Policies</span></a></li>';
		break;

	case 'tabProducts':
		txtBlock += '	 <!-- PRODUCTS SUBMENU -->';
		txtBlock += '	 	<li id="stabProducts"><a href="products.htm" ><span>Helios has...</span></a></li>';
		txtBlock += '		<li id="stabSRental"><a href="classes.htm"><span>Classes</span></a></li>';
		txtBlock += '		<li id="stabOpenStudio"><a href="classes_openstudio.htm"><span>Open Studio</span></a></li>';
		txtBlock += '		<li id="stabSRental"><a href="products_studiorental.htm"><span>Kiln &amp; Studio Use</span></a></li>';
		txtBlock += '		<li id="stabGlass"><a href="products_glass.htm"><span>Glass &amp; Supplies</span></a></li>';
		txtBlock += '		<li id="stabKilns"><a href="products_kilns.htm"><span>Kilns &amp; Tools</span></a></li>';
		txtBlock += '		<li id="stabProjects"><a href="products_projects.htm"><span>Projects</span></a></li>';
//		txtBlock += '		<li id="stabGifts"><a href="products_gifts.htm"><span>Art &amp; Gifts</span></a></li>';
//		txtBlock += '		<li id="stabTBuilders"><a href="classes_tbuilders.htm"><span>Team Builders</span></a></li>';
		break;

	case 'tabWhatIs':
		txtBlock += '	 <!-- WHAT IS FUSED GLASS SUBMENU -->';
		txtBlock += '	 	<li id="stabWhatIs"><a href="whatis.htm" ><span>What is Fused Glass?</span></a></li>';
		txtBlock += '		<li id="stabEMStudio"><a href="whatis_emstudio.htm"><span>Abbott &amp; Leva</span></a></li>';
		txtBlock += '		<li id="stabImmerman"><a href="whatis_immerman.htm"><span>Immerman</span></a></li>';
		txtBlock += '		<li id="stabLeatherbarrow"><a href="whatis_leatherbarrow.htm"><span>Leatherbarrow</span></a></li>';
		txtBlock += '		<li id="stabTarlow"><a href="whatis_tarlow.htm"><span>Tarlow</span></a></li>';
		break;

	case 'tabAbout':
		txtBlock += '	 <!-- ABOUT US SUBMENU -->';
		txtBlock += '	 	<li id="stabAbout"><a href="about.htm" ><span>About Us</span></a></li>';
		txtBlock += '		<li id="stabContact"><a href="about_contact.htm"><span>Contact Info</span></a></li>';
		txtBlock += '		<li id="stabHours"><a href="about_directions.htm"><span>Directions &amp; Hours</span></a></li>';
		txtBlock += '		<li id="stabSignUp"><a href="http://www.heliosglass.com/lists/?p=subscribe&id=2" target="_blank"><span>Sign-up for News!</span></a></li>';
		txtBlock += '		<li id="stabCrew"><a href="about_crew.htm"><span>Studio Crew</span></a></li>';
		txtBlock += '		<li id="stabPolicies"><a href="about_policies.htm"><span>Studio Policies</span></a></li>';
		break;
	}
	
	txtBlock += '	 </ul>';
	
	txtBlock += '	<script>';
	txtBlock += '	$("#"+activeSubTab).addClass("activeSTab");';
	txtBlock += '	</script>';

	txtBlock += '  <!-- end submen -->';
	txtBlock += '	</div>';
	txtBlock += '   </td>';
	txtBlock += '   <td style="background:url(imgs/ui/sub_menu_rmarg.gif) repeat-y;"></td>';
	txtBlock += '   <td><img src="imgs/ui/spacer.gif" width="1" height="22" border="0" alt="" /></td>';
	txtBlock += '  </tr>';

	}

	txtBlock += '  <tr>';
	txtBlock += '   <td><img name="shade_L_3" src="imgs/ui/shade_L_3.gif" width="35" height="22" border="0" id="shade_L_3" alt="" /></td>';

	txtBlock += '   <td style="background:url(imgs/ui/body_L_marg.gif) repeat-y;"></td>';

	txtBlock += '   <td colspan="4" valign="top" bgcolor="white">';
   
	txtBlock += '   <div style="margin: 10px;">';


	document.write(txtBlock);
	txtBlock = '';

