/*
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<link rel="stylesheet" media="screen" href="http://portertech-public.s3.amazonaws.com/chrome-frame.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
<script type="text/javascript" src="http://portertech-public.s3.amazonaws.com/chrome-frame.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
*/
function hideChromeMsg(){$('#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')}}$(document).ready(function(){cfmsg=getCookie('cfmsg');if(cfmsg==null||cfmsg==""){CFInstall.check({node:"chrome_msg",onmissing:function(){$('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>');$('#chrome_msg').slideDown(500)},preventPrompt:true,oninstall:function(){window.location.reload()}})}});
