// headerFooter.js 
// getHeader
function getHeader(siteDown){
	var html = '';	
	html += '<div id="wrapper">';
	html += '<div id="header">';
	html += '		<div id="homeDivOn" class="homeDiv"></div>';
	html += '		<div id="homeDivOff" class="homeDiv"></div>';
	html += '	<img src="/hol/images/I-spacer.gif" id="dividerDivLft" class="divider" alt="HOLLISTER CO." />';
	html += '		<div id="dudesDivOn" class="dudesDiv"></div>';
	html += '		<div id="dudesDivOff" class="dudesDiv"></div>';
	html += '		<div id="bettysDivOn" class="bettysDiv"></div>';
	html += '		<div id="bettysDivOff" class="bettysDiv"></div>';
	html += '		<div id="giftCardDivOn" class="giftCardDiv"></div>';
	html += '		<div id="giftCardDivOff" class="giftCardDiv"></div>';
	html += '	<div id="jeansDivOn" class="jeansDiv"></div>';
	html += '	<div id="jeansDivOff" class="jeansDiv"></div>';
	html += '		<a href="/hol/homepage.html" id="homeLink"><img src="/hol/images/I-spacer.gif" id="gn-home" class="homeImg globalNavBtn" alt="HOME" /></a>';
	html += ' 		<a href="/webapp/wcs/stores/servlet/division_' + globalStoreId + '_' + globalCatalogId + '_12551_-1" id="dudesLink"><img src="/hol/images/I-spacer.gif" id="gn-dudes" class="dudesImg globalNavBtn" alt="DUDES" /></a>';
	html += '		<a href="/webapp/wcs/stores/servlet/division_' + globalStoreId + '_' + globalCatalogId + '_12552_-1" id="bettysLink"><img src="/hol/images/I-spacer.gif" id="gn-bettys" class="bettysImg globalNavBtn" alt="BETTYS" /></a>';	
	html += '		<a href="/webapp/wcs/stores/servlet/category1_' + globalStoreId + '_' + globalCatalogId + '_12578_-1_12552" id="giftCardLink"><img src="/hol/images/I-spacer.gif" id="gn-giftCard" class="giftCardImg globalNavBtn" alt="GIFT CARDS" /></a>';	
	html += '	<a href="/hol/flash/jeans/jeans.html" id="jeansLink"><img src="/hol/images/I-spacer.gif" id="gn-jeans" class="jeansImg globalNavBtn" alt="VINTAGE JEANS GUIDE" /></a>';	
	html += '	<div id="rideTheWaveDivOn" class="rideTheWaveDiv"></div>';
	html += '	<div id="rideTheWaveDivOff" class="rideTheWaveDiv"></div>';	
	html += '	<a href="http://www.hcoridethewave.com" target="new"><img src="/hol/images/I-spacer.gif" id="gn-rideTheWave" class="rideTheWaveImg globalNavBtn" alt="HCo RIDE THE WAVE.COM" /></a>';
	html += '	<img src="/hol/images/I-spacer.gif" id="dividerImg" class="divider" alt="HOLLISTER CO." />';
	html += '		<div id="clubRoomDivOn" class="clubRoomDiv"></div>';
	html += '		<div id="clubRoomDivOff" class="clubRoomDiv"></div>	';					
	html += '		<a href="/hol/flash/club_room/clubroom.html"><img src="/hol/images/I-spacer.gif" id="gn-clubRoom" class="clubRoomImg globalNavBtn" alt="CLUB ROOM" /></a>';
	html += '		<div id="hcoEmailDivOn" class="hcoEmailDiv"></div>';
	html += '		<div id="hcoEmailDivOff" class="hcoEmailDiv"></div>';
	html += '		<a href="javascript:HTB.getFadeUp(\'hcoEmailFadeUp\');"><img src="/hol/images/I-spacer.gif" id="gn-hcoEmail" class="hcoEmailImg globalNavBtn" alt="HCO EMAIL" /></a>';
	html += '</div>';
	html += '<div id="frameTopDS"></div>';
	if(!siteDown){
		html += '<a href="/webapp/wcs/stores/servlet/InterestItemDisplay?storeId='+globalStoreId+'&langId=-1&catalogId='+globalCatalogId+'" id="wishListLink">My Wish List</a>';
		html += '<a href="/webapp/wcs/stores/servlet/OrderItemDisplay?langId=-1&storeId='+globalStoreId+'&catalogId='+globalCatalogId+'&orderId=.&cm_ven=minicart&cm_cat=checkout&cm_pla=checkout&cm_ite=checkout" id="miniCartLink">';
		html += '<span id="myBagSpan">';
		html += '	My Bag - <span id="cartQuantity"></span>&nbsp;Items: <span id="cartAmount"></span>';
		html += '</span>';
		html += '<span id="itemAddedSpan">';
		html += '	Item Added To Your Bag';
		html += '</span>';
		html += '</a>';
		html += '<div id="cartContainer">';
		html += '<div id="cartContent">';
		html += '<div id="minicartlist">';
		html += '</div>';
		html += '	<img src="/hol/images/I-minicartBottom.png" id="mc-ds-bottom" />';
	}
	html += '</div>';
	html += '</div>';
		
	
	document.write(html);
}

