function printPreview(){
	var locn = window.location.pathname;
	var qs = window.location.search;
	if (qs != "") {
		locn = locn + qs;
	}
	window.open(locn);
	return (true);
}
// This function replaces characters to be displayed back to the browser with xss safe characters
function removeSpecialChars(input) {
var output = "";
var char="";
for (count = 0 ; count < input.length ; count ++) {
	switch (input.charAt(count)) {
		case "<":
			output = output + "&#60";
			break;
		case ">":
			output = output + "&#62";
			break;
		case '"':
			output = output + "&#34";
			break;
		case "'":
			output = output + "&#39";
			break;
		case ")":
			output = output + "&#41";
			break;
		case "(":
			output = output + "&#40";
			break;
		case "+":
			output = output + "&#43";
			break;
		case "&":
			output = output + "&#38";
			break;
		case ";":
			output = output + "&#59";
			break;
		default:
			output = output + input.charAt(count);
			break;
	}
}
return output;
} // End removeSpecialChars(input)

//link vars
lpn_Key = ['@cm-cif@','@cm-c@','@cm-l@','@cm-pt@','@cm-i@','@cm-ch@'];
lpn_Value = ['cu','gx','eng','','',''];
ssl = '';
var domain='';
var domain_imagessl='wspolne';
// These are the page configuration parameters
var topNavVersion='ghp2';
var sections=['0'];
var lang = 'eng';
var languageIdentifiers=['eng'];
var languageNames=['English'];
var languageURLs=['/'];
var section='0';
var country='gx';
var configVal = 0;
var css = 'bordeaux';
var hideTopNav = 0;
if ( ( configVal - 128 ) >= 0 ){
   var hideTopNav = 1;
   configVal -= 128;
}
var hideTabMenu = 0;
if ( ( configVal - 64 ) >= 0 ){
   hideTabMenu = 1;
   configVal -= 64;
}
var hideSearchBox = 0;
if ( ( configVal - 32 ) >= 0 ){
   hideSearchBox = 1;
   configVal -= 32;
}
var hideCountryBox = 0;
if ( ( configVal - 16 ) >= 0 ){
   hideCountryBox = 1;
   configVal -= 16;
}
var hideLPN = 0;
if ( ( configVal - 8 ) >= 0 ){
   hideLPN = 1;
   configVal -= 8;
}
var hideLang = 0;
if ( ( configVal - 4 ) >= 0 ){
   hideLang = 1;
   configVal -= 4;
}
// Hide language option 1 - Hide on all pages
if ("0"=="1"){
	hideLang = !hideLang;
}
// Hide language option 2 - Hide on all pages, except home page
if ("0"=="2"){
	if ("ghp2"!="ghp2" && "ghp2"!="htmlhp2"){
		hideLang = !hideLang;
	}
}
var hideGHPLink = 0;
if ( ( configVal - 2 ) >= 0 ){
   hideGHPLink = 1;
   configVal -= 2;
}
var hideSFLogo = 0;
if ( configVal == 1 ){
   hideSFLogo = 1;
}
//This processes LPN URLs
function lpnLink( url ){
	if( url == null ){
		return( "" );
	}
	if( url == "" ){
		return( "" );
	}
	urlTxt = new String( url );
	for( i = 0; i <= lpn_Key.length-1; i++ ){
		if( lpn_Key[ i ] == urlTxt ) {
			urlTxt = lpn_Value[ i ];
			break;
		}
		splitUrl = urlTxt.split( lpn_Key[ i ] );
		urlTxt = splitUrl.join( lpn_Value[ i ] );
	}
	return( urlTxt );
}
//This processes URLs
function link( url ){
	if( url == null ){
		return( "" );
	}
	if( url == "" ){
		return( "" );
	}
	if( domain =="" ){
		return( url );
	}
	if( url.charAt( 0 ) == "/" ){
		return( domain + url );
	}
	return( url );
}

