/* Generated 2012-01-29 15:35:43*/(function(a){a.reject=function(v){v=a.extend(!0,{reject:{all:!1,msie5:!0,msie6:!0},display:[],browserInfo:{firefox:{text:"Firefox 8",url:"http://www.mozilla.com/firefox/"},safari:{text:"Safari 5",url:"http://www.apple.com/safari/download/"},opera:{text:"Opera 11",url:"http://www.opera.com/download/"},chrome:{text:"Chrome 15",url:"http://www.google.com/chrome/"},msie:{text:"Internet Explorer 9",url:"http://www.microsoft.com/windows/Internet-explorer/"},gcf:{text:"Google Chrome Frame",url:"http://code.google.com/chrome/chromeframe/",allow:{all:!1,msie:!0}}},header:"Did you know that your Internet Browser is out of date?",paragraph1:"Your browser is out of date, and may not be compatible with our website. A list of the most popular web browsers can be found below.",paragraph2:"Just click on the icons to get to the download page",close:!0,closeMessage:"By closing this window you acknowledge that your experience on this website may be degraded",closeLink:"Close This Window",closeURL:"#",closeESC:!0,closeCookie:!1,cookieSettings:{path:"/",expires:0},imagePath:"./images/",overlayBgColor:"#000",overlayOpacity:0.8,fadeInTime:"fast",fadeOutTime:"fast",analytics:!1},v);if(1>v.display.length){v.display="firefox,chrome,msie,safari,opera,gcf".split(",")}a.isFunction(v.beforeReject)&&v.beforeReject(v);if(!v.close){v.closeESC=!1}var u=function(e){return(e.all?!0:!1)||(e[a.os.name]?!0:!1)||(e[a.layout.name]?!0:!1)||(e[a.browser.name]?!0:!1)||(e[a.browser.className]?!0:!1)};if(!u(v.reject)){if(a.isFunction(v.onFail)){v.onFail(v)}return !1}if(v.close&&v.closeCookie){var r="jreject-close",s=function(j,h){if("undefined"!=typeof h){var m="";0!=v.cookieSettings.expires&&(m=new Date,m.setTime(m.getTime()+v.cookieSettings.expires),m="; expires="+m.toGMTString());var w=v.cookieSettings.path||"/";document.cookie=j+"="+encodeURIComponent(null==h?"":h)+m+"; path="+w}else{w=null;if(document.cookie&&""!=document.cookie){for(var q=document.cookie.split(";"),k=q.length,n=0;n<k;++n){if(m=a.trim(q[n]),m.substring(0,j.length+1)==j+"="){w=decodeURIComponent(m.substring(j.length+1));break}}}return w}};if(null!=s(r)){return !1}}var t='<div id="jr_overlay"></div><div id="jr_wrap"><div id="jr_inner"><h1 id="jr_header">'+v.header+"</h1>"+(""===v.paragraph1?"":"<p>"+v.paragraph1+"</p>")+(""===v.paragraph2?"":"<p>"+v.paragraph2+"</p>")+"<ul>",o=0,i;for(i in v.display){var f=v.display[i],p=v.browserInfo[f]||!1;if(p&&(void 0==p.allow||u(p.allow))){t+='<li id="jr_'+f+'"><div class="jr_icon"></div><div><a href="'+(p.url||"#")+'">'+(p.text||"Unknown")+"</a></div></li>",++o}}var t=t+('</ul><div id="jr_close">'+(v.close?'<a href="'+v.closeURL+'">'+v.closeLink+"</a><p>"+v.closeMessage+"</p>":"")+"</div></div></div>"),l=a("<div>"+t+"</div>"),u=d(),t=c();l.bind("closejr",function(){if(!v.close){return !1}a.isFunction(v.beforeClose)&&v.beforeClose(v);a(this).unbind("closejr");a("#jr_overlay,#jr_wrap").fadeOut(v.fadeOutTime,function(){a(this).remove();a.isFunction(v.afterClose)&&v.afterClose(v)});a("embed, object, select, applet").show();v.closeCookie&&s(r,"true");return !0});var b=function(g){if(v.analytics){var k=g.split(/\/+/g)[1];try{_gaq.push(["_trackEvent","External Links",k,g])}catch(j){try{pageTracker._trackEvent("External Links",k,g)}catch(h){}}}window.open(g,"jr_"+Math.round(11*Math.random()));return !1};l.find("#jr_overlay").css({width:u[0],height:u[1],position:"absolute",top:0,left:0,background:v.overlayBgColor,zIndex:200,opacity:v.overlayOpacity,padding:0,margin:0}).next("#jr_wrap").css({position:"absolute",width:"100%",top:t[1]+u[3]/4,left:t[0],zIndex:300,textAlign:"center",padding:0,margin:0}).children("#jr_inner").css({background:"#FFF",border:"1px solid #CCC",fontFamily:'"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif',color:"#4F4F4F",margin:"0 auto",position:"relative",height:"auto",minWidth:100*o,maxWidth:140*o,width:"trident"==a.layout.name?155*o:"auto",padding:20,fontSize:12}).children("#jr_header").css({display:"block",fontSize:"1.3em",marginBottom:"0.5em",color:"#333",fontFamily:"Helvetica,Arial,sans-serif",fontWeight:"bold",textAlign:"left",padding:5,margin:0}).nextAll("p").css({textAlign:"left",padding:5,margin:0}).siblings("ul").css({listStyleImage:"none",listStylePosition:"outside",listStyleType:"none",margin:0,padding:0}).children("li").css({background:'transparent url("'+v.imagePath+'background_browser.gif")no-repeat scroll left top',cursor:"pointer","float":"left",width:120,height:122,margin:"0 10px 10px 10px",padding:0,textAlign:"center"}).children(".jr_icon").css({width:100,height:100,margin:"1px auto",padding:0,background:"transparent no-repeat scroll left top",cursor:"pointer"}).each(function(){var e=a(this);e.css("background","transparent url("+v.imagePath+"browser_"+e.parent("li").attr("id").replace(/jr_/,"")+".gif) no-repeat scroll left top");e.click(function(){var g=a(this).next("div").children("a").attr("href");b(g)})}).siblings("div").css({color:"#808080",fontSize:"0.8em",height:18,lineHeight:"17px",margin:"1px auto",padding:0,width:118,textAlign:"center"}).children("a").css({color:"#333",textDecoration:"none",padding:0,margin:0}).hover(function(){a(this).css("textDecoration","underline")},function(){a(this).css("textDecoration","none")}).click(function(){b(a(this).attr("href"));return !1}).parents("#jr_inner").children("#jr_close").css({margin:"0 0 0 50px",clear:"both",textAlign:"left",padding:0,margin:0}).children("a").css({color:"#000",display:"block",width:"auto",margin:0,padding:0,textDecoration:"underline"}).click(function(){a(this).trigger("closejr");if("#"===v.closeURL){return !1}}).nextAll("p").css({padding:"10px 0 0 0",margin:0});a("#jr_overlay").focus();a("embed, object, select, applet").hide();a("body").append(l.hide().fadeIn(v.fadeInTime));a(window).bind("resize scroll",function(){var e=d();a("#jr_overlay").css({width:e[0],height:e[1]});var g=c();a("#jr_wrap").css({top:g[1]+e[3]/4,left:g[0]})});v.closeESC&&a(document).bind("keydown",function(e){27==e.keyCode&&l.trigger("closejr")});a.isFunction(v.afterReject)&&v.afterReject(v);return !0};var d=function(){var h=window.innerWidth&&window.scrollMaxX?window.innerWidth+window.scrollMaxX:document.body.scrollWidth>document.body.offsetWidth?document.body.scrollWidth:document.body.offsetWidth,f=window.innerHeight&&window.scrollMaxY?window.innerHeight+window.scrollMaxY:document.body.scrollHeight>document.body.offsetHeight?document.body.scrollHeight:document.body.offsetHeight,i=window.innerWidth?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth,j=window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight;return[h<i?h:i,f<j?j:f,i,j]},c=function(){return[window.pageXOffset?window.pageXOffset:document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollLeft:document.body.scrollLeft,window.pageYOffset?window.pageYOffset:document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop]}})(jQuery);
