if( document.domain.indexOf( "" ) != -1 ) { document.domain = "" ; }
var m_pnlinks;
var m_mhFixed = false;
var m_mda = null;
var m_production = true;
var m_menudef = "";
var m_avgChW = 0;
var m_crumbRegEx1 = /<.*>/g;
var m_crumbRegEx2 = /&nbsp;/g;
var m_crumbRegEx3 = /&~ck=bt/g;
var m_subNavLinksDisplay = false;
var m_subNavIconsDisplay = false;
var m_largeFont = false;
var m_supressSubNav = false;
var m_stdEmpty = "";
var m_stdOffImg;
var m_mastheadWidth = 585;
var m_tabNav = true;
var m_subNavLinkWidth = null;
var m_phoneTitle = null;
var m_phoneMsg = null;
var m_phoneTariff = null;
var m_tabContentDiv = null;
var m_timeoutDelay = null;
var loaded = new Array();
var onloadFired = false;
var m_isRtl = false;
var m_isCenter = false;
var m_isPopupIntention = false;
//####################################################################
function writeMH(segmentTitle, hasLocale, logoLink, pnmsg ) { autoconfig(); }
//####################################################################
var isCSS = false;
var isW3C = false;
var isIE4 = false;
var isNN4 = false;
var isIE6 = false;
var isGecko = false;
var isOpera = false;
var isDHTML = false;
var suppressMenus = false;
var legacyMode = false;
var timerID = null;
var subtimerID = null;
var m_anchorClicked = false;
function autoconfig() {
	if( document && document.images ){
		isCSS = (document.body && document.body.style) ? true : false;
		isW3C = (isCSS && document.getElementById) ? true : false;
		isIE4 = (isCSS && document.all && readIEVer() >= 4.0) ? true : false;
		isNN4 = (document.layers) ? true : false;
		isGecko = (isCSS && navigator && navigator.product && navigator.product == "Gecko");
		isOpera = (isCSS && navigator.userAgent.indexOf( "Opera") != -1 );
		isIE6CSS = (document.compatMode && document.compatMode.indexOf("CSS1") >= 0) ? true : false;
		isIE6 = ( isIE6CSS && readIEVer() >= 6.0 );
		isDHTML = isCSS && ( isIE4 || isGecko || isOpera );
		if( suppressMenus ){
			isDHTML = false;
		}
		else if( isOpera && readOperaVer() < 7 ){
			isDHTML = false;
		}
		else if( isGecko && navigator.productSub <= 20011022 ){
			isDHTML = false;
		}
		else if( isGecko && navigator.productSub == 20030107 ){
			var x = navigator.userAgent.indexOf( "AppleWebKit" );
			if( x > -1 ){
				isDHTML = ( navigator.userAgent.substring( x + 12, x + 15 ) ) > 300;
			}
			else{
				isDHTML = false;
			}
		}
	}
}
function readIEVer(){
	var agent = navigator.userAgent;
	var offset = agent.indexOf( "MSIE" );
	if( offset < 0 ){
		return 0;
	}
	return parseFloat( agent.substring( offset + 5, agent.indexOf( ";", offset ) ) );
}