function pageTools(){
	document.writeln( "<div class='pageTools'>" );
	pageToolsPrinterFriendly();
	pageToolsEmailPage();
	document.writeln( "</div>" );
}
function pageToolsPrinterFriendly(){
	tmpStr = "Print-friendly version";	
	document.writeln( "<a accesskey='5' href='#' onclick='printPreview()' target='_self' title='" + tmpStr + "'><img src='" + domain_imagessl + "/icon_printer.gif' border='0' alt='' hspace='5' vspace='7' />" + tmpStr + "</a><br />" );
}
function pageToolsEmailPage(){
	tmpStr = "Email to a colleague";
	var emailpageParam = "\""+country+"\",\""+lang+"\",\""+css+"\",\""+sections+"\"";
	document.writeln( "<a href='#' onclick='emailpage(" + emailpageParam + ")' target='_self' title='" + tmpStr + "'><img src='" + domain_imagessl + "/icon_email.gif' border='0' alt='' hspace='5' vspace='0' />" + tmpStr + "</a><br />" );
}
function tabMenuEndBar(){
	document.writeln( "<div class='DropdownBorder'></div>");
}
function tabMenu(){
	if (hideTabMenu==1){ return("") }
	document.writeln( "<!-- START HEADER B2 -->" );
	document.writeln( "<div class='DropdownContainer'>" );
	document.writeln( "<div class='Dropdowns'>" );
	if (hidePrimaryGrayTabMenu==0) {document.writeln( "<table cellpadding='0' cellspacing='0' border='0' style='width: 960px'>" );
	}
	else {
document.writeln( "<table cellpadding='0' cellspacing='0' border='0' style='width:" + (570 + extendColorTabMenuPx)+ "px'> <!-- Homepage width changed from width of 770 -->" );
 }

	document.writeln( "<tr>" );
 if (hidePrimaryGrayTabMenu==0){ document.writeln( "<td class='PrimaryNavGrey'>&nbsp;</td>" );
	document.writeln( "<td class='PrimaryNavSpace'>&nbsp;</td>" );
  }
 //0 tab
 if (hidePrimaryGrayTabMenu==1)
     {
     //document.writeln( "<td class='DropdownHome'>"  );
    	//document.writeln( "<div class='DropdownContent'>" );
    	//document.writeln( "<ul class='Main'>" );     
      //document.writeln( "<li class='Main' >" );  
      
     // var tmpStr = ' '; //'Industry Sectors';
	   // document.writeln( "<div class='DropdownTitle'>"+ tmpStr + "</div>" );
	    
     //0 or 4th tab menu
 //   	if (section == "4" ){
 //   		document.writeln( "<td class='DropdownSelected'> <!-- Selected dropdown item required the 'DropdownSelected' class instead of 'Dropdown' -->" );
 //   	}
 //   	else { 
 //           if (hidePrimaryGrayTabMenu==1) 
 //           {document.writeln( "<td class='DropdownHome'>"  );
 //   	       }
 //   	       else{
  //  		document.writeln( "<td class='Dropdown'>" ); }   
 //   	}
 //   	document.writeln( "<div class='DropdownContent' id='DropdownContentFirst'>" );
 //   	document.writeln( "<ul class='Main'>" );
 //   	document.writeln( "<li class='Main' onmouseover='dropdownOver(this)' onmouseout='dropdownOut(this)'>" );
 //   	var tmpStr = menuTitle4; //'Industry Sectors';
 //   	document.writeln( "<div class='DropdownTitle'><a href='" + link( "sfNews.htm" ) + "' target='_self' title='" + tmpStr + "'>" + tmpStr + "</a></div>" );
 //   	var menuLinks = menuSub4;
  //    //['All Industries', 'Manufacturing','Automotive','Laboratory','Transportation & Logistics'];
  //  	var menuURLs = [];
 //   	if( menuLinks[ 0 ] != "" ) {
 //   		document.writeln( "<ul>" );
 //   	}
 //   	var j = 0;
 //   	for (j=0; j<menuLinks.length; j++ ){
 //   		document.writeln( "<li><div class='DropdownEntry'><a href='" + link( menuURLs[ j ] ) + "' target='_self' title='" + menuLinks[ j ] + "'>" + menuLinks[ j ] + "</a></div></li>" );
 //   	}
 //   	if( menuLinks[ 0 ] != "" ) {
 //   		document.writeln( "</ul>" );
 //   	}	    
	    
 //   	document.writeln( "</li>" );
 //   	document.writeln( "</ul>" );
 //   	document.writeln( "</div>" );
 //   	document.writeln( "</td>" );        
 }
 
 //1st tab menu
	if (section == "1" ){
		document.writeln( "<td class='DropdownSelected'> <!-- Selected dropdown item required the 'DropdownSelected' class instead of 'Dropdown' -->" );
	}
	else { 
        if (hidePrimaryGrayTabMenu==1) 
        {document.writeln( "<td class='DropdownHome'>"  );
	       }
	       else{
		document.writeln( "<td class='Dropdown'>" ); }   
	}
	if (hidePrimaryGrayTabMenu==1) 
	   {document.writeln( "<div class='DropdownContent' id='DropdownContent'>" );
	   }else
     {document.writeln( "<div class='DropdownContent' id='DropdownContentFirst'>" );
	   }
  document.writeln( "<ul class='Main'>" );
	document.writeln( "<li class='Main' onmouseover='dropdownOver(this)' onmouseout='dropdownOut(this)'>" );
	var tmpStr = menuTitle1; //'Industry Sectors';
	var menuLinks = menuSub1;
	var menuURLs = menuURLs1;
	document.writeln( "<div class='DropdownTitle'><a href='" + link( menuURLs[0] ) + "' target='_self' title='" + tmpStr + "'>" + tmpStr + "</a></div>" );

	if( menuLinks[ 0 ] != "" ) {
		document.writeln( "<ul>" );
	}
	var j = 0;
	for (j=0; j<menuLinks.length; j++ ){
		document.writeln( "<li><div class='DropdownEntry'><a href='" + link( menuURLs[ j ] ) + "' target='_self' title='" + menuLinks[ j ] + "'>" + menuLinks[ j ] + "</a></div></li>" );
	}
	if( menuLinks[ 0 ] != "" ) {
		document.writeln( "</ul>" );
	}
	document.writeln( "</li>" );
	document.writeln( "</ul>" );
	document.writeln( "</div>" );
	document.writeln( "</td>" );

//2nd tab menu
	if (section == "2" ){
		document.writeln( "<td class='DropdownSelected'> <!-- Selected dropdown item required the 'DropdownSelected' class instead of 'Dropdown' -->" );
	}
	else {
        if (hidePrimaryGrayTabMenu==1) 
        {document.writeln( "<td class='DropdownHome'>"  );
	       }
	       else{
		    document.writeln( "<td class='Dropdown'>" );}
	}
	document.writeln( "<div class='DropdownContent'>" );
	document.writeln( "<ul class='Main'>" );
	document.writeln( "<li class='Main' onmouseover='dropdownOver(this)' onmouseout='dropdownOut(this)'>" );
	tmpStr = menuTitle2;
	menuLinks = menuSub2;
	menuURLs = menuURLs2; 

	document.writeln( "<div class='DropdownTitle'><a href='" + link( menuURLs[0] ) + "' target='_self' title='" + tmpStr + " in Simulation'>" + tmpStr + "</a></div>" );

	//var	menuLinks = ['']; //temporary line
	if( menuLinks[ 0 ] != "" ) {
		document.writeln( "<ul>" );
	}
	for (j=0; j<menuLinks.length; j++ ){
		document.writeln( "<li><div class='DropdownEntry'><a href='" + link( menuURLs[ j ] ) + "' target='_self' title='" + menuLinks[ j ] + "'>" + menuLinks[ j ] + "</a></div></li>" );
	}
	if( menuLinks[ 0 ] != "" ) {
		document.writeln( "</ul>" );
	}
	document.writeln( "</li>" );
	document.writeln( "</ul>" );
	document.writeln( "</div>" );
	document.writeln( "</td>" );

//3rd tab menu
	if (section == "3" ){
		document.writeln( "<td class='DropdownSelected'> <!-- Selected dropdown item required the 'DropdownSelected' class instead of 'Dropdown' -->" );
	}
	else {
		    if (hidePrimaryGrayTabMenu==1) 
        {document.writeln( "<td class='DropdownHome'>"  );
	       }
	       else{
		document.writeln( "<td class='Dropdown'>" );
    }
	}
	document.writeln( "<div class='DropdownContent'>" );
	document.writeln( "<ul class='Main'>" );
	document.writeln( "<li class='Main' onmouseover='dropdownOver(this)' onmouseout='dropdownOut(this)'>" );
	tmpStr = menuTitle3;
	menuLinks = menuSub3;
	menuURLs = menuURLs3;
	document.writeln( "<div class='DropdownTitle'><a href='" + link( menuURLs[0] ) + "' target='_self' title='" + tmpStr + "'>" + tmpStr + "</a></div>" );

	//var	menuLinks = ['']; //temporary line
	if( menuLinks[ 0 ] != "" ) {
		document.writeln( "<ul>" );
	}
	for (j=0; j<menuLinks.length; j++ ){
		document.writeln( "<li><div class='DropdownEntry'><a href='" + link( menuURLs[ j ] ) + "' target='_self' title='" + menuLinks[ j ] + "'>" + menuLinks[ j ] + "</a></div></li>" );
	}
	if( menuLinks[ 0 ] != "" ) {
		document.writeln( "</ul>" );
	}
	document.writeln( "</li>" );
	document.writeln( "</ul>" );
	document.writeln( "</div>" );
	document.writeln( "</td>" );

 //4th tab menu
	if (section == "4" ){
		document.writeln( "<td class='DropdownSelected'> <!-- Selected dropdown item required the 'DropdownSelected' class instead of 'Dropdown' -->" );
	}
	else {
		    if (hidePrimaryGrayTabMenu==1) 
        {document.writeln( "<td class='DropdownHome'>"  );
	       }
	       else{
		document.writeln( "<td class='Dropdown'>" );
    }
	}
	document.writeln( "<div class='DropdownContent'>" );
	document.writeln( "<ul class='Main'>" );
	document.writeln( "<li class='Main' onmouseover='dropdownOver(this)' onmouseout='dropdownOut(this)'>" );
	
	var tmpStr = menuTitle4; 
	var menuLinks = menuSub4;
  var menuURLs = menuURLs4;
  
  document.writeln( "<div class='DropdownTitle'><a href='" + link( menuURLs[0] ) + "' target='_self' title='" + tmpStr + "'>" + tmpStr + "</a></div>" );
	
	if( menuLinks[ 0 ] != "" ) {
		document.writeln( "<ul>" );
	}
	var j = 0;
	for (j=0; j<menuLinks.length; j++ ){
		document.writeln( "<li><div class='DropdownEntry'><a href='" + link( menuURLs[ j ] ) + "' target='_self' title='" + menuLinks[ j ] + "'>" + menuLinks[ j ] + "</a></div></li>" );
	}
	if( menuLinks[ 0 ] != "" ) {
		document.writeln( "</ul>" );
	}
	document.writeln( "</li>" );
	document.writeln( "</ul>" );
	document.writeln( "</div>" );
	document.writeln( "</td>" );



	document.writeln( "</tr>" );
	document.writeln( "</table>" );
	document.writeln( "</div><br style='clear: both;'/>" );
	document.writeln( "</div>" );
	//tabMenuEndBar();
	document.writeln( "<!-- END HEADER B2 -->");

}


