 var hostName=window.location.hostname; 
 //var host=window.location.host+':8080'; 
document.write('<link href="http://'+hostName+'/styles/default.css" rel="stylesheet" type="text/css" />');
document.write('<link rel="shortcut icon" href="http://'+hostName+'/images/favicon.ico" />');
document.write('<body>');
document.write('<div class="wrapper">');
document.write('<div class="header">');
document.write('<div class="forma">');
document.write('<form name="AffLoginForm" method="post" action="http://'+hostName+'/affiliates/affiliate.xgi?method=authenticateUser">');
document.write('<input name="submit" value="Y" type="hidden" />');
document.write('<div class="error" align="left"><span id="errorMsg" class="errorMsg"></span></div>');
document.write('<div class="user" align="left"><span class="signin">Login Name:</span></div>');
document.write('<label><input name="loginName" type="text" class="login_input" id="loginName" size="20" /></label>');
document.write('<div class="user" align="left"><span class="signin">Password:</span></div><label>');
document.write('<input name="password" type="password" class="login_input" id="password" size="20" /></label><br />');
document.write('<a href="http://'+hostName+'/affiliates/affiliate.xgi?method=handleForgotPassword" class="forgotlnk">Forgot Password?</a><br />');
document.write('<input name="login" style="float:right; margin-right:5px;" type="submit" class="signin" id="login" onClick="javascript:return submitLogin();" value="Login"/>');
document.write('</form>');
document.write('</div>');
document.write('</div>');
document.write('<div class="menu1" align="center">');
document.write('<div class="HeaderBg"><div class="Header_1"><div class="home_2"><a href="http://'+hostName+'/" title="Home">Home</a></div>');
document.write('  </div>');
document.write('  <div class="Header_2">');
document.write('<div class="AboutUs_1"><a href="http://'+hostName+'/about-us.html" title="About Us" >About Us</a></div>');
document.write('</div>');
document.write('	   <div class="Header_2">');
document.write('<div class="Promotions_1"><a  href="http://'+hostName+'/promotions.html" title="Promotions">Promotions</a></div>');
document.write(' </div>');
document.write('<div class="Header_2">');
document.write(' <div class="MarketingTools_1"><a href="http://'+hostName+'/marketing-tools.html" title="Marketing Tools" >Marketing Tools</a></div>');
document.write('	  </div>');
document.write('	   <div class="Header_2">');
document.write('	  		<div class="Commissions_1"><a href="http://'+hostName+'/commissions.html" title="Commissions" >Commissions</a></div>');
document.write('	  </div>');
document.write('	   <div class="Header_2">');
document.write('	  		<div class="Brands_1"><a href="http://'+hostName+'/brands.html" title="Brands" >Brands</a></div>');
document.write('	  </div>');
document.write('	   <div class="Header_2">');
document.write('<div class="Faq_2"><a href="http://'+hostName+'/faq.html" title="FAQ" >FAQ</a></div>');
document.write('	  </div>');
document.write('	   <div class="Header_2">');
document.write('<div class="JoinNow_1"><a href="http://'+hostName+'/affiliates/affiliate.xgi?method=loadJoinNow" title="Join Now" >Join Now</a></div>');
document.write('</div>');
document.write('	   <div class="Header_2">');
document.write('<div class="ContactUs_1"><a href="http://'+hostName+'/affiliates/contactus.xgi?method=loadContactUs" title="Contact Us" >Contact Us</a></div>');
document.write('	  </div>');
document.write('	</div>');
document.write('</div>');
document.write('<div class="logo">');
document.write('<embed src="http://'+hostName+'/images/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="239"></embed>');
document.write('</div></div>');

