var swfobject=function(){var c="undefined",g="object",I="Shockwave Flash",O="ShockwaveFlash.ShockwaveFlash",s="application/x-shockwave-flash",F="SWFObjectExprInst",D="onreadystatechange",d=window,b=document,j=navigator,N=false,t=[U],i=[],u=[],n=[],o,q,z,G,l=false,p=false,f,v,K=true,a=function(){var m=typeof b.getElementById!=c&&typeof b.getElementsByTagName!=c&&typeof b.createElement!=c,h=j.userAgent.toLowerCase(),f=j.platform.toLowerCase(),l=f?/win/.test(f):/win/.test(h),o=f?/mac/.test(f):/mac/.test(h),n=/webkit/.test(h)?parseFloat(h.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,i=!+"\131",e=[0,0,0],a=null;if(typeof j.plugins!=c&&typeof j.plugins[I]==g){a=j.plugins[I].description;if(a&&!(typeof j.mimeTypes!=c&&j.mimeTypes[s]&&!j.mimeTypes[s].enabledPlugin)){N=true;i=false;a=a.replace(/^.*\s+(\S+\s+\S+$)/,"$1");e[0]=parseInt(a.replace(/^(.*)\..*$/,"$1"),10);e[1]=parseInt(a.replace(/^.*\.(.*)\s.*$/,"$1"),10);e[2]=/[a-zA-Z]/.test(a)?parseInt(a.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else if(typeof d.ActiveXObject!=c)try{var k=new ActiveXObject(O);if(k){a=k.GetVariable("$version");if(a){i=true;a=a.split(" ")[1].split(",");e=[parseInt(a[0],10),parseInt(a[1],10),parseInt(a[2],10)]}}}catch(p){}return {w3:m,pv:e,wk:n,ie:i,win:l,mac:o}}(),V=function(){if(!a.w3)return;(typeof b.readyState!=c&&b.readyState=="complete"||typeof b.readyState==c&&(b.getElementsByTagName("body")[0]||b.body))&&m();if(!l){typeof b.addEventListener!=c&&b.addEventListener("DOMContentLoaded",m,false);if(a.ie&&a.win){b.attachEvent(D,function(){if(b.readyState=="complete"){b.detachEvent(D,arguments.callee);m()}});d==top&&(function(){if(l)return;try{b.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}m()})()}a.wk&&(function(){if(l)return;if(!/loaded|complete/.test(b.readyState)){setTimeout(arguments.callee,0);return}m()})();J(m)}}();function m(){if(l)return;try{var c=b.getElementsByTagName("body")[0].appendChild(h("span"));c.parentNode.removeChild(c)}catch(e){return}l=true;for(var d=t.length,a=0;a<d;a++)t[a]()}function H(a){if(l)a();else t[t.length]=a}function J(a){if(typeof d.addEventListener!=c)d.addEventListener("load",a,false);else if(typeof b.addEventListener!=c)b.addEventListener("load",a,false);else if(typeof d.attachEvent!=c)T(d,"onload",a);else if(typeof d.onload=="function"){var e=d.onload;d.onload=function(){e();a()}}else d.onload=a}function U(){if(N)Q();else B()}function Q(){var i=b.getElementsByTagName("body")[0],e=h(g);e.setAttribute("type",s);var d=i.appendChild(e);if(d){var f=0;(function(){if(typeof d.GetVariable!=c){var b=d.GetVariable("$version");if(b){b=b.split(" ")[1].split(",");a.pv=[parseInt(b[0],10),parseInt(b[1],10),parseInt(b[2],10)]}}else if(f<10){f++;setTimeout(arguments.callee,10);return}i.removeChild(e);d=null;B()})()}else B()}function B(){var p=i.length;if(p>0)for(var h=0;h<p;h++){var g=i[h].id,f=i[h].callbackFn,d={success:false,id:g};if(a.pv[0]>0){var b=e(g);if(b)if(r(i[h].swfVersion)&&!(a.wk&&a.wk<312)){k(g,true);if(f){d.success=true;d.ref=A(g);f(d)}}else if(i[h].expressInstall&&y()){var j={};j.data=i[h].expressInstall;j.width=b.getAttribute("width")||"0";j.height=b.getAttribute("height")||"0";if(b.getAttribute("class"))j.styleclass=b.getAttribute("class");if(b.getAttribute("align"))j.align=b.getAttribute("align");for(var o={},m=b.getElementsByTagName("param"),q=m.length,l=0;l<q;l++)if(m[l].getAttribute("name").toLowerCase()!="movie")o[m[l].getAttribute("name")]=m[l].getAttribute("value");x(j,o,g,f)}else{P(b);f&&f(d)}}else{k(g,true);if(f){var n=A(g);if(n&&typeof n.SetVariable!=c){d.success=true;d.ref=n}f(d)}}}}function A(f){var b=null,a=e(f);if(a&&a.nodeName=="OBJECT")if(typeof a.SetVariable!=c)b=a;else{var d=a.getElementsByTagName(g)[0];if(d)b=d}return b}function y(){return !p&&r("6.0.65")&&(a.win||a.mac)&&!(a.wk&&a.wk<312)}function x(g,j,i,m){p=true;z=m||null;G={success:false,id:i};var f=e(i);if(f){if(f.nodeName=="OBJECT"){o=w(f);q=null}else{o=f;q=i}g.id=F;if(typeof g.width==c||!/%$/.test(g.width)&&parseInt(g.width,10)<310)g.width="310";if(typeof g.height==c||!/%$/.test(g.height)&&parseInt(g.height,10)<137)g.height="137";b.title=b.title.slice(0,47)+" - Flash Player Installation";var n=a.ie&&a.win?"ActiveX":"PlugIn",l="MMredirectURL="+d.location.toString().replace(/&/g,"%26")+"&MMplayerType="+n+"&MMdoctitle="+b.title;if(typeof j.flashvars!=c)j.flashvars+="&"+l;else j.flashvars=l;if(a.ie&&a.win&&f.readyState!=4){var k=h("div");i+="SWFObjectNew";k.setAttribute("id",i);f.parentNode.insertBefore(k,f);f.style.display="none";(function(){if(f.readyState==4)f.parentNode.removeChild(f);else setTimeout(arguments.callee,10)})()}C(g,j,i)}}function P(b){if(a.ie&&a.win&&b.readyState!=4){var c=h("div");b.parentNode.insertBefore(c,b);c.parentNode.replaceChild(w(b),c);b.style.display="none";(function(){if(b.readyState==4)b.parentNode.removeChild(b);else setTimeout(arguments.callee,10)})()}else b.parentNode.replaceChild(w(b),b)}function w(f){var d=h("div");if(a.win&&a.ie)d.innerHTML=f.innerHTML;else{var e=f.getElementsByTagName(g)[0];if(e){var b=e.childNodes;if(b)for(var i=b.length,c=0;c<i;c++)!(b[c].nodeType==1&&b[c].nodeName=="PARAM")&&!(b[c].nodeType==8)&&d.appendChild(b[c].cloneNode(true))}}return d}function C(b,f,q){var n,l=e(q);if(a.wk&&a.wk<312)return n;if(l){if(typeof b.id==c)b.id=q;if(a.ie&&a.win){var o="";for(var d in b)if(b[d]!=Object.prototype[d])if(d.toLowerCase()=="data")f.movie=b[d];else if(d.toLowerCase()=="styleclass")o+=' class="'+b[d]+'"';else if(d.toLowerCase()!="classid")o+=" "+d+'="'+b[d]+'"';var p="";for(var m in f)if(f[m]!=Object.prototype[m])p+='<param name="'+m+'" value="'+f[m]+'" />';l.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+o+">"+p+"</object>";u[u.length]=b.id;n=e(b.id)}else{var j=h(g);j.setAttribute("type",s);for(var i in b)if(b[i]!=Object.prototype[i])if(i.toLowerCase()=="styleclass")j.setAttribute("class",b[i]);else i.toLowerCase()!="classid"&&j.setAttribute(i,b[i]);for(var k in f)f[k]!=Object.prototype[k]&&k.toLowerCase()!="movie"&&S(j,k,f[k]);l.parentNode.replaceChild(j,l);n=j}}return n}function S(d,c,b){var a=h("param");a.setAttribute("name",c);a.setAttribute("value",b);d.appendChild(a)}function M(c){var b=e(c);if(b&&b.nodeName=="OBJECT")if(a.ie&&a.win){b.style.display="none";(function(){if(b.readyState==4)R(c);else setTimeout(arguments.callee,10)})()}else b.parentNode.removeChild(b)}function R(c){var a=e(c);if(a){for(var b in a)if(typeof a[b]=="function")a[b]=null;a.parentNode.removeChild(a)}}function e(c){var a=null;try{a=b.getElementById(c)}catch(d){}return a}function h(a){return b.createElement(a)}function T(b,a,c){b.attachEvent(a,c);n[n.length]=[b,a,c]}function r(d){var c=a.pv,b=d.split(".");b[0]=parseInt(b[0],10);b[1]=parseInt(b[1],10)||0;b[2]=parseInt(b[2],10)||0;return c[0]>b[0]||c[0]==b[0]&&c[1]>b[1]||c[0]==b[0]&&c[1]==b[1]&&c[2]>=b[2]?true:false}function L(k,j,d,m){if(a.ie&&a.mac)return;var l=b.getElementsByTagName("head")[0];if(!l)return;var e=d&&typeof d=="string"?d:"screen";if(m){f=null;v=null}if(!f||v!=e){var i=h("style");i.setAttribute("type","text/css");i.setAttribute("media",e);f=l.appendChild(i);if(a.ie&&a.win&&typeof b.styleSheets!=c&&b.styleSheets.length>0)f=b.styleSheets[b.styleSheets.length-1];v=e}if(a.ie&&a.win)f&&typeof f.addRule==g&&f.addRule(k,j);else f&&typeof b.createTextNode!=c&&f.appendChild(b.createTextNode(k+" {"+j+"}"))}function k(a,c){if(!K)return;var b=c?"visible":"hidden";if(l&&e(a))e(a).style.visibility=b;else L("#"+a,"visibility:"+b)}function E(a){var d=/[\\\"<>\.;]/,b=d.exec(a)!=null;return b&&typeof encodeURIComponent!=c?encodeURIComponent(a):a}var W=function(){a.ie&&a.win&&window.attachEvent("onunload",function(){for(var e=n.length,b=0;b<e;b++)n[b][0].detachEvent(n[b][1],n[b][2]);for(var d=u.length,c=0;c<d;c++)M(u[c]);for(var f in a)a[f]=null;a=null;for(var g in swfobject)swfobject[g]=null;swfobject=null})}();return {registerObject:function(c,e,f,d){if(a.w3&&c&&e){var b={};b.id=c;b.swfVersion=e;b.expressInstall=f;b.callbackFn=d;i[i.length]=b;k(c,false)}else d&&d({success:false,id:c})},getObjectById:function(b){if(a.w3)return A(b)},embedSWF:function(o,b,l,j,m,n,d,i,h,e){var f={success:false,id:b};if(a.w3&&!(a.wk&&a.wk<312)&&o&&b&&l&&j&&m){k(b,false);H(function(){l+="";j+="";var a={};if(h&&typeof h===g)for(var s in h)a[s]=h[s];a.data=o;a.width=l;a.height=j;var p={};if(i&&typeof i===g)for(var t in i)p[t]=i[t];if(d&&typeof d===g)for(var q in d)if(typeof p.flashvars!=c)p.flashvars+="&"+q+"="+d[q];else p.flashvars=q+"="+d[q];if(r(m)){var u=C(a,p,b);a.id==b&&k(b,true);f.success=true;f.ref=u}else if(n&&y()){a.data=n;x(a,p,b,e);return}else k(b,true);e&&e(f)})}else e&&e(f)},switchOffAutoHideShow:function(){K=false},ua:a,getFlashPlayerVersion:function(){return {major:a.pv[0],minor:a.pv[1],release:a.pv[2]}},hasFlashPlayerVersion:r,createSWF:function(c,d,b){if(a.w3)return C(c,d,b);else return undefined},showExpressInstall:function(d,e,b,c){a.w3&&y()&&x(d,e,b,c)},removeSWF:function(b){a.w3&&M(b)},createCSS:function(e,d,c,b){a.w3&&L(e,d,c,b)},addDomLoadEvent:H,addLoadEvent:J,getQueryParamValue:function(e){var c=b.location.search||b.location.hash;if(c){if(/\?/.test(c))c=c.split("?")[1];if(e==null)return E(c);for(var d=c.split("&"),a=0;a<d.length;a++)if(d[a].substring(0,d[a].indexOf("="))==e)return E(d[a].substring(d[a].indexOf("=")+1))}return ""},expressInstallCallback:function(){if(p){var b=e(F);if(b&&o){b.parentNode.replaceChild(o,b);if(q){k(q,true);if(a.ie&&a.win)o.style.display="block"}z&&z(G)}p=false}}}}(),VisibleGains={};VisibleGains.Helpers={};VisibleGains.Helpers.getScriptLocation=function(){return "http://apps.visiblegains.com"};VisibleGains.Helpers.importScript=function(a){document.write("<script");document.write(' language="javascript"');document.write(' type="text/javascript"');document.write(' src="'+a+'">');document.write("</"+"script>")};VisibleGains.Helpers.importStylesheet=function(a){document.write("<link");document.write(' rel="stylesheet"');document.write(' type="text/css"');document.write(' href="'+a+'">');document.write("</link>")};VisibleGains.Helpers.loadImage=function(b){var a=new Image;a.src=b;return a};VisibleGains.Helpers.combinePath=function(a,f){if(a=="")return f;var e="";if(a.lastIndexOf("/")==a.length-1)a=a.substring(0,a.length-1);for(var d=a.split("/"),c=f.split("/"),b=0;b<c.length;b++){if(c[b]==".."){d.pop();continue}if(c[b]==".")continue;e+="/"+c[b]}return d.join("/")+e};VisibleGains.Helpers.parseQueryString=function(a){var e={};if(!a)return e;if(a.indexOf("?")>-1)a=a.substring(a.indexOf("?")+1);for(var d=a.split(/[;&]/),b=0;b<d.length;b++){var g=d[b].indexOf("="),c=[d[b].substring(0,g),d[b].substring(g+1)];if(!c||c.length!=2)continue;var h=unescape(c[0]),f=unescape(c[1]);f=f.replace(/\+/g," ");e[h]=f}return e};VisibleGains.Helpers.generateId=function(){var a=new Date,b="_visibleGains"+Math.floor(Math.random()*1001)+"_"+a.getTime()+"_"+a.getMilliseconds();return b};VisibleGains.Events={};VisibleGains.Events.addListener=function(a,d,c){var b="on"+d;if(a.addEventListener)a.addEventListener(d,c,false);else if(a.attachEvent)a.attachEvent(b,c);else if(a[b]!=undefined)try{a[b]+=c}catch(e){a[b]=c}};VisibleGains.Events.removeListener=function(a,d,c){var b="on"+d;if(a.removeEventListener)a.removeEventListener(d,c);else if(a.attachEvent)a.detachEvent(b,c);else if(a[b]!=undefined)try{a[b]-=c}catch(e){a[b]=null}};VisibleGains.Embed={};VisibleGains.Embed.inlineEmbed=function(a,d,c,b){jQuery("#"+a).html(VisibleGains.Embed.getEmbedCode(d,c,b))};VisibleGains.Embed.Lightbox=function(){};VisibleGains.Embed.Lightbox.closeButton="http://so.cdn.visiblegains.com/images/lb_close.png";VisibleGains.Embed.Lightbox.hideElementsOnOpen="embed, object, select, #uservoice-feedback";var _vgScriptLocation=VisibleGains.Helpers.getScriptLocation();VisibleGains.Embed.Lightbox.dropShadow={topLeft:VisibleGains.Helpers.combinePath(_vgScriptLocation,"./Content/images/shadow_180.png"),topRightCorner:VisibleGains.Helpers.combinePath(_vgScriptLocation,"./Content/images/shadow_tr.png"),bottomRight:VisibleGains.Helpers.combinePath(_vgScriptLocation,"./Content/images/shadow.png"),bottomLeftCorner:VisibleGains.Helpers.combinePath(_vgScriptLocation,"./Content/images/shadow_bl.png")};VisibleGains.Embed.Lightbox.closeAndNavigateToURL=function(a){VisibleGains.Embed.Lightbox.remove();window.location.href=a};VisibleGains.Embed.Lightbox.init=function(a){var b=VisibleGains.Helpers.getScriptLocation();this.domElements=a;typeof jQuery=="undefined"&&VisibleGains.Helpers.importScript("http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js");VisibleGains.Events.addListener(window,"load",function(){typeof $=="function"&&$!=jQuery&&jQuery.noConflict();VisibleGains.Embed.Lightbox.applyLightboxToDocument(a)})};VisibleGains.Embed.Lightbox.parseOptions=function(a){a.borderTop=a.borderTop!=null?parseInt(a.borderTop):0;a.borderLeft=a.borderLeft!=null?parseInt(a.borderLeft):0;a.borderRight=a.borderRight!=null?parseInt(a.borderRight):0;a.borderBottom=a.borderBottom!=null?parseInt(a.borderBottom):0;a.borderColor=a.borderColor!=null?a.borderColor:"#ffffff";a.backgroundColor=a.backgroundColor!=null?a.backgroundColor:"#ffffff";a.background=a.background!=null?a.background:null;a.clickRemove=a.clickRemove!=null?Boolean(a.clickRemove):true;a.closeButton=a.closeButton!=null?Boolean(a.closeButton):true;if(!a.inlineid){a.width=590;a.height=375}return a};VisibleGains.Embed.Lightbox.applyLightboxToDocument=function(a){jQuery(document).find(a).each(function(){if(this.visibleGainsId!=null)return;VisibleGains.Embed.Lightbox.lightboxifyElement(this)})};VisibleGains.Embed.Lightbox.lightboxifyElement=function(c){var d=true,b=jQuery(c).attr("rel");if(!b)b=jQuery(c).attr("alt");if(!b)return;var a=VisibleGains.Helpers.parseQueryString(b);a=VisibleGains.Embed.Lightbox.parseOptions(a);VisibleGains.Embed.Lightbox.applyLightboxToElement(c,a.width,a.height,a)};VisibleGains.Embed.Lightbox.applyLightboxToElement=function(a,d,c,b){a.visibleGainsId=VisibleGains.Helpers.generateId();jQuery(a).click(function(){VisibleGains.Embed.Lightbox.show(d,c,b);return false})};VisibleGains.Embed.Lightbox.show=function(m,l,a){a=VisibleGains.Embed.Lightbox.parseOptions(a);var c=null,f='<a href="#" id="visibleGainsLb_close"></a>',g='<div id="visibleGainsLb_dropShadow"><div id="visibleGainsLb_dsTopLeft"></div><div id="visibleGainsLb_dsTopRightCorner"></div><div id="visibleGainsLb_dsBottonLeftCorner"></div><div id="visibleGainsLb_dsBottonRight"></div></div>';jQuery(VisibleGains.Embed.Lightbox.hideElementsOnOpen).css({visibility:"hidden"});if(a.inlineid){c="#"+a.inlineid;jQuery(c).wrap('<div id="visibleGainsLb_container"><div id="visibleGainsLb_content" class="ui-corner-all"></div></div>');jQuery("#visibleGainsLb_container").before('<div id="visibleGainsLb_modal"></div>');jQuery("#visibleGainsLb_content").before(g);a.closeButton&&jQuery("#visibleGainsLb_content").before(f)}else{var d='<div id="visibleGainsLb_container">'+g;if(a.closeButton)d+=f;d+='<div id="visibleGainsLb_content"><div id="visibleGainsLb_swf"></div></div>';jQuery("body").append('<div id="visibleGainsLb_modal"></div>');jQuery("body").append(d);var b={};b.embedded=false;b.autoPlay=true;b.disableReporting=false;b.visibleGainsVisitorid="6bd19cd9-01fa-45c5-a352-a827a1b54116";if(typeof __visibleGainsFlashVars=="object")for(var e in __visibleGainsFlashVars)for(var i in __visibleGainsFlashVars[e])b[e+"."+i]=__visibleGainsFlashVars[e][i];var h={};h.allowscriptaccess="always";var k=VisibleGains.Helpers.getScriptLocation(),j=VisibleGains.Helpers.combinePath(k,"./get/");swfobject.embedSWF(j+a.hash,"visibleGainsLb_swf","590","375","9.0.0","expressInstall.swf",b,h)}jQuery("#visibleGainsLb_modal").css({opacity:0,top:"0px",left:"0px","background-color":"#000000",position:"absolute",display:"block"});jQuery("#visibleGainsLb_container").hide();c&&jQuery(c).css({visibility:"visible",display:"block"});if(a.background)jQuery("#visibleGainsLb_content").css({background:a.background});else jQuery("#visibleGainsLb_content").css({"background-color":a.backgroundColor});VisibleGains.Embed.Lightbox.resizeLightbox(m,l,a);jQuery("#visibleGainsLb_modal").animate({opacity:.7},400,null,function(){jQuery("#visibleGainsLb_container").show();a.onshow!=null&&typeof a.onshow=="function"&&a.onshow()});jQuery("#visibleGainsLb_close").click(function(){VisibleGains.Embed.Lightbox.remove();return false});a.clickRemove&&jQuery("#visibleGainsLb_modal").click(function(){VisibleGains.Embed.Lightbox.remove()})};VisibleGains.Embed.Lightbox.remove=function(){jQuery("#visibleGainsLb_modal").unbind("click");jQuery("#visibleGainsLb_swf, #visibleGainsLb_dropShadow, #visibleGainsLb_close").remove();var b=jQuery("#visibleGainsLb_content > #visibleGainsLb_swf");if(!b.length){var a=jQuery("#visibleGainsLb_content").children(":first");jQuery("#visibleGainsLb_container").replaceWith(a);a.hide()}else jQuery("#visibleGainsLb_container").remove();jQuery("#visibleGainsLb_modal").remove();jQuery(VisibleGains.Embed.Lightbox.hideElementsOnOpen).css({visibility:"visible"});jQuery(window).unbind("resize")};VisibleGains.Embed.Lightbox.resizeLightbox=function(d,c,a){a=VisibleGains.Embed.Lightbox.parseOptions(a);var m=jQuery.browser.msie&&parseInt(jQuery.browser.version)==6,k=jQuery(window).width(),f=jQuery(window).height(),g=jQuery(document).height(),q=(f-c)/2,p=(k-d)/2;if(g<f)g=f;var l=20,b=36,j=10,h="fixed",o=d+a.borderLeft+a.borderRight,n=c+a.borderTop+a.borderBottom,i=d-j,e=-(c+l*2+a.borderBottom+a.borderTop+b/2+j);if(m){h="absolute";e=-(c*2+(a.borderTop+a.borderBottom+b)+l*2+b+1)}VisibleGains.Embed.Lightbox.resizeDropShadow(d+a.borderLeft+a.borderRight,c+a.borderTop+a.borderBottom,20);jQuery("#visibleGainsLb_modal").css({width:k+"px",height:g+"px","z-index":"9998",top:"0px",left:"0px","background-color":"#000000",position:"absolute",display:"block"});jQuery("#visibleGainsLb_container").css({"text-align":"left",width:o+"px",height:n+"px","z-index":"9999",position:h,top:q+"px",left:p+"px","background-color":"transparent"});jQuery("#visibleGainsLb_content").css({width:d+"px",height:c+"px","z-index":"9999",position:"absolute",top:0+"px",left:0+"px","border-top":a.borderTop+"px solid "+a.borderColor,"border-right":a.borderRight+"px solid "+a.borderColor,"border-bottom":a.borderBottom+"px solid "+a.borderColor,"border-left":a.borderLeft+"px solid "+a.borderColor});if(m)jQuery("#visibleGainsLb_close").attr("style","display: block; cursor: pointer; width: "+b+"px; height: "+b+"px; z-index: 10000; position: relative; top: "+e+"px; left: "+i+"px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+VisibleGains.Embed.Lightbox.closeButton+"', sizingMethod='scale');");else jQuery("#visibleGainsLb_close").css({width:b+"px",height:b+"px","z-index":"10000",position:"relative",left:i+"px",top:e+"px",background:"url("+VisibleGains.Embed.Lightbox.closeButton+")",display:"block",cursor:"pointer"});jQuery(window).unbind("resize");jQuery(window).resize(function(){VisibleGains.Embed.Lightbox.resizeLightbox(d,c,a)})};VisibleGains.Embed.Lightbox.resizeLightBox=function(c,b,a){return VisibleGains.Embed.Lightbox.resizeLightbox(c,b,a)};VisibleGains.Embed.Lightbox.resizeDropShadow=function(d,b,a){var c=jQuery.browser.msie&&parseInt(jQuery.browser.version)==6,h=c?"none":"url("+VisibleGains.Embed.Lightbox.dropShadow.topLeft+")",f=c?"none":"url("+VisibleGains.Embed.Lightbox.dropShadow.topRightCorner+")",g=c?"none":"url("+VisibleGains.Embed.Lightbox.dropShadow.bottomRight+")",e=c?"none":"url("+VisibleGains.Embed.Lightbox.dropShadow.bottomLeftCorner+")";jQuery("#visibleGainsLb_dropShadow").css({width:d+a*2+"px",height:b+a*2+"px","z-index":"9999",position:"relative",top:-a+"px",left:-a+"px"});jQuery("#visibleGainsLb_dsTopLeft").css({width:d+a+"px",height:b+a+"px","z-index":"9999",position:"relative",top:0+"px",left:0+"px","background-image":h,"background-repeat":"no-repeat","background-position":"top left"});jQuery("#visibleGainsLb_dsTopRightCorner").css({width:a+"px",height:a+"px","z-index":"9999",position:"relative",top:-(b+a)+"px",left:d+a+"px","background-image":f,"background-repeat":"no-repeat"});jQuery("#visibleGainsLb_dsBottonLeftCorner").css({width:a+"px",height:a+"px","z-index":"9999",position:"relative",top:-a+"px",left:0+"px","background-image":e,"background-repeat":"no-repeat"});jQuery("#visibleGainsLb_dsBottonRight").css({width:d+a+"px",height:b+a+"px","z-index":"9999",position:"relative",top:-(b+a*2),left:a+"px","background-image":g,"background-repeat":"no-repeat","background-position":"bottom right"})};VisibleGains.Embed.Lightbox.init("a.lightboxEmbed, area.lightboxEmbed, input.lightboxEmbed, div.lightboxEmbed");var MixpanelLib=function(q,r){var s={};s.config={cross_subdomain_cookie:true,cookie_name:"mp_super_properties",test:false,store_google:false,debug:false};s.super_properties={all:{},events:{},funnels:{}};s.funnels={};s.send_request=function(a,c){var e=s.callback_fn;if(a.indexOf("?")>-1)a+="&callback=";else a+="?callback=";a+=e+"&";if(c)a+=s.http_build_query(c);if(s.config.test)a+="&test=1";a+="&_="+(new Date).getTime().toString();var b=document.createElement("script");b.setAttribute("src",a);b.setAttribute("type","text/javascript");var d=document.getElementsByTagName("head")[0]||document.documentElement;d.insertBefore(b,d.firstChild)};s.track_funnel=function(c,d,e,a,f){if(!a)a={};a.funnel=c;a.step=parseInt(d,10);a.goal=e;if(a.step==1)if(document.referrer.search("http://(.*)google.com")===0){var b=s.get_query_param(document.referrer,"q");b.length&&s.register({mp_keyword:b},"funnels")}s.track("mp_funnel",a,f,"funnels")};s.get_query_param=function(c,b){b=b.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var d="[\\?&]"+b+"=([^&#]*)",e=new RegExp(d),a=e.exec(c);if(a===null||a&&typeof a[1]!="string"&&a[1].length)return "";else return unescape(a[1]).replace(/\+/g," ")};s.track=function(d,a,e,c){if(!c)c="events";if(!a)a={};if(!a.token)a.token=s.token;if(e)s.callback=e;a.time=s.get_unixtime();s.save_campaign_params();var b;if(c!="all")for(b in s.super_properties[c])if(!a[b])a[b]=s.super_properties[c][b];if(s.super_properties.all)for(b in s.super_properties.all)if(!a[b])a[b]=s.super_properties.all[b];var f={event:d,properties:a},g=s.base64_encode(s.json_encode(f));if(s.config.debug)if(window.console){console.log("-------------- REQUEST --------------");console.log(f)}s.send_request(s.api_host+"/track/",{data:g,ip:1});s.track_predefined_funnels(d,a)};s.identify=function(a){s.register_once({distinct_id:a},"all",null,30)};s.register_once=function(c,a,d,e){if(!a||!s.super_properties[a])a="all";if(!d)d="None";if(!e)e=7;if(c)for(var b in c)if(c.hasOwnProperty(b))if(!s.super_properties[a][b]||s.super_properties[a][b]==d)s.super_properties[a][b]=c[b];s.config.cross_subdomain_cookie&&s.clear_old_cookie();s.set_cookie(s.config.cookie_name,s.json_encode(s.super_properties),e,s.config.cross_subdomain_cookie)};s.register=function(a,b,c){if(!b||!s.super_properties[b])b="all";if(!c)c=7;if(a)for(var d in a)if(a.hasOwnProperty(d))s.super_properties[b][d]=a[d];s.config.cross_subdomain_cookie&&s.clear_old_cookie();s.set_cookie(s.config.cookie_name,s.json_encode(s.super_properties),c,s.config.cross_subdomain_cookie)};s.http_build_query=function(f,b){var a,e,d,g=0,c=[];if(!b)b="&";for(a in f)if(a){e=encodeURIComponent(f[a].toString());d=encodeURIComponent(a);c[g++]=d+"="+e}return c.join(b)};s.get_unixtime=function(){return parseInt((new Date).getTime().toString().substring(0,10),10)};s.jsonp_callback=function(a){if(s.callback){s.callback(a);s.callback=false}};s.json_encode=function(c){var f,d=c,e,b=function(a){var b=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,c={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};b.lastIndex=0;return b.test(a)?'"'+a.replace(b,function(a){var b=c[a];return typeof b==="string"?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'},a=function(j,l){var d="",m="    ",g=0,i="",f="",k=0,h=d,e=[],c=l[j];if(c&&typeof c==="object"&&typeof c.toJSON==="function")c=c.toJSON(j);switch(typeof c){case "string":return b(c);case "number":return isFinite(c)?String(c):"null";case "boolean":case "null":return String(c);case "object":if(!c)return "null";d+=m;e=[];if(Object.prototype.toString.apply(c)==="[object Array]"){k=c.length;for(g=0;g<k;g+=1)e[g]=a(g,c)||"null";f=e.length===0?"[]":d?"[\n"+d+e.join(",\n"+d)+"\n"+h+"]":"["+e.join(",")+"]";d=h;return f}for(i in c)if(Object.hasOwnProperty.call(c,i)){f=a(i,c);f&&e.push(b(i)+(d?": ":":")+f)}f=e.length===0?"{}":d?"{"+e.join(",")+""+h+"}":"{"+e.join(",")+"}";d=h;return f}};return a("",{"":d})};s.base64_encode=function(a){var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",m,k,l,g,h,i,j,c,e=0,n=0,b="",f=[];if(!a)return a;a=s.utf8_encode(a+"");do{m=a.charCodeAt(e++);k=a.charCodeAt(e++);l=a.charCodeAt(e++);c=m<<16|k<<8|l;g=c>>18&63;h=c>>12&63;i=c>>6&63;j=c&63;f[n++]=d.charAt(g)+d.charAt(h)+d.charAt(i)+d.charAt(j)}while(e<a.length);b=f.join("");switch(a.length%3){case 1:b=b.slice(0,-2)+"==";break;case 2:b=b.slice(0,-1)+"="}return b};s.utf8_encode=function(b){b=(b+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");var e="",d,c,h=0;d=c=0;h=b.length;for(var g=0;g<h;g++){var a=b.charCodeAt(g),f=null;if(a<128)c++;else if(a>127&&a<2048)f=String.fromCharCode(a>>6|192)+String.fromCharCode(a&63|128);else f=String.fromCharCode(a>>12|224)+String.fromCharCode(a>>6&63|128)+String.fromCharCode(a&63|128);if(f!==null){if(c>d)e+=b.substring(d,c);e+=f;d=c=g+1}}if(c>d)e+=b.substring(d,b.length);return e};s.set_cookie=function(e,f,d,g){var b=new Date,c=g?s.parse_domain(document.location.hostname):"",a=e+"="+escape(f);b.setDate(b.getDate()+d);a+=d===null?"":";expires="+b.toGMTString();a+="; path=/";a+=c?";domain=."+c:"";document.cookie=a};s.get_cookie=function(c){if(document.cookie.length>0){var a=document.cookie.indexOf(c+"=");if(a!=-1){a=a+c.length+1;var b=document.cookie.indexOf(";",a);if(b==-1)b=document.cookie.length;return unescape(document.cookie.substring(a,b))}}return ""};s.delete_cookie=function(a,b){s.set_cookie(a,"",-1,b)};s.parse_domain=function(b){var a=b.match(/[a-z0-9][a-z0-9\-]+\.[a-z\.]{2,6}$/i);return a?a[0]:""};s.get_super=function(){var a=eval("("+s.get_cookie(s.config.cookie_name)+")");if(a)for(var i in a)if(a.hasOwnProperty(i))s.super_properties[i]=a[i];return s.super_properties};s.register_funnel=function(a,b){s.funnels[a]=b};s.track_predefined_funnels=function(c,d){if(c&&s.funnels)for(var a in s.funnels)if(s.funnels.hasOwnProperty(a))for(var b=0;b<s.funnels[a].length;++b)if(s.funnels[a][b])s.funnels[a][b]==c&&s.track_funnel(a,b+1,c,d)};s.save_campaign_params=function(){s.campaign_params_saved=s.campaign_params_saved||false;if(s.config.store_google&&!s.campaign_params_saved&&document.referrer.search("http://(.*)google.com")===0){for(var c=["utm_source","utm_medium","utm_campaign","utm_content","utm_term"],b="",d={},a=0;a<c.length;a++){b=s.get_query_param(document.URL,c[a]);if(b.length)d[c[a]]=b}s.register_once(d);s.campaign_params_saved=true}};s.clear_old_cookie=function(){s.delete_cookie(s.config.cookie_name,false);s.set_cookie(s.config.cookie_name,s.json_encode(s.super_properties),7,true)};s.set_config=function(a){for(var b in a)if(a.hasOwnProperty(b))s.config[b]=a[b]};var t="https:"==document.location.protocol?"https://":"http://";s.token=q;s.api_host=t+"api.mixpanel.com";if(r)s.callback_fn=r+".jsonp_callback";else s.callback_fn="mpmetrics.jsonp_callback";try{s.get_super()}catch(a){}return s};if(typeof mpq!="undefined"&&mpq&&mpq[0]&&mpq[0][0]=="init"){mpq.metrics=new MixpanelLib(mpq[0][1],"mpq.metrics");mpq.push=function(a){if(a)if(typeof a=="function")a();else if(a.constructor==Array){var b=mpq.metrics[a[0]];typeof b=="function"&&b.apply(mpq.metrics,a.slice(1))}};for(var i=1;i<mpq.length;i++)mpq.push(mpq[i]);mpq.length=0}try{var mpmetrics=new MixpanelLib("d768b17039ff024cadb50276f80dd48a")}catch(a){null_fn=function(){};var mpmetrics={track:null_fn,track_funnel:null_fn,register:null_fn,register_once:null_fn,register_funnel:null_fn,identify:null_fn}}mpmetrics.register({bucket:"1291",account_id:"332",app_id:"1291",app_name:"Core Security",vg_visitor_id:"6bd19cd9-01fa-45c5-a352-a827a1b54116",visitor_ip:"38.107.179.227",embed_url:location.href});mpmetrics.track("app-impression")
