// JavaScript Document
var statHost = "http://www.bcbsks.com";
if ( location.host.indexOf("bingo") != -1 ) {
	statHost = "http://bingo.bcbsks.com";
}
if ( location.host.indexOf("beta") != -1 ) {
	statHost = "http://beta.bcbsks.com";
}
if ( location.host.indexOf("alpha") != -1 ) {
	statHost = "http://alpha.bcbsks.com";
}
if ( location.host.indexOf("delta") != -1 ) {
	statHost = "http://delta.bcbsks.com";
}
if ( location.host.indexOf("search") != -1 ) {
	statHost = "http://www.bcbsks.com";
}
if ( location.host.indexOf("development") != -1 ) {
	statHost = "http://delta.bcbsks.com";
}
if ( location.host.indexOf("integration") != -1 ) {
	statHost = "http://alpha.bcbsks.com";
}
if ( location.host.indexOf("staging") != -1 ) {
	statHost = "http://beta.bcbsks.com";
}
if ( location.host.indexOf("staging2") != -1 ) {
	statHost = "http://beta2.bcbsks.com";
}
if ( location.host.indexOf("mabarker") != -1 ) {
	statHost = "http://gamma.bcbsks.com";
}
//icims
if ( location.host.indexOf("jobs-ksjobs") != -1 ) {
	statHost = "http://www.bcbsks.com";
}
if ( location.host.indexOf("intranet-ksjobs") != -1 ) {
	statHost = "http://www.bcbsks.com";
}
var header = 
'<div id="SkipNav"><a href="#content">Go to content</a></div>'+
'<div id="Header">'+
	'<div id="Logo">'+
		'<a href="'+ statHost +'/index.htm"><img src="'+ statHost +'/images/BCBSKS_logo.jpg" alt="Blue Cross and Blue Shield of Kansas" width="118" height="30" border="0" /></a>	</div>'+
	'<div id="GlobalNav">'+
		'|&nbsp; <a href="'+ statHost +'/index.htm">Home</a>&nbsp; | &nbsp;<a href="'+ statHost +'/ContactUs/index.htm">Contact Us</a>&nbsp; | &nbsp;<a href="'+ statHost +'/AboutUs/index.htm">About Us</a>&nbsp; | &nbsp;<a href="'+ statHost +'/news/index.htm">News</a>&nbsp; | &nbsp;<a href="'+ statHost +'/ProviderDirectory/index.htm">Provider Directory</a> &nbsp;| </div>'+
	'<div id="SearchBox">'+
		'<form name="google" action="http://search.bcbsks.com/search" style="margin:0px;">'+
		'<input type="hidden" name="site" value="bcbsks_new_prod" />'+
      	'<input type="hidden" name="output" value="xml_no_dtd" />'+
      	'<input type="hidden" name="client" value="bcbsks_new" />'+
      	'<input type="hidden" name="proxystylesheet" value="bcbsks_new" />'+
		'<input type="text" name="q" value="" size="10" maxlength="800" class="SearchField" style="margin: -3px 0 0 0;" />'+
		'<input type="submit" name="Search" value="Search" class="SearchButton" />'+
		//'<input type="button" name="Search" value="Search" class="SearchButton" onclick="document.location.href=\''+ statHost +'/help/search_unavail.htm\'" />'+
		
	'</form>'+
	'</div>'+
'</div>'

document.write(header);