function frameHeaderRightPersistentForm(){
	if ( hideCountryBox==1 && hideSearchBox==1 ){ return("") }
  document.writeln( "<div id='sfLanguage'>");
	myLinkThis = new String(document.URL);
	i=myLinkThis.lastIndexOf('/')
	myPageThis=myLinkThis.substring(i+1)
  
 // if (myLinkThis.indexOf('=')<0) { 
	document.writeln( "<A> </A>");
//	}else{
//	document.writeln( "<b>Diese Seite wurde durch Google automatisch uebersetzt</b>");
//	}
  document.writeln( "<img src='" + domain_imagessl + "/ENG_small.gif' alt='English Version' name='English' width='20' height='12' border='0' usemap='#Mapname1'/>");
  document.writeln( "<img src='" + domain_imagessl + "/DE_small.gif' alt='German Version' width='20' height='12' border='0' usemap='#Mapname2'/>");
	
 // if (myLinkThis.indexOf('=')<0) { 
//	document.writeln( "<img src='" + domain_imagessl + "/DE_google.gif' alt='German Version (translated with Google)' name='German' width='20' height='12' border='0' usemap='#Mapname3'/>"); 
 //   	}	
    
  document.writeln( "<img src='" + domain_imagessl + "/PL_small.gif' alt='English Version' name='English' width='20' height='12' border='0' usemap='#Mapname3'/>");
  
  document.writeln( "<map name='Mapname1'><area shape='rect' coords='0,0,20,12' href='"+ "http://www.simulatefirst.com/" + myPageThis +"' title='English version'></map//>");
  document.writeln( "<map name='Mapname2'><area shape='rect' coords='0,0,20,12' href='" + "http://www.simulatefirst.com/de/" + myPageThis + "' title='German version'></map>");

//  if (myLinkThis.indexOf('=')<0) {
//  document.writeln( "<map name='Mapname3'><area shape='rect' coords='0,0,20,12' href='http://translate.google.com/translate?hl=de&sl=en&u=" + myLinkThis + "' title='German version with GoogleTranslate'></map>");
//} 

  document.writeln( "<map name='Mapname3'><area shape='rect' coords='0,0,20,12' href='" + "http://www.simulatefirst.com/pl/" + myPageThis + "' title='Polish version'></map>");

	//document.writeln( "<A>" + myLink +"</A>")}
	document.writeln( "</div>");
}
function frameHeaderRightPersistentLinks(){
	if ( hideLPN==1 ){ return("") }	
	document.writeln( "<div id='persistentContainer'>");
	document.writeln( "<ul class='persistentLinks' id='nav1'>");
		
  document.writeln( lpnLink( "<li class='persistentTop'><a href="+menuUpperURLs[0]+" target='_self' title="+menuUpper[0]+">"+menuUpper[0]+"</a></li>" ) );
  document.writeln( lpnLink( "<li class='persistentTop'><a href="+menuUpperURLs[1]+" target='_self' title="+menuUpper[1]+">"+menuUpper[1]+"</a></li>" ) );
	document.writeln( lpnLink( "<li class='persistentTop'><a href="+menuUpperURLs[2]+" target='_self' title="+menuUpper[2]+">"+menuUpper[2]+"</a></li>" ) );
  //document.writeln( lpnLink( "<li class='persistentTop'><a href='sfSimulation.htm' target='_self' title='Simulation'>Why simulate?</a><ul><li><a href='sfSimulation.htm' target='_self' title='Simulation'>Simulation</a></li><li><a href='sfQandA.htm' target='_self' title='Questions & Answers'>Questions & Answers</a></li></ul></li>" ) );
	//document.writeln( lpnLink( "<li class='persistentTop'><a href='sfAbout.htm' target='_self' title='About Us '>About Us</a><ul> <li><a href='sfAbout.htm' target='_self' title='SF Mission'>SF Mission</a></li><li><a href='sfReference.htm' target='_self' title='References'>References</a></li> <li><a href='sfWinWin.htm' target='_self' title='Win Win Thinking '>Win Win Thinking</a></li><li><a href='sfImpressum.htm' target='_self' title='Impressum '>Impressum</a></li> </ul></li>" ) );
		//document.writeln( lpnLink( "<li class='persistentTop'><a href='sfContactForm.htm' target='_self' title='Contact Us '>Contact Us</a><ul> <li><a href='sfContact.htm' target='_self' title='Our Address'>Our Address</a></li><li><a href='sfContactForm.htm' target='_self' title='Comment Form'>Comment Form</a></li>  </ul></li>" ) );
  //document.writeln( lpnLink( "<li><a accesskey='9' href='sfContactForm.htm' target='_self' title='Contact Us'>Contact Us</a></li>" ) );
	
  document.writeln( "</ul>");
	document.writeln( "</div><br clear='all' />");
}

