﻿/*! Respond.js v1.0.1pre: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs  */
function validateOnBlur(n,t){for(var r,i=0;i<n.length;i++)n[i].id.indexOf(t.attr("id"))!=-1&&(n[i].isvalid||(r=n[i].id.substring(n[i].id.length-1)-1,t.siblings("span").eq(r).css("display","block"),t.siblings("span:visible").css("display","block")))}function riaTrack(n){goToPage(n)}function goToPage(n){dcsMultiTrack("DCS.dcsuri",n,"DCS.dcsqry","","WT.ti",n),firstTracker._trackPageview(n),secondTracker._trackPageview(n)}function getQuerystring(n,t){t==null&&(t=""),n=n.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var r=new RegExp("[\\?&]"+n+"=([^&#]*)"),i=r.exec(window.location.href);return i==null?t:i[1]}function WebTrends(){var n=this;this.dcsid="dcsx5r2z6x4568dp93c02vf9d_4y5t",this.domain="sdc.enlighten.com",this.timezone=-5,this.fpcdom="",this.onsitedoms="biore.com,enlighten.com",this.downloadtypes="xls,doc,pdf,txt,csv,zip",this.rightclicktypes="xls,doc,pdf,txt,csv,zip",this.trackevents=!0,this.enabled=!0,this.i18n=!1,this.fpc="WT_FPC",this.DCS={},this.WT={},this.DCSext={},this.images=[],this.index=0,this.exre=function(){return window.RegExp?new RegExp("dcs(uri)|(ref)|(aut)|(met)|(sta)|(sip)|(pro)|(byt)|(dat)|(p3p)|(cfg)|(redirect)|(cip)","i"):""}(),this.re=function(){return window.RegExp?n.i18n?{"%25":/\%/g}:{"%09":/\t/g,"%20":/ /g,"%23":/\#/g,"%26":/\&/g,"%2B":/\+/g,"%3F":/\?/g,"%5C":/\\/g,"%22":/\"/g,"%7F":/\x7F/g,"%A0":/\xA0/g}:""}(),this.spenabled=!0,this.spinterval=5,this.spmaxcount=6,this.spcount=0}function dcsMultiTrack(){if(typeof _tag!="undefined")return _tag.dcsMultiTrack()}function dcsDebug(){if(typeof _tag!="undefined")return _tag.dcsDebug()}function dcsDebug2(){if(typeof _tag!="undefined")return _tag.dcsDebug2()}function pgtimer(){document.cookie.indexOf("pulse=1")<0&&(document.cookie="pulse=1; path=/"),_tag.spcount+=_tag.spinterval,typeof window.dcsMultiTrack=="function"&&(window.location.search?dcsMultiTrack("DCS.dcsqry",window.location.search+"&elapsedtime="+_tag.spcount):dcsMultiTrack("DCS.dcsqry","?elapsedtime="+_tag.spcount),_tag.spcount<_tag.spmaxcount*_tag.spinterval&&setTimeout("pgtimer()",_tag.spinterval*1e3))}(function(n,t){function y(){s(!0)}n.respond={},respond.update=function(){},respond.mediaQueriesSupported=t;if(t)return;var i=n.document,v=i.documentElement,l=[],u=[],r=[],c={},p=30,f=i.getElementsByTagName("head")[0]||v,e=f.getElementsByTagName("link"),h=[],w=function(){for(var o=e,s=o.length,u=0,i,t,r,f;u<s;u++)i=o[u],t=i.href,r=i.media,f=i.rel&&i.rel.toLowerCase()==="stylesheet",!t||!f||c[t]||(i.styleSheet&&i.styleSheet.rawCssText?(k(i.styleSheet.rawCssText,t,r),c[t]=!0):/^([a-zA-Z]+?:(\/\/)?)/.test(t)&&t.replace(RegExp.$1,"").split("/")[0]!==n.location.host||h.push({href:t,media:r}));b()},b=function(){if(h.length){var n=h.shift();d(n.href,function(t){k(t,n.href,n.media),c[n.href]=!0,b()})}},k=function(n,t,i){var e=n.match(/@media[^\{]+\{([^\{\}]+\{[^\}\{]+\})+/gi),c=e&&e.length||0,t=t.substring(0,t.lastIndexOf("/")),y=function(n){return n.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+t+"$2$3")},p=!c&&i,h=0,f,o,r,a,v;for(t.length&&(t+="/"),p&&(c=1);h<c;h++)for(f=0,p?(o=i,u.push(y(n))):(o=e[h].match(/@media ([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,u.push(RegExp.$2&&y(RegExp.$2))),a=o.split(","),v=a.length;f<v;f++)r=a[f],l.push({media:r.match(/(only\s+)?([a-zA-Z]+)(\sand)?/)&&RegExp.$2,rules:u.length-1,minw:r.match(/\(min\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)&&parseFloat(RegExp.$1),maxw:r.match(/\(max\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)&&parseFloat(RegExp.$1)});s()},o,a,s=function(n){var k="clientWidth",b=v[k],g=i.compatMode==="CSS1Compat"&&b||i.body[k]||b,y={},d=i.createDocumentFragment(),tt=e[e.length-1],nt=+new Date,t,h,c,w;if(n&&o&&nt-o<p){clearTimeout(a),a=setTimeout(s,p);return}o=nt;for(h in l)t=l[h],(t.minw||t.maxw)&&(t.minw&&(!t.minw||g<t.minw)||t.maxw&&(!t.maxw||g>t.maxw))||(y[t.media]||(y[t.media]=[]),y[t.media].push(u[t.rules]));for(h in r)r[h]&&r[h].parentNode===f&&f.removeChild(r[h]);for(h in y)c=i.createElement("style"),w=y[h].join("\n"),c.type="text/css",c.media=h,c.styleSheet?c.styleSheet.cssText=w:c.appendChild(i.createTextNode(w)),d.appendChild(c),r.push(c);f.insertBefore(d,tt.nextSibling)},d=function(n,t){var i=g();if(!i)return;i.open("GET",n,!0),i.onreadystatechange=function(){if(i.readyState!=4||i.status!=200&&i.status!=304)return;t(i.responseText)};if(i.readyState==4)return;i.send(null)},g=function(){var n=!1;try{n=new XMLHttpRequest}catch(t){n=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return n}}();w(),respond.update=w,n.addEventListener?n.addEventListener("resize",y,!1):n.attachEvent&&n.attachEvent("onresize",y)})(this,function(n){if(n.matchMedia)return!0;var f,i=document,u=i.documentElement,s=u.firstElementChild||u.firstChild,e=!i.body,r=i.body||i.createElement("body"),t=i.createElement("div"),o="only all";return t.id="mq-test-1",t.style.cssText="position:absolute;top:-99em",r.appendChild(t),t.innerHTML='_<style media="'+o+'"> #mq-test-1 { width: 9px; }</style>',e&&u.insertBefore(r,s),t.removeChild(t.firstChild),f=t.offsetWidth==9,e?u.removeChild(r):r.removeChild(t),f}(this)),$(function(){global.init()});var global={resize:null,flashPrefix:"../flash/",resize:null,sendVideoTrack:null,init:function(){$(".home").length&&global.startCycle(),$(".mobile").length&&setTimeout(function(){window.scrollTo(0,1)},500);var n={over:global.dropdownOver,timeout:200,out:global.dropdownOut};$("#topnavItem1").hoverIntent(n),$("#ourProductsBlock a").click(function(){global.dropdownOut()}),$(".prodList h2").click(global.ourProductsHeadingClick),$(".scrollPage").click(function(n){n.preventDefault();var i=$(this).attr("href"),t=$(i).offset().top;$("html:not(:animated),body:not(:animated)").animate({scrollTop:t-20},500)}),$("a.videoLink").removeAttr("target"),$("a.videoLink").click(function(n){n.preventDefault();var t=$(this).attr("rel").split("::")[1].split("|"),i=$(this).find("img").attr("src");global.playVideo($(this).attr("href"),$(this).parent().attr("id"),t[0],t[1],t[2],global.flashPrefix+"FlashVideoPlayer_scale.swf",i)}),Modernizr.touch?$("body").addClass("touch"):$("body").addClass("notouch"),global.addRemoveClickEvents(),$(window).resize(function(){clearTimeout(global.resize),global.resize=setTimeout(function(){global.addRemoveClickEvents()},300)})},ourProductsHeadingClick:function(){global.showHideContent(this,$(".prodList"),$(this).parent(),!0)},addRemoveClickEvents:function(){$(".prodList h2").unbind("click"),$(window).width()<625&&$(".prodList h2").bind("click",global.ourProductsHeadingClick)},dropdownOver:function(){var n=global.getWindowWidth();n>624&&$("#ourProductsBlock").addClass("open").animate({filter:"alpha(opacity=100)",opacity:1},300,function(){$(".ie").length&&$("#ourProductsBlock").get(0).style.removeAttribute("filter")})},dropdownOut:function(){var n=global.getWindowWidth();n>624&&$("#ourProductsBlock").stop().removeClass("open").css({filter:"alpha(opacity=0)",opacity:0})},startCycle:function(){$(".flexslider").flexslider({animation:"fade",controlsContainer:"#pager",directionNav:!1,slideshowSpeed:7e3,start:function(n){global.removeIEFilter(n)},after:function(n){global.removeIEFilter(n)}})},showHideContent:function(n,t,i,r){var f=!1,u;$(i).hasClass("open")&&(f=!0),$(t).removeClass("open"),u=$(n).offset().top,r&&$("html:not(:animated),body:not(:animated)").animate({scrollTop:u-10},500),f||$(i).addClass("open").removeClass("hide")},removeIEFilter:function(n){$(".ie").length&&$(n).find("li").each(function(){this.style.removeAttribute("filter")})},getWindowWidth:function(){var t=$(window).height(),n;return $("body.ie").css({height:t,overflow:"hidden"}),n=$.browser.safari||$.browser.msie?document.body.clientWidth:window.innerWidth,$("body.ie").removeAttr("style"),n},playVideo:function(n,t,i,r,u,f,e){var a,s,h,v,y;if(n=="")return!1;a=f,(f==null||f=="")&&(a=global.flashPrefix+"FlashVideoPlayer_scale.swf");var d=n,p="9.0.115",w=22,k="518",b="310";i==""&&(i=k),r==""&&(r=b),u==""&&(u="9999"),(f==null||f=="")&&(f=global.flashPrefix+"FlashVideoPlayer_scale.swf"),s=$(".videoHolder").height(),h=$(".videoHolder").width(),i=parseInt(i),r=parseInt(r);if(i>h||r>s){var o=i/r,c=i,l=r;r>s?(r=s,i=c>l?r*o:r/o,i>h&&(i=h,r=c>l?i/o:i*o)):(i=h,r=c>l?i/o:i*o,r>s&&(r=s,i=c>l?r*o:r/o))}v=parseInt(i),y=parseInt(r)+w,global.createVideoObject(p,t,n,i,r,u,a,v,y,e),global.detectAndroid()&&$("video").live("click",function(){this.play()})},createNonFlashContent:function(n){var s="To see this video you need JavaScript enabled and the latest version of Flash.  You can also use a browser that supports H.264 HTML5 Video.",o="Click here",e="http://www.adobe.com/go/getflashplayer",f=" to go to the Adobe Flash download center.",i=$("<div></div>").attr("id",n+"noflash").addClass("no-flash"),r=$("<p></p>").text(s),u=$("<a></a>").attr({href:e,target:"_blank"}).text(o),t=$("<p></p>").text(f);return t.prepend(u),i.append(r).append(t),i},createVideoObject:function(n,t,i,r,u,f,e,o,s,h){var c,v,a,l,y;$("#"+t).html(global.createNonFlashContent(t)),global.supports_html5_h264_video()?(c={},c.src=i,c.poster=h,c.width=r,c.height=u,c.controls="true",c.autoplay="true",v=$("<video></video>").attr(c),$("#"+t).html(v),$(v).gVideo(),$(v).get(0).play(),setTimeout(function(){$(v).get(0).play()},50),$(v).bind("timeupdate",global.trackVideoTime),$("#"+t).parent().width(r)):swfobject.hasFlashPlayerVersion(n)&&(a={},a.videoUrl=i,a.videoWidth=r,a.videoHeight=u,a.videoDuration=f,l={},l.menu="false",l.scalemode="noscale",l.quality="high",l.wmode="opaque",l.bgcolor="#3E3C3C",y={},swfobject.embedSWF(e,t,o,s,n,null,a,l,y))},supports_html5_h264_video:function(){if(global.detectAndroid())return!0;if(document.createElement("video").canPlayType){var n=document.createElement("video");return!!n.canPlayType("video/mp4")}return!1},detectAndroid:function(){for(var t=["android"],i=navigator.userAgent.toLowerCase(),n=0;n<t.length;n++)if(i.indexOf(t[n])!=-1)return!0;return!1},trackVideoTime:function(){var t=this.currentTime.toFixed(0),n=this.duration.toFixed(0),i="VideoProgress_",r=this.src;(t==n*.9||t==n*.75||t==n*.5||t==n*.25)&&(i+=(t/n*100).toString(),clearTimeout(global.sendVideoTrack),global.sendVideoTrack=setTimeout(function(){goToPage("VideoPlayerEvent/VideoProgress_"+i+"/"+r+"/")},1e3))}};window.Modernizr=function(n,t,i){function c(n,t){return typeof n===t}function v(n){w.cssText=n}var k="2.0.6",r={},g=t.documentElement,it=t.head||t.getElementsByTagName("head")[0],u="modernizr",y=t.createElement(u),w=y.style,d,ut=Object.prototype.toString,l=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),e={},nt={},rt={},p=[],a=function(n,i,r,f){var s,h,o,e=t.createElement("div");if(parseInt(r,10))while(r--)o=t.createElement("div"),o.id=f?f[r]:u+(r+1),e.appendChild(o);return s=["&shy;","<style>",n,"</style>"].join(""),e.id=u,e.innerHTML+=s,g.appendChild(e),h=i(e,n),e.parentNode.removeChild(e),!!h},f,h={}.hasOwnProperty,s,b,o;s=!c(h,i)&&!c(h.call,i)?function(n,t){return h.call(n,t)}:function(n,t){return t in n&&c(n.constructor.prototype[t],i)},b=function(i,u){var e=i.join(""),f=u.length;a(e,function(i){var e=t.styleSheets[t.styleSheets.length-1],h=e.cssRules&&e.cssRules[0]?e.cssRules[0].cssText:e.cssText||"",s=i.childNodes,o={};while(f--)o[s[f].id]=s[f];r.touch="ontouchstart"in n||o.touch.offsetTop===9},f,u)}([,["@media (",l.join("touch-enabled),("),u,")","{#touch{top:9px;position:absolute}}"].join("")],[,"touch"]),e.touch=function(){return r.touch};for(o in e)s(e,o)&&(f=o.toLowerCase(),r[f]=e[o](),p.push((r[f]?"":"no-")+f));return v(""),y=d=null,r._version=k,r._prefixes=l,r.testStyles=a,r}(this,this.document),WebTrends.prototype.dcsGetId=function(){this.enabled&&document.cookie.indexOf(this.fpc+"=")==-1&&document.cookie.indexOf("WTLOPTOUT=")==-1&&document.write("<script type='text/javascript' src='http"+(window.location.protocol.indexOf("https:")==0?"s":"")+"://"+this.domain+"/"+this.dcsid+"/wtid.js'><\/script>")},WebTrends.prototype.dcsGetCookie=function(n){for(var c=document.cookie.split("; "),u=[],r=0,t=0,h=n.length,l=c.length,f,i,e,s,o,t=0;t<l;t++)f=c[t],f.substring(0,h+1)==n+"="&&(u[r++]=f);i=u.length;if(i>0){r=0;if(i>1&&n==this.fpc)for(e=new Date(0),t=0;t<i;t++)s=parseInt(this.dcsGetCrumb(u[t],"lv")),o=new Date(s),o>e&&(e.setTime(o.getTime()),r=t);return unescape(u[r].substring(h+1))}return null},WebTrends.prototype.dcsGetCrumb=function(n,t,i){for(var f=n.split(i||":"),u,r=0;r<f.length;r++){u=f[r].split("=");if(t==u[0])return u[1]}return null},WebTrends.prototype.dcsGetIdCrumb=function(n,t){for(var u=n.substring(0,n.indexOf(":lv=")),i=u.split("="),r=0;r<i.length;r++)if(t==i[0])return i[1];return null},WebTrends.prototype.dcsIsFpcSet=function(n,t,i,r){var u=this.dcsGetCookie(n);return u?t==this.dcsGetIdCrumb(u,"id")&&i==this.dcsGetCrumb(u,"lv")&&r==this.dcsGetCrumb(u,"ss")?0:3:2},WebTrends.prototype.dcsFPC=function(){var v,i,h,c,r,o;if(document.cookie.indexOf("WTLOPTOUT=")!=-1)return;var n=this.WT,u=this.fpc,t=new Date,f=t.getTimezoneOffset()*6e4+this.timezone*36e5;t.setTime(t.getTime()+f),v=new Date(t.getTime()+31536e7),i=new Date(t.getTime()),n.co_f=n.vtid=n.vtvs=n.vt_f=n.vt_f_a=n.vt_f_s=n.vt_f_d=n.vt_f_tlh=n.vt_f_tlv="";if(document.cookie.indexOf(u+"=")==-1){if(typeof gWtId!="undefined"&&gWtId!="")n.co_f=gWtId;else if(typeof gTempWtId!="undefined"&&gTempWtId!="")n.co_f=gTempWtId,n.vt_f="1";else{for(n.co_f="2",h=t.getTime().toString(),c=2;c<=32-h.length;c++)n.co_f+=Math.floor(Math.random()*16).toString(16);n.co_f+=h,n.vt_f="1"}typeof gWtAccountRollup=="undefined"&&(n.vt_f_a="1"),n.vt_f_s=n.vt_f_d="1",n.vt_f_tlh=n.vt_f_tlv="0"}else{var s=this.dcsGetCookie(u),e=this.dcsGetIdCrumb(s,"id"),y=parseInt(this.dcsGetCrumb(s,"lv")),p=parseInt(this.dcsGetCrumb(s,"ss"));if(e==null||e=="null"||isNaN(y)||isNaN(p))return;n.co_f=e,r=new Date(y),n.vt_f_tlh=Math.floor((r.getTime()-f)/1e3),i.setTime(p),(t.getTime()>r.getTime()+18e5||t.getTime()>i.getTime()+288e5)&&(n.vt_f_tlv=Math.floor((i.getTime()-f)/1e3),i.setTime(t.getTime()),n.vt_f_s="1"),(t.getDay()!=r.getDay()||t.getMonth()!=r.getMonth()||t.getYear()!=r.getYear())&&(n.vt_f_d="1")}n.co_f=escape(n.co_f),n.vtid=typeof this.vtid=="undefined"?n.co_f:this.vtid||"",n.vtvs=(i.getTime()-f).toString();var w="; expires="+v.toGMTString(),a=t.getTime().toString(),l=i.getTime().toString();document.cookie=u+"=id="+n.co_f+":lv="+a+":ss="+l+w+"; path=/"+(this.fpcdom!=""?"; domain="+this.fpcdom:""),o=this.dcsIsFpcSet(u,n.co_f,a,l),o!=0&&(n.co_f=n.vtvs=n.vt_f_s=n.vt_f_d=n.vt_f_tlh=n.vt_f_tlv="",typeof this.vtid=="undefined"&&(n.vtid=""),n.vt_f=n.vt_f_a=o)},WebTrends.prototype.dcsIsOnsite=function(n){var i,r,t;if(n.length>0){n=n.toLowerCase();if(n==window.location.hostname.toLowerCase())return!0;if(typeof this.onsitedoms.test=="function")return this.onsitedoms.test(n);if(this.onsitedoms.length>0)for(i=this.dcsSplit(this.onsitedoms),r=i.length,t=0;t<r;t++)if(n==i[t])return!0}return!1},WebTrends.prototype.dcsTypeMatch=function(n,t){for(var u=n.substring(n.lastIndexOf(".")+1,n.length),r=this.dcsSplit(t),f=r.length,i=0;i<f;i++)if(u==r[i])return!0;return!1},WebTrends.prototype.dcsEvt=function(n,t){var i=n.target||n.srcElement;while(i.tagName&&i.tagName!=t)i=i.parentElement||i.parentNode;return i},WebTrends.prototype.dcsNavigation=function(){return""},WebTrends.prototype.dcsBind=function(n,t){typeof t=="function"&&document.body&&(document.body.addEventListener?document.body.addEventListener(n,t.wtbind(this),!0):document.body.attachEvent&&document.body.attachEvent("on"+n,t.wtbind(this)))},WebTrends.prototype.dcsET=function(){var n=navigator.appVersion.indexOf("MSIE")!=-1?"click":"mousedown";this.dcsBind(n,this.dcsNavTrack),this.dcsBind(n,this.dcsDownload),this.dcsBind(n,this.dcsDynamic),this.dcsBind(n,this.dcsFormButton),this.dcsBind(n,this.dcsOffsite),this.dcsBind(n,this.dcsAnchor),this.dcsBind(n,this.dcsBioreOptin),this.dcsBind("contextmenu",this.dcsRightClick)},WebTrends.prototype.dcsMultiTrack=function(){var r={},u={},f={},n=dcsMultiTrack.arguments?dcsMultiTrack.arguments:arguments,t,e,i;if(n.length%2==0)for(t=0;t<n.length;t+=2)n[t].indexOf("WT.")==0?(r[n[t].substring(3)]=this.WT[n[t].substring(3)],this.WT[n[t].substring(3)]=n[t+1]):n[t].indexOf("DCS.")==0?(u[n[t].substring(4)]=this.DCS[n[t].substring(4)],this.DCS[n[t].substring(4)]=n[t+1]):n[t].indexOf("DCSext.")==0&&(f[n[t].substring(7)]=this.DCSext[n[t].substring(7)],this.DCSext[n[t].substring(7)]=n[t+1]);n=dcsMultiTrack.arguments?dcsMultiTrack.arguments:arguments;if(n.length%2==0){this.dcsSetProps(n),e=new Date,this.DCS.dcsdat=e.getTime(),this.dcsFPC(),this.dcsTag();for(i in r)this.WT[i]=r[i];for(i in u)this.DCS[i]=u[i];for(i in f)this.DCSext[i]=f[i]}},WebTrends.prototype.dcsCleanUp=function(){this.DCS={},this.WT={},this.DCSext={},arguments.length%2==0&&this.dcsSetProps(arguments)},WebTrends.prototype.dcsSetProps=function(n){for(var t=0;t<n.length;t+=2)n[t].indexOf("WT.")==0?this.WT[n[t].substring(3)]=n[t+1]:n[t].indexOf("DCS.")==0?this.DCS[n[t].substring(4)]=n[t+1]:n[t].indexOf("DCSext.")==0&&(this.DCSext[n[t].substring(7)]=n[t+1])},WebTrends.prototype.dcsSplit=function(n){for(var i=n.toLowerCase().split(","),r=i.length,t=0;t<r;t++)i[t]=i[t].replace(/^\s*/,"").replace(/\s*$/,"");return i},WebTrends.prototype.dcsBioreOptin=function(n){var r,t;n=n||window.event||"";if(n&&(typeof n.which!="number"||n.which==1)){r=this.dcsEvt(n,"A");if(r.id=="signUpBtnA"){for(frmLength=document.theForm.length,t="",i=0;i<frmLength;i++)document.theForm[i].name!=""&&(t=document.theForm[i].type=="checkbox"?t+document.theForm[i].name+"="+document.theForm[i].checked+"&":t+document.theForm[i].name+"="+this.dcsEncode(document.theForm[i].value)+"&");t=t.replace(/^&+|&+$/g,""),dcsMultiTrack("DCS.dcssip",window.location.hostname,"DCS.dcsuri","/vpv/bioreoptin/submit","DCS.dcsqry",t,"WT.ti","/vpv/bioreoptin/submit")}r.id=="doneBtnA"&&dcsMultiTrack("DCS.dcssip",window.location.hostname,"DCS.dcsuri","/vpv/bioreoptin/done","DCS.dcsqry","","WT.ti","/vpv/bioreoptin/done"),r.id=="TB_closeWindowButton"&&dcsMultiTrack("DCS.dcssip",window.location.hostname,"DCS.dcsuri","/vpv/bioreoptin/close","DCS.dcsqry","","WT.ti","/vpv/bioreoptin/close")}},WebTrends.prototype.dcsNavTrack=function(n){var r;n=n||window.event||"";if(n&&(typeof n.which!="number"||n.which==1)){var i=this.dcsEvt(n,"A"),t=i,u=0;if(i.tagName=="A"){r=i.href;while(typeof t.id!="undefined"&&t.id==""&&u<3)t=t.parentElement||t.parentNode,u++;typeof t.id!="undefined"&&t.id!=""&&this.dcsMultiTrack("DCS.dcsuri",t.id+".npve.jpg","DCS.dcsref",window.location.pathname,"WT.nv",t.id,"WT.dest",r)}}},WebTrends.prototype.dcsDownload=function(n){var t,r;n=n||window.event||"";if(n&&(typeof n.which!="number"||n.which==1)){t=this.dcsEvt(n,"A");if(t.href){r=t.hostname?t.hostname.split(":")[0]:"";if(this.dcsIsOnsite(r)&&this.dcsTypeMatch(t.pathname,this.downloadtypes)){var o=t.search?t.search.substring(t.search.indexOf("?")+1,t.search.length):"",e=t.pathname?t.pathname.indexOf("/")!=0?"/"+t.pathname:t.pathname:"/",i="",u=document.all?t.innerText:t.text,f=this.dcsEvt(n,"IMG");f.alt?i=f.alt:u?i=u:t.innerHTML&&(i=t.innerHTML),this.dcsMultiTrack("DCS.dcssip",r,"DCS.dcsuri",e,"DCS.dcsqry",t.search||"","WT.ti","Download:"+i,"WT.dl","20","WT.nv",this.dcsNavigation(n))}}}},WebTrends.prototype.dcsRightClick=function(n){var u,t,i,r;n=n||window.event||"",n&&(u=n.which||n.button,(u!=1||navigator.userAgent.indexOf("Safari")!=-1)&&(t=this.dcsEvt(n,"A"),typeof t.href!="undefined"&&t.href&&typeof t.protocol!="undefined"&&t.protocol&&t.protocol.indexOf("http")!=-1&&typeof t.pathname!="undefined"&&this.dcsTypeMatch(t.pathname,this.rightclicktypes)&&(i=t.pathname?t.pathname.indexOf("/")!=0?"/"+t.pathname:t.pathname:"/",r=t.hostname?t.hostname.split(":")[0]:"",this.dcsMultiTrack("DCS.dcssip",r,"DCS.dcsuri",i,"DCS.dcsqry","","WT.ti","RightClick:"+i,"WT.dl","25"))))},WebTrends.prototype.dcsDynamic=function(n){var t,i;n=n||window.event||"",n&&(typeof n.which!="number"||n.which==1)&&(t=this.dcsEvt(n,"A"),t.href&&t.protocol&&(i=t.search?t.search.substring(t.search.indexOf("?")+1,t.search.length):"",t.protocol=="javascript:"?this.dcsMultiTrack("DCS.dcsuri",t.href,"WT.ti","JavaScript:"+t.innerHTML,"WT.dl","22","WT.nv",this.dcsNavigation(n)):t.protocol=="mailto:"&&this.dcsMultiTrack("DCS.dcsuri",t.href,"WT.ti","MailTo:"+t.innerHTML,"WT.dl","23","WT.nv",this.dcsNavigation(n))))},WebTrends.prototype.dcsFormButton=function(n){var e,r,t,i;n=n||window.event||"";if(n&&(typeof n.which!="number"||n.which==1))for(e=["INPUT","BUTTON"],r=0;r<e.length;r++){t=this.dcsEvt(n,e[r]),i=t.type||"";if(i&&(i=="submit"||i=="image"||i=="button"||i=="reset")||i=="text"&&(n.which||n.keyCode)==13){var f="",u="",o=0;t.form?(f=t.form.action||window.location.pathname,u=t.form.id||t.form.name||t.form.className||"Unknown",o=t.form.method&&t.form.method.toLowerCase()=="post"?"27":"26"):(f=window.location.pathname,u=t.name||t.id||"Unknown",o=e[r].toLowerCase()=="input"?"28":"29"),f&&u&&n.keyCode!=9&&this.dcsMultiTrack("DCS.dcsuri",f,"WT.ti","FormButton:"+u,"WT.dl",o,"WT.nv",this.dcsNavigation(n));break}}},WebTrends.prototype.dcsOffsite=function(n){var t,i,f;n=n||window.event||"";if(n&&(typeof n.which!="number"||n.which==1)){t=this.dcsEvt(n,"A");if(t.href){i=t.hostname?t.hostname.split(":")[0]:"",f=t.protocol||"";if(i.length>0&&f.indexOf("http")==0&&!this.dcsIsOnsite(i)){var u=t.search?t.search.substring(t.search.indexOf("?")+1,t.search.length):"",r=t.pathname?t.pathname.indexOf("/")!=0?"/"+t.pathname:t.pathname:"/",e=!0;this.dcsMultiTrack("DCS.dcssip",i,"DCS.dcsuri",r,"DCS.dcsqry",e?"":u,"WT.ti","Offsite:"+i+r+u,"WT.dl","24","WT.nv",this.dcsNavigation(n))}}}},WebTrends.prototype.dcsAnchor=function(n){var t,i,u,r;n=n||window.event||"",n&&(typeof n.which!="number"||n.which==1)&&(t=this.dcsEvt(n,"A"),t.href&&(i=t.hostname?t.hostname.split(":")[0]:"",this.dcsIsOnsite(i)&&t.hash&&t.hash!=""&&t.hash!="#"&&(u=t.search?t.search.substring(t.search.indexOf("?")+1,t.search.length):"",r=t.pathname?t.pathname.indexOf("/")!=0?"/"+t.pathname:t.pathname:"/",this.dcsMultiTrack("DCS.dcssip",i,"DCS.dcsuri",r+t.hash,"WT.ti","Anchor:"+t.hash,"WT.dl","21","WT.nv",this.dcsNavigation(n)))))},WebTrends.prototype.dcsAdv=function(){this.trackevents&&typeof this.dcsET=="function"&&(window.addEventListener?window.addEventListener("load",this.dcsET.wtbind(this),!1):window.attachEvent&&window.attachEvent("onload",this.dcsET.wtbind(this))),this.dcsFPC()},WebTrends.prototype.dcsVar=function(){var r=new Date,n=this.WT,t=this.DCS,u,i;n.tz=parseInt(r.getTimezoneOffset()/-60)||"0",n.bh=r.getHours()||"0",n.ul=navigator.appName=="Netscape"?navigator.language:navigator.userLanguage,typeof screen=="object"&&(n.cd=navigator.appName=="Netscape"?screen.pixelDepth:screen.colorDepth,n.sr=screen.width+"x"+screen.height),typeof navigator.javaEnabled()=="boolean"&&(n.jo=navigator.javaEnabled()?"Yes":"No"),document.title&&(window.RegExp?(u=new RegExp("^"+window.location.protocol+"//"+window.location.hostname+"\\s-\\s"),n.ti=document.title.replace(u,"")):n.ti=document.title),n.js="Yes",n.jv=function(){var n=navigator.userAgent.toLowerCase(),i=parseInt(navigator.appVersion),y=n.indexOf("mac")!=-1,h=n.indexOf("firefox")!=-1,s=n.indexOf("firefox/0.")!=-1,l=n.indexOf("firefox/1.0")!=-1,v=n.indexOf("firefox/1.5")!=-1,a=n.indexOf("firefox/2.0")!=-1,b=h&&!s&&!l&!v&!a,c=!h&&n.indexOf("mozilla")!=-1&&n.indexOf("compatible")==-1,w=c&&i==4,d=c&&i>=5,o=n.indexOf("msie")!=-1&&n.indexOf("opera")==-1,e=o&&i==4&&n.indexOf("msie 4")!=-1,f=o&&!e,k=n.indexOf("opera")!=-1,u=n.indexOf("opera 5")!=-1||n.indexOf("opera/5")!=-1,r=n.indexOf("opera 6")!=-1||n.indexOf("opera/6")!=-1,p=k&&!u&&!r,t="1.1";return b?t="1.8":a?t="1.7":v?t="1.6":s||l||d||p?t="1.5":y&&f||r?t="1.4":f||w||u?t="1.3":e&&(t="1.2"),t}(),n.ct="unknown";if(document.body&&document.body.addBehavior)try{document.body.addBehavior("#default#clientCaps"),n.ct=document.body.connectionType||"unknown",document.body.addBehavior("#default#homePage"),n.hp=document.body.isHomePage(location.href)?"1":"0"}catch(f){}n.bs=document.all?document.body?document.body.offsetWidth+"x"+document.body.offsetHeight:"unknown":window.innerWidth+"x"+window.innerHeight,i=this.advancedflashdetect(),i[0]>0&&(n.fi="Yes",n.fv=i[0]+".0",n.fv2=i[0]+"."+i[1]+"."+i[2]),n.slv=function(){var n="Not enabled",u,r,t,i;try{navigator.userAgent.indexOf("MSIE")!=-1?(u=new ActiveXObject("AgControl.AgControl"),u&&(n="Unknown")):navigator.plugins["Silverlight Plug-In"]&&(n="Unknown")}catch(f){}if(n!="Not enabled")if(typeof Silverlight=="object"&&typeof Silverlight.isInstalled=="function")for(t=9;t>=0;t--){for(r=3;r>0;r--){i=r+"."+t;if(Silverlight.isInstalled(i)){n=i;break}}if(n==i)break}return n}(),this.i18n&&(n.le=typeof document.defaultCharset=="string"?document.defaultCharset:typeof document.characterSet=="string"?document.characterSet:"unknown"),n.tv="8.6.0b",n.dl="0",n.ssl=window.location.protocol.indexOf("https:")==0?"1":"0",t.dcsdat=r.getTime(),t.dcssip=window.location.hostname,t.dcsuri=window.location.pathname,n.es=t.dcssip+t.dcsuri,window.location.search&&(t.dcsqry=window.location.search),window.document.referrer!=""&&window.document.referrer!="-"&&(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)<4||(t.dcsref=window.document.referrer))},WebTrends.prototype.dcsEscape=function(n,t){if(t!=""){n=n.toString();for(var i in t)t[i]instanceof RegExp&&(n=n.replace(t[i],i));return n}return escape(n)},WebTrends.prototype.dcsA=function(n,t){var u,e,i,f,r,s,o;if(this.i18n&&this.exre!=""&&!this.exre.test(n))if(n=="dcsqry"){for(u="",e=t.substring(1).split("&"),i=0;i<e.length;i++)f=e[i],r=f.indexOf("="),r!=-1&&(s=f.substring(0,r),o=f.substring(r+1),i!=0&&(u+="&"),u+=s+"="+this.dcsEncode(o));t=t.substring(0,1)+u}else t=this.dcsEncode(t);return"&"+n+"="+this.dcsEscape(t,this.re)},WebTrends.prototype.dcsEncode=function(n){return typeof encodeURIComponent=="function"?encodeURIComponent(n):escape(n)},WebTrends.prototype.dcsCreateImage=function(n){document.images?(this.images[this.index]=new Image,this.images[this.index].src=n,this.index++):document.write('<IMG ALT="" BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="'+n+'">')},WebTrends.prototype.dcsMeta=function(){var t,u,i;document.all?t=document.all.tags("meta"):document.documentElement&&(t=document.getElementsByTagName("meta"));if(typeof t!="undefined")for(u=t.length,i=0;i<u;i++){var n=t.item(i).name,r=t.item(i).content,f=t.item(i).httpEquiv;n.length>0&&(n.toUpperCase().indexOf("WT.")==0?this.WT[n.substring(3)]=r:n.toUpperCase().indexOf("DCSEXT.")==0?this.DCSext[n.substring(7)]=r:n.toUpperCase().indexOf("DCS.")==0&&(this.DCS[n.substring(4)]=r))}},WebTrends.prototype.dcsTag=function(){var n,s,u,r;if(document.cookie.indexOf("WTLOPTOUT=")!=-1)return;var t=this.WT,f=this.DCS,e=this.DCSext,o=this.i18n,i="http"+(window.location.protocol.indexOf("https:")==0?"s":"")+"://"+this.domain+(this.dcsid==""?"":"/"+this.dcsid)+"/dcs.gif?";o&&(t.dep="");for(n in f)f[n]&&typeof f[n]!="function"&&(i+=this.dcsA(n,f[n]));for(s=["co_f","vtid","vtvs","vt_f_tlv"],u=0;u<s.length;u++)r=s[u],t[r]&&(i+=this.dcsA("WT."+r,t[r]),delete t[r]);for(n in t)t[n]&&typeof t[n]!="function"&&(i+=this.dcsA("WT."+n,t[n]));for(n in e)e[n]&&typeof e[n]!="function"&&(o&&(t.dep=t.dep.length==0?n:t.dep+";"+n),i+=this.dcsA(n,e[n]));o&&t.dep.length>0&&(i+=this.dcsA("WT.dep",t.dep)),i.length>2048&&navigator.userAgent.indexOf("MSIE")>=0&&(i=i.substring(0,2040)+"&WT.tu=1"),this.dcsCreateImage(i),this.WT.ad=""},WebTrends.prototype.dcsDebug=function(){var n=this,r=n.images[0].src,u=r.indexOf("?"),i=r.substring(0,u).split("/"),t="<b>Protocol</b><br><code>"+i[0]+"<br></code>";t+="<b>Domain</b><br><code>"+i[2]+"<br></code>",t+="<b>Path</b><br><code>/"+i[3]+"/"+i[4]+"<br></code>",t+="<b>Query Params</b><code>"+r.substring(u+1).replace(/\&/g,"<br>")+"</code>",t+="<br><b>Cookies</b><br><code>"+document.cookie.replace(/\;/g,"<br>")+"</code>",n.w&&!n.w.closed&&n.w.close(),n.w=window.open("","dcsDebug","width=500,height=650,scrollbars=yes,resizable=yes"),n.w.document.write(t),n.w.focus()},WebTrends.prototype.dcsDebug2=function(){var r=this,f=document.getElementsByTagName("a"),t,i;for(r.w=window.open("","dcsDebug","width=500,height=650,scrollbars=yes,resizable=yes"),t="<TABLE>",i=0;i<f.length;i++){var n=f[i],u=0,o=n.href,e="NONE";while(typeof n.id!="undefined"&&n.id==""&&u<3)n=n.parentElement||n.parentNode,u++;typeof n.id!="undefined"&&n.id!=""&&(e=n.id),t=t+"<tr><td>"+n.id+"</td><td>"+o+"</td></tr>"}t=t+"</TABLE>",r.w.document.write(t),r.w.focus()},WebTrends.prototype.dcsCollect=function(){this.enabled&&(this.dcsVar(),this.dcsMeta(),this.dcsAdv(),this.dcsTag(),this.spenabled&&document.cookie.indexOf("pulse=1")<0&&(document.cookie="pulse=1; path=/",setTimeout("pgtimer()",this.spinterval*1e3)))},WebTrends.prototype.advancedflashdetect=function(){var i=[0,0,0],n=null,s=window,l=document,f=navigator,o="undefined",h="object",e="Shockwave Flash",u="ShockwaveFlash.ShockwaveFlash",t,r;if(typeof f.plugins!=o&&typeof f.plugins[e]==h)n=f.plugins[e].description,n&&(n=n.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),i[0]=parseInt(n.replace(/^(.*)\..*$/,"$1"),10),i[1]=parseInt(n.replace(/^.*\.(.*)\s.*$/,"$1"),10),i[2]=/r/.test(n)?parseInt(n.replace(/^.*r(.*)$/,"$1"),10):0);else if(typeof s.ActiveXObject!=o){t=null,r=!1;try{t=new ActiveXObject(u+".7")}catch(c){try{t=new ActiveXObject(u+".6"),i=[6,0,21],t.AllowScriptAccess="always"}catch(c){i[0]==6&&(r=!0)}if(!r)try{t=new ActiveXObject(u)}catch(c){}}if(!r&&t)try{n=t.GetVariable("$version"),n&&(n=n.split(" ")[1].split(","),i=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)])}catch(c){}}return i},Function.prototype.wtbind=function(n){var i=this;return function(){return i.apply(n,arguments)}},(function(n){n.fn.hoverIntent=function(t,i){var r={sensitivity:7,interval:100,timeout:0};r=n.extend(r,i?{over:t,out:i}:t);var o,s,e,u,f=function(n){o=n.pageX,s=n.pageY},c=function(t,i){i.hoverIntent_t=clearTimeout(i.hoverIntent_t);if(Math.abs(e-o)+Math.abs(u-s)<r.sensitivity)return n(i).unbind("mousemove",f),i.hoverIntent_s=1,r.over.apply(i,[t]);e=o,u=s,i.hoverIntent_t=setTimeout(function(){c(t,i)},r.interval)},l=function(n,t){return t.hoverIntent_t=clearTimeout(t.hoverIntent_t),t.hoverIntent_s=0,r.out.apply(t,[n])},h=function(t){var o=jQuery.extend({},t),i=this;i.hoverIntent_t&&(i.hoverIntent_t=clearTimeout(i.hoverIntent_t)),t.type=="mouseenter"?(e=o.pageX,u=o.pageY,n(i).bind("mousemove",f),i.hoverIntent_s!=1&&(i.hoverIntent_t=setTimeout(function(){c(o,i)},r.interval))):(n(i).unbind("mousemove",f),i.hoverIntent_s==1&&(i.hoverIntent_t=setTimeout(function(){l(o,i)},r.timeout)))};return this.bind("mouseenter",h).bind("mouseleave",h)}})(jQuery)
