function checkBrowserType(){var a=$.browser.msie;return(a)?"msie":"mozilla"}function checkBrowserVersion(){var a=$.browser.version;return parseInt(a)}function calljqueryBlock(){$.blockUI.defaults.css={padding:0,margin:0,width:"52%",top:"35%",left:"25%",textAlign:"center",color:"#000",height:"15%",border:"3px solid #aaa",backgroundColor:"white",cursor:"hand"};document.getElementById("dilogBody").style.visibility="visible";document.getElementById("browserWarning").style.visibility="visible";if(document.getElementById("flashbox")!=null){document.getElementById("flashbox").style.visibility="hidden"}if(document.getElementById("banner")!=null){document.getElementById("banner").style.visibility="hidden"}jQuery.blockUI({message:$("#dilogBody").fadeIn("slow")})}function checkBrowserCompatibility(){var a=checkBrowserVersion();var b=checkBrowserType();switch(b){case"msie":if(a<=6){if(!checkCookieExist()){$(document).ready(function(){DynamicElement();calljqueryBlock();close();$("#browserWarning").html("<p style='font-size:12px;font-family:Arial;color:#000000';>You are using an unsupported version of the browser. This website is designed for <b>IE 7+</b><br/>Some of the features on the website might not work with your current browser.<br/>Click on the <b>Close button</b> to continue.</p3>")})}}break;case"mozilla":if(!checkCookieExist()){DynamicElement();calljqueryBlock();$("#browserWarning").html("<p style='font-size:12px;font-family:Arial;color:#000000';>You are using an unsupported version of the browser. This website is designed for <b>IE 7+</b><br/>Some of the features on the website might not work with your current browser.<br/>Click on the <b>Close button</b> to continue.</p3>")}break;default:if(!checkCookieExist()){DynamicElement();calljqueryBlock();$("#browserWarning").html("<p style='font-size:12px;font-family:Arial;color:#000000';>You are using an unsupported version of the browser. This website is designed for <b>IE 7+</b><br/>Some of the features on the website might not work with your current browser.<br/>Click on the <b>Close button</b> to continue.</p3>")}break}}function close(){$(document).ready(function(){$("#close").click(function(){jQuery.unblockUI();if(document.getElementById("banner")!=null){document.getElementById("banner").style.visibility="visible"}if(document.getElementById("flashbox")!=null){document.getElementById("flashbox").style.visibility="visible"}$("#browserWarning").css({visibility:"hidden"});$("#dilogBody").css({visibility:"hidden"});$("#dilogBody").css({display:"none"});$("#browserWarning").css({display:"none"})})})}$(document).ready(function(){$("#close").click(function(){jQuery.unblockUI();if(document.getElementById("banner")!=null){document.getElementById("banner").style.visibility="visible"}if(document.getElementById("flashbox")!=null){document.getElementById("flashbox").style.visibility="visible"}$("#browserWarning").css({visibility:"hidden"});$("#dilogBody").css({visibility:"hidden"});$("#dilogBody").css({display:"none"});$("#browserWarning").css({display:"none"})})});function DynamicElement(){try{parentDiv=document.createElement("div");parentDiv.setAttribute("id","dilogBody");parentDiv.style.width="100%";parentDiv.style.visibility="hidden";childDiv=document.createElement("div");childDiv.setAttribute("id","head");childDiv.style.cursor="pointer";childDiv.style.height="18px";childDiv.style.backgroundColor="#75bede";childDiv.style.fontWeight="900";childDiv.style.textAlign="right";spanDiv=document.createElement("span");spanDiv.setAttribute("id","close");spanDiv.setAttribute("title","Click here to close");spanDiv.style.fontFamily="Arial";spanDiv.style.fontWeight="900";spanDiv.style.fontSize="12px";spanDiv.style.color="#000000";if(checkBrowserType=="msie"&&checkBrowserVersion<=6){spanDiv.setAttribute("onClick","close();")}spanText=document.createTextNode("Close(X)");spanDiv.appendChild(spanText);dialogDiv=document.createElement("div");dialogDiv.setAttribute("id","browserWarning");dialogDiv.style.textAlign="left";dialogDiv.style.visibility="hidden";dialogDiv.style.height="90%";dialogDiv.style.overflow="auto";dialogDiv.style.color="white";dialogDiv.style.paddingLeft="10px";childDiv.appendChild(spanDiv);parentDiv.appendChild(childDiv);parentDiv.appendChild(dialogDiv);document.body.appendChild(parentDiv)}catch(a){}}function checkCookieExist(){var a="visitors";if(ReadCookie(a)!="true"||ReadCookie(a)==""){setCookie(a,"true",4);return false}else{return true}}function setCookie(a,b,d){var c=new Date();c.setHours(c.getHours()+d);document.cookie=a+"="+b+((d==null)?"":";expires="+c.toGMTString())}function ReadCookie(d){var b=""+document.cookie;var c=b.indexOf(d);if(c==-1||d==""){return""}var a=b.indexOf(";",c);if(a==-1){a=b.length}return unescape(b.substring(c+d.length+1,a))};