function frameHeaderLeftTerritory(){
	if ( hideGHPLink==1 ){ return("") }	
	var tmpStr = 'Home';
	//document.writeln( "<span class='territoryName'><a accesskey='1' href='" + link( "http://www.simulatefirst.com/" ) + "' target='_self' title='" + tmpStr + "'>" + tmpStr + "</a></span>");
}
function frameHeaderLeftLogo(){
	//Displays the SimulateFirst logo
	if ( hideSFLogo==1 ){ return("") }	
	document.writeln( "<div class='sfLogo'>");
	document.writeln( "<a href=index.html><img src='" + domain_imagessl + "/SFLogoWholeWeb1.png' alt='Simulate First Logo' width='255' height='46' border='0' /></a>");
   //prev value width 178 height43
	document.writeln( "</div>");
}
function frameHeaderRight(){
	document.writeln( "<div id='headerRight'>");
	// Close window link only displayed on print view
	document.writeln( "<div class='closeWindow'>" );
	document.writeln( "<script  type='text/javascript'>" );
	document.writeln( "var tmpStr = \"close window\";");
	document.writeln( "document.write(\"<a href='JavaScript:window.close();'>\" + tmpStr + \" <img src='/wspolne/exit.gif' border='0' alt='\" + tmpStr + \"' /></a>\")" );
	document.writeln( "</script>" );
	document.writeln( "<noscript>Click on the'X' in the top right corner to close this window.</noscript>" );
	document.writeln( "</div>" );
	 frameHeaderRightPersistentLinks();
	 frameHeaderRightPersistentForm();
	document.writeln( "</div>" );
}
function frameHeaderLeft(){
	if ( hideSFLogo==1 && hideGHPLink==1 && hideLang==1 ){ return("") }	
	document.writeln( "<div id='headerLeft'>");
	frameHeaderLeftLogo();
	frameHeaderLeftTerritory();
	document.writeln( "</div>");
}
function frameHeader(){
	document.writeln( "<div id='frameHeader'>");
	document.writeln( "<!-- START HEADER A  -->");
	 frameHeaderLeft();
	 frameHeaderRight();
	document.writeln( "<!-- END HEADER A -->");
	document.writeln( "<br clear='all'/>");
	document.writeln( "</div>");
}
function buildHeader(){
	if ( hideTopNav==1){ return("") }	
	document.writeln( "<div id='headerContainer'>");
	 frameHeader();
	// tabMenu();
	document.writeln( "</div>");
}
function footerText(year){
	if(!year){
		year="2009"
	}
	document.writeln( "<div class='footerText'>" );
	document.write("&copy; "+year+" Simulate First. All rights reserved.");
	//Simulate First refers to the network of member firms of Simulate First International Limited, each of which is a separate and independent legal entity.
  document.writeln( "</div>" );
}
function footerAccessKeyInfo(){
	document.writeln( "<!-- Supplementary Accesskey information for ALL PAGES -->" );
	document.writeln( "<a accesskey='0' href='http://www.w3c.org'><img src='" + domain_imagessl + "/tran.gif' width='1' height='1' border='0' alt='Accessibility information' /></a> <!-- Accessibility page-->" );
	document.writeln( "<a accesskey='2' href='#pageContent'><img src='" + domain_imagessl + "/tran.gif' width='1' height='1' border='0' alt='Skip navigation' /></a> <!-- Skip navigation -->" );
}