function getFooter(){
	var html = '';
	html += '<div id="frameBotDS"></div>';
	html += '<div id="footer">';
	html += '		 <a href="/storelocator/basicSearchHCO.jsp?storeId='+globalStoreId+'" class="footerNav">STORES</a>';
	html += '		 <span>|</span>';
	html += '		 <a href="/webapp/wcs/stores/servlet/OrderTracking?storeId='+globalStoreId+'&langId=-1&catalogId='+globalCatalogId+'" class="footerNav">ORDER TRACKING</a>';
	html += '		 <span>|</span>';
	html += '		 <a href="javascript:HTB.getFadeUp(\'oppFDC\');" class="footerNav">OPPORTUNITIES</a>';
	html += '		 <span>|</span>';
	html += '		 <a href="/hol/help_privacy.html" class="footerNav">PRIVACY POLICY</a>';
	html += '		 <span>|</span>';
	html += '		 <a href="javascript:HTB.getFadeUp(\'CAprivacyFDC\');" id="footerNav-caPrivRight" class="footerNav">CA. PRIVACY RIGHTS</a>';
	html += '		 <span id="footerNav-caPrivRightDivider">|</span>';
	html += '		 <a href="/hol/site_use.html" class="footerNav">SITE USE</a>';
	html += '		 <span>|</span>';
	html += '		 <a href="/webapp/wcs/stores/servlet/Feedback?storeId=' + globalStoreId + '&catalogId=' + globalCatalogId + '&langId=-1" id="footer-ContactUs" class="footerNav contactUsLink">CONTACT US</a>';
	html += '		 <span>|</span>';
	html += '		 <a href="/hol/help_home.html" class="footerNav">HELP</a>';
	html += '		 <br/>';
	html += '	</div>';
	html += '</div> ';
	document.write(html);
}

document.write('<div id="oppFDC" class="fadeUpContent">');
	document.write('<h1>OPPORTUNITIES</h1>');
	document.write('Few companies rival Hollister\'s brand-powered momentum, and our success is founded in the excellence of our employees. We are always looking for hard working people to join us. For details about store ');
	document.write('employment as well as home office job opportunities, please visit the <a href="http://www.abercrombie.com/anf/hr/jobs/careers.html" onclick="HOL.launchOpps()" target="jobs" /><u>career site</u></a>.<br/><br/>');
	document.write('EMAIL RESUMES TO<br/>');
	if (HTB.readCookie('hol-country') == 'CA'){
		document.write('jobs@hollisterco.ca');
	}else{
		document.write('jobs@hollisterco.com');
	}
	document.write('<br/> (please specify position that you\'re<br/>applying for in the subject line)');
	document.write('<br/><br/>MAIL RESUMES TO<br/>Human Resources<br/>P.O. Box 182168<br/>Columbus, OH 43218<br/><br/>FAX RESUMES TO<br/>614.283.6710<br/><br/><br/>');
