// Set global browser boolean flags var isIE = document.all; var isIE6 = isIE && document.implementation; var isIE5 = isIE && window.print && !isIE6; var isIEDOM2 = isIE5 || isIE6; var isIE4 = isIE && !isIEDOM2 && navigator.cookieEnabled; var isIE3 = isIE && !isIE4 && !isIEDOM2; var isNS = navigator.mimeTypes && !isIE; var isNS3 = isNS && !navigator.language; var isNS4 = document.layers; var isNS6 = document.getElementById && !isIE; var isNS7 = isNS6; var isNS71 = document.designMode; var isNSDOM2 = isNS6; var isDOM2 = isIEDOM2 || isNSDOM2; var windowWidth = 0, windowHeight = 0; if( typeof( window.innerWidth ) == 'number' ) { /*Non-IE*/ windowWidth = window.innerWidth; windowHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' windowWidth = document.documentElement.clientWidth; windowHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible windowWidth = document.body.clientWidth; windowHeight = document.body.clientHeight; } var globalMarket = "it"; var globalSiteTld = "it"; var isProd = true; var browser = ""; var os =""; var siteModule = "betterdeals"; var siteTheme = "betterdeals"; var siteImgLocalPath = ""; /* TEMP CONFIG FOR rC */ var rCt = 30; var rSt = 50; var rCw = 2; if(isIE6) { try { document.execCommand("BackgroundImageCache", false, true); } catch(err) {} } var globalStaticServer = ''; globalStaticServer = 'http://http//static.betterdeals.com/bd/images/';