function hideChromeMsg(){jQuery('#chrome_msg').slideUp(300);function setCookie(c_name,value,expiredays){var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays);document.cookie=c_name+"="+escape(value)+((expiredays==null)?"":";expires="+exdate.toGMTString())}setCookie('cfmsg','1',30)}function getCookie(c_name){if(document.cookie.length>0){c_start=document.cookie.indexOf(c_name+"=");if(c_start!=-1){c_start=c_start+c_name.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1)c_end=document.cookie.length;return unescape(document.cookie.substring(c_start,c_end))}}return""}function loadPlugin(){var confirmation=confirm("Continuing will open a new window to allow you to install the plugin. Once the plugin is installed please close the window and refresh this page.");if(confirmation){window.open('http://www.google.com/chromeframe/eula.html','CFWindow','menubar=no,width=800,height=450,toolbar=no,scrollbars=yes')}}jQuery(document).ready(function(){cfmsg=getCookie('cfmsg');if(cfmsg==null||cfmsg==""){CFInstall.check({node:"chrome_msg",onmissing:function(){jQuery('body').prepend('<div id="chrome_msg"><a onclick="hideChromeMsg();" href="#" id="msg_hide">X</a>This website requires capabilities not supported by your browser. Please install <a href="#" onclick="loadPlugin();">Google Chrome Frame Plugin</a>.</div>');jQuery('#chrome_msg').slideDown(500)},preventPrompt:true,oninstall:function(){window.location.reload()}})}});