function footerLinks(){
	document.writeln( "<div class='footerLinks'>" );
	if ( "Privacy" == "" ){
		//default privacy links
		document.writeln( "<span class='footerItem'><a href='" + link( "temp.htm" ) + "' title='Privacy'>Privacy</a></span>" );
	} else {
		//override privacy links
		//document.writeln( "<span class='footerItem'><a href='" + link( "temp.htm" ) + "' title='Privacy'>Privacy</a></span>" );
	}
	if ( "Legal" == "" ){
		//default legal links
		document.writeln( "<span class='footerItem'><a href='" + link( "temp.htm" ) + "' title='Legal'>Legal</a></span>" );
	} else {
		//override legal links
		//document.writeln( "<span class='footerItem'><a href='" + link( "temp.htm" ) + "' title='Legal'>Legal</a></span>" );
	}
	if ( "About Site Provider" == "" ){
		//default about provider
		document.writeln( "<span class='footerItem'><a href='" + link( "temp.htm" ) + "' title='About Site Provider'>About Site Provider</a></span>" );
	} else {
		//override about provider
		//document.writeln( "<span class='footerItem'><a href='" + link( "temp.htm" ) + "' title='About Site Provider'>About Site Provider</a></span>" );
	}
	if ( "Email Webmaster" == "" ){
		//default Email Webmaster
		document.writeln( "<span class='footerItem'><a href='" + link( "mailto:webadmin@simulatefirst.com" ) + "' title='Email Webmaster'>Email Webmaster</a></span>" );
	} else {
		//override Email Webmaster
		document.writeln( "<span class='footerItem'><a href='" + link( "mailto:webadmin@simulatefirst.com" ) + "' title='Email Webmaster'>Email Webmaster</a></span>" );
	}
	if ( "Site Map" == "" ){
		//default site map
		document.writeln( "<span class='footerItem' id='footerItem1'><a href='" + link( "sfSiteMap.htm" ) + "' title='Site Map'>Site Map</a></span>" );
	} else {
		//override site map
		document.writeln( "<span class='footerItem' id='footerItem1'><a href='" + link( "sfSiteMap.htm" ) + "' title='Site Map'>Site Map</a></span>" );
	}
	//START generic footer links
	if( "" != "" ){
		var FooterText = [""];
		var FooterURL = [""];
		for( n = 0; n < FooterText.length; n++)
		{
			if (n < FooterText.length - 1){
				document.writeln( "<span class='footerItem'><a href='" + link( FooterURL[ n ] ) + "' title='" + FooterText[ n ] + "'>" + FooterText[ n ] + "</a></span>" );
			} else {
				//last item needs an id property
				document.writeln( "<span class='footerItem' id='footerItem1'><a href='" + link( FooterURL[ n ] ) + "' title='" + FooterText[ n ] + "'>" + FooterText[ n ] + "</a></span>" );
			}
		}
	}
	//END generic footer links
	document.writeln( "</div>" );
}
function buildFooter(year){
	document.writeln( "<div id='footerContainer'>" );
	footerLinks();
	footerText(year);
	footerAccessKeyInfo();
	document.writeln( "</div>" );
}
// This function calls the OnLoad event.
function doOnLoadTasks(){
	//This function resides in the Standards.JS document
	startList();
}
window.focus()