document.write('</div>');
document.write('<div id="CAprivacyFDC" class="fadeUpContent">');
	document.write('<h1>YOUR CALIFORNIA PRIVACY RIGHTS</h1>');
	document.write('HollisterCo collects various types of personal information about you, both online and offline, during the course of our business relationship.  Under California law, if you are a resident of California, you may make a written request to HollisterCo about how we have shared your personal information during the prior calendar year with third parties for their direct marketing purposes.  In response to your written request, HollisterCo is allowed to provide you with a cost-free means to opt-out of such sharing.<br/><br/>');
	document.write('HollisterCo has chosen to provide you with a cost-free means to opt-out of such sharing, which you can accomplish by completing our Third Party Direct Marketing Opt-Out Form.  If you would like to instruct us to no longer share your personal information with third parties who will use it for direct marketing purposes, please click on the following link <a href="/hol/HCo_Opt_Out.pdf" target="_blank">California Rights Form</a>, print and complete the Third Party Direct Marketing Opt-Out Form and mail it to the following address:<br/><br/>');
	document.write('Customer Service<br/>');
	document.write('Hollister Co.<br/>');
	document.write('PO Box 1695<br/>');
	document.write('Santa Monica, CA 90406<br/>');
	document.write('If you have any questions about this opt-out procedure, please write to the address provided above.<br/>');
	document.write('<h2>HollisterCo.com Online Privacy Policy:</h2>');
	document.write('If you would like to know what information is gathered about you online when you visit HollisterCo.com, and how it is used, you may review the <a href="/hol/help_privacy.html">HollisterCo.com Privacy Policy</a>.<br/><br/><br/>');
document.write('</div>');


document.write('	<div id="hcoEmailFadeUp" class="fadeUpContent">');
document.write('		<div id="hcoEmail">'); 
document.write('			<div id="hcoEmailContent">');
document.write('				<div id="emailFDCinner">');
document.write('					<span class="styinth">WANT TO STAY IN TOUCH?</span><br/>');
document.write('					<span id="emailSignupMessage">Enter your email to receive weekly updates!</span><br/>');
document.write('					<form name="hcoEmailForm" id="hcoEmailForm" action="/webapp/wcs/stores/servlet/MailSubscription" method="post">');
document.write('						<input type="hidden" name="aid" value="318915878" />');
document.write('						<input type="hidden" name="sub" value="328600641" />');
document.write('						<input type="hidden" name="unsub" value="" />');
document.write('						<input type="hidden" name="resub" value="3" />');
document.write('						<input type="hidden" name="a" value="0" />');
document.write('						<input type="hidden" name="catalogId" value="10201" />');
document.write('						<input type="hidden" name="storeId" value="' + globalStoreId + '" />');
document.write('						<input type="hidden" name="languageId" value="-1" />');
document.write('						<input type="hidden" name="URL" value="/hol/blank1.html" />');
document.write('						<input type="hidden" name="email" value="" />');
document.write('						<input type="hidden" name="logonId" value="" />');
document.write('						<input type="hidden" name="COUNTRY" value="'+HTB.readCookie('hol-country')+'" />');
document.write('						<input name="hcoEmailAddress" class="hcoEmailInput" id="hcoEmailAddress" class="validate emailInput" type="text" value="youremail@domain.com" size="22" maxlength="50" /><span id="hcoEmailError" class="hcoEmailErrorMsg">*Invalid Email</span><br/>');
document.write('						<img src="/hol/images/B-Submit-b.jpg" class="onoff" id="hcoEmailSubmit" />');
document.write('					</form>');
document.write('					<a href="/hol/help_privacy.html" class="privacyPolicyLinkRadio">Privacy Policy</a>');
document.write('				</div>');
document.write('			</div>');
document.write('		</div>');
document.write('	</div>');