LoadState=function(){return{arrDOMLoadQueue:[],arrUnLoadQueue:[],arrLoadQueue:[],arrLoadTimes:[],arrFinished:[],done:false,timer:null,behaviours_done:true,addToLoadQueue:function(B,C,A){this.behaviours_done=false;this.arrDOMLoadQueue.push([B,C,A])},addToUnLoadQueue:function(B,C,A){this.arrUnLoadQueue.push([B,C,A])},addToDocumentLoadQueue:function(B,C,A){this.behaviours_done=false;this.arrLoadQueue.push([B,C,A])},onLoad:function(){LoadState.onDOMLoad();this.onload_timer=calcLoadTime();var C=new Array();C.push("EVENT");C.push(calcLoadTime()+"ms");C.push("onLoad()");LoadState.arrLoadTimes.push(C);var A=LoadState.arrLoadQueue;while(A.length>0){var B=A.shift();if(B[0]!=null){if(B[1]==null||B[1].length==0){B[0]()}else{if(B[1].length==1){B[0](B[1][0])}else{B[0].apply(null,B[1])}}LoadState.arrFinished.push(B)}var C=new Array();C.push("ONPAGE");C.push(calcLoadTime()+"ms");C.push(B[2]);LoadState.arrLoadTimes.push(C)}if(Behaviour){setTimeout("Behaviour.apply()",100);var C=new Array();C.push("EVENT");intApplyBehaviours=calcLoadTime();C.push(intApplyBehaviours+"ms");C.push("Behaviour.apply()");LoadState.arrLoadTimes.push(C);if(intApplyBehaviours>10000){infoEvent("loadstate-timeout","The user has spent more then 10 seconds waiting for the page to finish rendering. (Behaviour.apply, "+intApplyBehaviours+"ms)")}this.behaviours_done=true}},onDOMLoad:function(){if(LoadState.done){return }LoadState.done=true;this.ondomload_timer=calcLoadTime();var C=new Array();C.push("EVENT");C.push(calcLoadTime()+"ms");C.push("onDOMLoad()");LoadState.arrLoadTimes.push(C);if(LoadState.timer){clearInterval(LoadState.timer);LoadState.timer=null}var A=LoadState.arrDOMLoadQueue;while(A.length>0){var B=A.shift();if(B[0]!=null){if(B[1]==null||B[1].length==0){B[0]()}else{if(B[1].length==1){B[0](B[1][0])}else{B[0].apply(null,B[1])}}LoadState.arrFinished.push(B);var C=new Array();C.push("ONDOM");C.push(calcLoadTime()+"ms");C.push(B[2]);LoadState.arrLoadTimes.push(C)}}},addLoadTime:function(C,A){var B=new Array();B.push(C);B.push(calcLoadTime()+"ms");B.push(A);LoadState.arrLoadTimes.push(B)},onUnLoad:function(){var A=LoadState.arrUnLoadQueue;while(A.length>0){var B=A.shift();if(B[1]==null||B[1].length==0){B[0]()}else{if(B[1].length==1){B[0](B[1][0])}else{B[0].apply(null,B[1])}}}}}}();if(document.addEventListener){document.addEventListener("DOMContentLoaded",LoadState.onDOMLoad,false)}if(navigator){if(navigator.userAgent){var strIECheck=navigator.userAgent.toLowerCase();if(strIECheck.indexOf("msie")!=-1&&!document.location.protocol=="https"){document.write("<script type='text/javascript' id=__ie_onload defer src=//:><\/script>");var script=document.getElementById("__ie_onload");if(script){script.onreadystatechange=function(){if(this.readyState=="complete"){LoadState.onDOMLoad()}}}}}}if(/WebKit/i.test(navigator.userAgent)){LoadState.timer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){LoadState.onDOMLoad()}},10)}function getCurrencySymbol(){if(typeof (sCurrencySymbol)!="undefined"){return sCurrencySymbol}else{return""}}function getCurrencySymbolFromCookie(){var A=getCookie("CURR_SYM","bnper");if(typeof (A)!="undefined"){return html_entity_decode(A)}else{return""}}function getCurrencyCodeFromCookie(){var A=getCookie("CURR","bnper");if(typeof (A)!="undefined"){return html_entity_decode(A)}else{return""}}function addCommasToInteger(B){var C="";var D=0;var A;switch(B>999999?0:(B>999?1:2)){case 0:A=Math.floor(B/1000000);D=A*1000000;C+=A+",";case 1:A=(Math.floor((B-D)/1000)).toString(10);D+=(A*1000);if(C!=""){while(A.length<3){A="0"+A}}C+=A+",";default:A=(B-D).toString(10);if(C!=""){while(A.length<3){A="0"+A}}C+=A}return C}function getObj(A){obj=null;if(document.getElementById){obj=document.getElementById(A)}else{if(document.all){obj=document.all[A]}else{if(document.layers){obj=getObjNN4(document,A)}}}return obj}objLookups=new Object();objLookups.cache=new Array();objLookups.time_ms=0;objLookups.num_obj=0;objLookups.avg_time=0;function getObjCache(A){var C=new Date();intLoadTime=C.getTime();if(objLookups.cache[A]){if(objLookups.cache[A]["object"]){if(objLookups.cache[A]["object"].parentNode){objLookups.total++;objLookups.cache[A]["lookups"]++;return objLookups.cache[A]["object"]}}}var B=null;if(document.getElementById){B=document.getElementById(A)}else{if(document.all){B=document.all[A]}else{if(document.layers){B=getObjNN4(document,A)}}}if(B==null){return }if(!objLookups.cache[A]){objLookups.cache[A]=new Array();objLookups.cache[A]["object"]=B;objLookups.cache[A]["lookups"]=1;var C=new Date();intLoadTime2=C.getTime();objLookups.cache[A]["time"]=(intLoadTime2-intLoadTime)}else{objLookups.cache[A]["object"]=B;objLookups.cache[A]["lookups"]++;var C=new Date();intLoadTime2=C.getTime();objLookups.cache[A]["time"]=objLookups.cache[A]["time"]+(intLoadTime2-intLoadTime)}objLookups.time_ms=objLookups.time+(intLoadTime2-intLoadTime);objLookups.num_obj++;objLookups.time_avg=objLookups.time/objLookups.total;return B}function getObjNN4(F,C){var B=F.layers;var A;for(var E=0;E<B.length;E++){if(B[E].id==C){A=B[E]}else{if(B[E].layers.length){var D=getObjNN4(B[E],C)}}if(D){A=D}}return A}function safeRound(A){return Math.round(A*100000)/100000}function cleanNumericInput(A){A=parseFloat(A.replace(/[^\.\d]/g,""));return(isNaN(A))?0:A}function getBrowserSize(){var A=new Array(2);if(document.body){if(document.body.offsetWidth){A[0]=document.body.offsetWidth;A[1]=document.body.offsetHeight}}if(!A[0]){if(window.innerWidth){A[0]=window.innerWidth;A[1]=window.innerHeight}}if(!A[0]){A[0]=0;A[1]=0}return A}function storeBrowserInfo(){var E,A,B,F,C;var D=getBrowserSize();if((D[0]<=0)||(D[1]<=0)){E=-1;A=-1}else{E=D[0];A=D[1]}B=screen.width;F=screen.height;C=screen.colorDepth;infoEvent("binfo",E+","+A+","+B+","+F+","+C)}var strUniquePageTrackId="";function setUniquePageId(A){strUniquePageTrackId=A}function callPixel(E,B){var C="";if(document.referrer){C=document.referrer+""}var A="&__evt=";var D;D=new Image(1,1);D.src="/track/pxtrk.gif?cbst="+((new Date()).getTime())+A+escape("tp="+E+"|ref="+escape(C)+"|upt="+strUniquePageTrackId+"|"+B);D.onload=function(){return }}function debugEvent(B,A){pxlEvent_private("DP",B,A)}function infoEvent(B,A){pxlEvent_private("IP",B,A)}function warnEvent(B,A){pxlEvent_private("WP",B,A)}function errorEvent(B,A){pxlEvent_private("EP",B,A)}function fatalEvent(B,A){pxlEvent_private("FP",B,A)}function trackEvent(B,A){pxlEvent_private("TP",B,A)}function warnEventHelper(B,A,C){errorHelper_private("WP",B,A,C)}function errorEventHelper(B,A,C){errorHelper_private("EP",B,A,C)}function fatalEventHelper(B,A,C){errorHelper_private("FP",B,A,C)}function pxlEvent_private(A,D,C){var B="";B+="nam="+escape(D+"")+"|";B+="dsc="+escape(C+"");callPixel(A,B)}function errorHelper_private(A,C,B,E){var D="";if(E){if(E.number){D=D+",errnum:"+E.number}else{if(E.lineNumber){D=D+",errnum:"+E.lineNumber}}if(E.description){D=D+",errdesc:"+E.description}else{if(E.message){D=D+",errdesc:"+E.message}}if(E.fileName){D=D+",errfname:"+E.fileName}if(E.name){D=D+",errname:"+E.name}if(E.stack){D=D+",errstack:"+E.stack}}pxlEvent_private(A,C,B+","+D)}function getNumberFromString(A){var B=0;try{B=parseInt(A,10);if(isNaN(B)){B=0}}catch(C){B=0}return B}function funnelEvent(D,H,C,G,A,F,E){var B="";B+="fn="+escape(D+"")+"|";B+="fl1="+escape(H+"")+"|";B+="fl1s="+escape(getNumberFromString(C)+"")+"|";B+="fl2="+escape(G+"")+"|";B+="fl2s="+escape(getNumberFromString(A)+"")+"|";B+="fl3="+escape(F+"")+"|";B+="fl3s="+escape(getNumberFromString(E)+"");callPixel("FTP",B)}function createPopup(G,F,A,B,C,E,D){if(F.indexOf("glossary.jsp")!=-1){C=true}return createWindow(G,F,A,B,C,E,D,false)}function createWindow(H,G,A,B,C,F,E,D){return createWindowFull(H,G,A,B,C,F,E,D,false,false)}createWindowFull.hWindows=new Object();function createWindowFull(K,H,N,I,O,F,Q,A,M,J){var E=(O)?"scrollbars=1,":"";var G=(F)?"resizable=1,":"";var C=(A)?"menubar=1,location=1,status=1,":"";var L=(M)?"toolbar=1,":"";var P=(J)?"status=1,":"";var B=0;var D=0;if(screen){B=(screen.width/2)-I/2;D=(screen.height/2)-N/2}createWindowFull.hWindows[K]=window.open(H,K,E+G+C+L+P+"directories=0,height="+N+",width="+I+",left="+B+",top="+D);if(createWindowFull.hWindows[K]){createWindowFull.hWindows[K].focus()}else{if(H&&Q){window.location=H}else{alert('The information you requested has been blocked by a pop-up blocker.  For many blockers, you can hold down "Ctrl" when the link is clicked to bypass the blocker. \nIf that does not work, the settings for the pop-up blocker will need to be modified to be able to view the information.');warnEvent("popup_failed","the popup for "+H+" was blocked")}}return false}function formatDate(B,A){A=A.replace("Month",getLongMonth(B.getMonth()));A=A.replace("MM",getShortMonth(B.getMonth()));A=A.replace("Day",getLongDay(B.getDay()));A=A.replace("dd",B.getDate());return A}function getLongDay(A){switch(A){case 0:return"Sunday";case 1:return"Monday";case 2:return"Tuesday";case 3:return"Wednesday";case 4:return"Thursday";case 5:return"Friday";case 6:return"Saturday"}}function getLongMonth(A){switch(A){case 0:return"January";case 1:return"February";case 2:return"March";case 3:return"April";case 4:return"May";case 5:return"June";case 6:return"July";case 7:return"August";case 8:return"September";case 9:return"October";case 10:return"November";case 11:return"December"}}function getShortMonth(A){switch(A){case 0:return"Jan";case 1:return"Feb";case 2:return"Mar";case 3:return"Apr";case 4:return"May";case 5:return"Jun";case 6:return"Jul";case 7:return"Aug";case 8:return"Sep";case 9:return"Oct";case 10:return"Nov";case 11:return"Dec"}}function nvl(A,B){if(A!=null){return A}else{return B}}function getBoundedValue(A,C,B){if(A>C[1]){return(B=="min")?C[0]:C[1]}else{if(A<C[0]){return(B=="max")?C[1]:C[0]}else{return A}}}function gc(B,A){return getCookie(B,A)}function getCookie(F,A){var D=document.cookie;var G=(A)?D.indexOf(A):D.indexOf(F);var B;if(G!=-1){if(A){var E=D.indexOf(";",G+A.length+1);if(E==-1){E=D.length}B=D.substring(G+A.length+1,E);G=B.indexOf(F+"=")}else{B=D}if(G!=-1){var C=G+F.length+1;var E=B.indexOf((A)?"&":";",C);if(E==-1){E=B.length}return unescape(B.substring(C,E))}else{return""}}else{return""}}function sc(D,C,B,A){setCookie(D,C,B,A,".bluenile.com")}var strCurrentDomain=".bluenile.com";function setCurrentDomain(A){strCurrentDomain=A}function getCurrentDomain(){return strCurrentDomain}function setCookie(F,G,J,B,E){var A=new Date();var H=new Date(A.valueOf()+J*86400000);var D=(J)?"; expires="+H.toGMTString():"";var L=document.cookie;var I=(B)?L.indexOf(B+"="):-1;var K=0;if(I!=0){var I=(B)?L.indexOf("; "+B+"="):-1;K=2}if(I!=-1){var C=L.indexOf(";",I+B.length+1);if(C==-1){C=L.length}pc=L.substring(I+B.length+1+K,C);arrpc=pc.split("&");for(i=0;i<arrpc.length;i++){if(arrpc[i].indexOf(F)!=-1){delete arrpc[i];arrpc.sort();arrpc.length=arrpc.length-1;break}}arrpc.length=arrpc.length+1;arrpc[arrpc.length-1]=F+"="+G;document.cookie=B+"="+arrpc.join("&")+"; path=/; domain="+E+";"+D}else{cdef=(B)?B+"=":"";document.cookie=cdef+F+"="+G+"; path=/; domain="+E+";"+D}}function areCookiesEnabled(){var C=true;var A=new Date();var B=Date.parse(A);setCookie("testcookie",B,"","",getCurrentDomain());if(getCookie("testcookie","")!=B){C=false}else{C=true}setCookie("testcookie","","","",getCurrentDomain());return C}function redirectOnCookieCheck(A){if(!areCookiesEnabled()){document.location=A}}function isBrowserIE(){if(navigator){if(navigator.appName){return(navigator.appName=="Microsoft Internet Explorer")}}return false}function getFooterY(){objNav1=getObjCache("footer_top");intContentX=findPosY(objNav1)-1;return intContentX}function getContentX(){objNav1=getObjCache("nav1");intContentX=findPosX(objNav1);return intContentX}function getCenterX(){docWidth=findViewSizeX();return Math.floor(docWidth/2)}function getCenterY(){docHeight=findViewSizeY();return Math.floor(docHeight/2)}function findPosX(A){var B=0;if(A){if(A.offsetParent){while(1){B+=A.offsetLeft;if(!A.offsetParent){break}A=A.offsetParent}}else{if(A.x){B+=A.x}else{if(A.style.left){B+=A.style.left}}}}return B}function findPosY(B){var A=0;if(B){if(B.offsetParent){while(1){A+=B.offsetTop;if(!B.offsetParent){break}B=B.offsetParent}}else{if(B.y){A+=B.y}else{if(B.style.top){curleft+=B.style.top}}}}return A}var d=new Date();g_intLoadTime=d.getTime();g_intInitLoadTime=g_intLoadTime;g_intLastLoadTime=g_intInitLoadTime;function calcLoadTime(){var A=new Date();if(g_intLoadTime){g_intLastLoadTime=g_intLoadTime;g_intLoadTime=A.getTime()}return g_intLoadTime-g_intInitLoadTime}function calcLoadDiff(){return g_intLoadTime-g_intLastLoadTime}function preloadImg(A){var B=document.createElement("img");B.src=A}function logOmnitureEvent(C,A){if(typeof s!="undefined"){var B=new Object();B.linkTrackVars="events";B.linkTrackEvents=C;B.events=C;s.tl(true,"o",A,B)}}function logJSAdverseCondition(F,H,B,E,D,C,A){var G=new XHConn();if(G){G.connect("/services/logging_service.jsp","GET","type=ac&condition="+F+"&file="+H+"function="+B+"&message="+E+"&detail1="+D+"&detail2="+C+"&detail3="+A,loggingCallBack)}}function loggingCallBack(oResponse){var oJSON;if(oResponse){oJSON=eval("("+oResponse.responseText+")");if(oJSON){if(oJSON.status[0].success=="1"){errorEvent("logging_failed","logging function received an error from the service: "+oJSON.status[0].error)}}}}function html_entity_decode(B){var A=document.createElement("textarea");A.innerHTML=B.replace(/</g,"&lt;").replace(/>/g,"&gt;");return A.value};