(function(e,t,n){function i(e){var n=t.cookie.indexOf(e+"=");var r=n+e.length+1;if(!n&&e!=t.cookie.substring(0,e.length)){return null}if(n==-1)return null;var i=t.cookie.indexOf(";",r);if(i==-1)i=t.cookie.length;return decodeURI(t.cookie.substring(r,i))}function s(e,n,r){var i=new Date;i.setDate(i.getDate()+r);t.cookie=e+"="+encodeURI(n)+(r===null?"":";expires="+i.toGMTString())}function o(e,t){if(!t){return e}for(var n in t){e[n]=t[n]}return e}var r=e.gcfnotify=function(e){var t=o(r.defaults,e);if(!(this instanceof r)){return new r(t)}this.conf=t;this.init();return this};r.prototype.init=function(){var t=this.conf,n=i("gcf");if(!n){CFInstall.check({node:"gcfbar",onmissing:function(){$("body").prepend('
'+t.msgPre+''+t.msgLink+""+t.msgAfter+'
');$("#gcfbar").click(function(){gcf.load()}).slideDown(500)},preventPrompt:true,oninstall:function(){e.location.reload()}})}$("head").append('')};r.prototype.load=function(){e.open("http://www.google.com/chromeframe/eula.html","gcf","menubar=no,width=800,height=450,toolbar=no,scrollbars=yes")};r.prototype.hide=function(){$("#gcfbar").slideUp(300);s("gcf","1",14)};r.defaults={imgpath:"img/",msgPre:"Please install ",msgLink:"Google Chrome Frame Plugin",msgAfter:" for a better experience!"};$(function(){e.gcf=new r(typeof gcfnConfig!=="undefined"?gcfnConfig:null)})})(this,this.document)