function getBrowser(){ var bjs = {}; var N= navigator.appName, ua= navigator.userAgent, tem; var M= ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1]; M= M? [M[1], M[2]]: [N, navigator.appVersion,'-?']; bjs= { 'name' : M[0] , 'version' : M[1] }; return bjs; }//end of getBrowser function function getPlatform(){ var OSName = ""; if (window.navigator.userAgent.indexOf("Windows NT 6.2") != -1) OSName="Windows 8"; if (window.navigator.userAgent.indexOf("Windows NT 6.1") != -1) OSName="Windows 7"; if (window.navigator.userAgent.indexOf("Windows NT 6.0") != -1) OSName="Windows Vista"; if (window.navigator.userAgent.indexOf("Windows NT 5.1") != -1) OSName="Windows XP"; if (window.navigator.userAgent.indexOf("Windows NT 5.0") != -1) OSName="Windows 2000"; if (window.navigator.userAgent.indexOf("Mac")!=-1) OSName="Mac/iOS"; if (window.navigator.userAgent.indexOf("X11")!=-1) OSName="UNIX"; if (window.navigator.userAgent.indexOf("Linux")!=-1) OSName="Linux"; return OSName; } var _OS = getPlatform(); var _browser = getBrowser(); var _prefix = "/_themes/hdz/css/hdz"; var ie = false; if(_browser.name == "MSIE") { ie = true; switch(_browser.version) { case "8.0": _prefix = "/_themes/hdz/css/ie/hdz-ie8"; break; case "9.0": _prefix = "/_themes/hdz/css/ie/hdz-ie9"; break; case "10.0": _prefix = "/_themes/hdz/css/ie/hdz-ie10"; break; }//switch statement window._skel_config = { prefix: _prefix, resetCSS: true, boxModel: "border", useOrientation: "true", grid: { gutters: 0 }, breakpoints: { w1024: { range: "1024-", containers: 1024, grid: { gutters: 0 } }, w960: { range: "960-1023", containers: "fluid", lockViewport: true, grid: { gutters: 0 } }, w800: { range: "800-959", containers: "fluid", lockViewport: true, grid: { gutters: 0 }} } } }//end end if else { //NON IE BROWSER window._skel_config = { prefix: _prefix, resetCSS: true, boxModel: "border", useOrientation: "true", grid: { gutters: 0 }, breakpoints: { w1024: { range: "1024-", containers: 1024, grid: { gutters: 0 } }, w960: { range: "769-1023", containers: "fluid", lockViewport: true, grid: { gutters: 0 } }, w768: { range: "481-768", containers: "fluid", lockViewport: true, grid: { gutters: 0 }}, w480: { range: "-480", containers: "fluid", lockViewport: true, grid: { collapse: true } } } } } $(function() { var popup=0; var ie_link=''; var dl_links = { 'IE': 'http://www.microsoft.com/en-us/download/internet-explorer-9-details.aspx', 'FF': 'http://www.mozilla.org/en-US/firefox/new/', 'GC': 'https://www.google.com/intl/en/chrome/browser/', 'SF': 'http://support.apple.com/downloads/#safari' }; if(_OS=='Windows XP' && (_browser.version =='8.0' || _browser.version =='7.0') ){ popup =1; ie_link =''; } else if((_OS=='Windows Vista' || _OS=='Windows 7' || _OS=='Windows 8') && (_browser.version =='8.0' || _browser.version =='7.0')){ popup =2; ie_link='