// (c) 2007-2008 Linkstorm (all rights reserved)
if(typeof (ls$onDOMComplete)=="undefined"){ls$onDOMComplete=function(G,C){function H(J){if(!A){A=true;F();C(J);}}function I(J){return typeof E[J]!="undefined";}function D(){if(E.body!==null&&E.getElementsByTagName){if(I("fileSize")){try{E.documentElement.doScroll("left");H("documentready");}catch(J){}}if(I("readyState")&&(/loaded|complete/).test(E.readyState)){H("readyState");}}if(!A){setTimeout(D,10);}}function F(){if(typeof E.removeEventListener=="function"){E.removeEventListener("DOMContentLoaded",H,false);}}function B(){if(typeof E.addEventListener=="function"){E.addEventListener("DOMContentLoaded",H,false);}if(typeof (inFIF)!="undefined"&&inFIF){if(typeof document.getElementsByTagName!="undefined"&&(document.getElementsByTagName("body")[0]!==null||document.body!==null)){H();}}var J=G.onload;G.onload=function(K){if(typeof J=="function"){J();}H(K||this.event);};}var E=G.document,A=false;B();if((/WebKit|KHTML|MSIE/i).test(navigator.userAgent)){D();}};ls$isInIframe=function(){return(self!=top);};ls$getQuery=function(D){var C="";for(var B=0,A=D.length;B<A;++B){C+=(B>0?"&":"")+D[B][0]+"="+D[B][1];}return C;};ls$isValidPrefix=function(A){var B=/^(http(s)?:\/\/)?(\w+:?\w*@)?([\w\-\.]+(:[0-9]{1,5})?)?(\/[\w#!\.,\*;:\?\+=&%@\(\)\-\/\|\^\$]*)?$/;return B.test(A);};ls$isValidSuffix=function(A){var B=/^(([\w%\-\+\.]+)(=([\w%\-\+\.]*))?){1}(&(([\w%\-\+]+)(=([\w%\-\+\.]*))?)?)*$/;return B.test(A);};ls$isValidSd=function(A){return true;};ls$isScriptLoaded=function(E){var B=document.getElementsByTagName("script");var C=1,A=B.length;if(A===0){return false;}var D=null;do{D=B[A-C].src;}while(D.indexOf(E)==-1&&++C<=A);return(C<=A);};var ls$version="005",ls$checkedInsertions=false;}if(typeof (ls$insertion)=="undefined"){ls$insertion=[];}function ls$unload(){var A=ls$topWindow,E=window.iid,G=A.ls$$.iids[E];if(G.menuCloseTimeout){A.clearTimeout(G.menuCloseTimeout);A.ls$closeUnusedMenus(E);}if(G.dataTxTimeout){A.clearTimeout(G.dataTxTimeout);A.ls$dataTransmitter(E);}if(A.ls$$.initPrep){A.ls$$.initPrep=false;}var F=A.document.getElementById("ls-DS-"+E);F.parentNode.removeChild(F);var C=A.ls$$.localIids;for(var B=C.length-1;B>=0;--B){var D=C[B];if(D.substring(3)!=E){continue;}delete A.ls$$.toInit["ls-"+D];delete A.ls$$.iids[E];C.splice(B,1);}if(C.length===0){A.ls$Event.stopObserving(A.document,"mousemove",A.ls$mouseXY);A.ls$$=undefined;A.ls$escape=undefined;}}function ls$startInserting(D,B){var C=null;if(typeof (inFIF)!="undefined"&&inFIF){C=document.createElement("script");C.src="http://uat.linkstorms.com/stormbird/stormbird_iframe_005.js?"+ls$getQuery(D);C.id="ls-ife-script";document.getElementsByTagName("head")[0].appendChild(C);window.iid=D[0][1];if(window.addEventListener){window.onunload=ls$unload;}else{if(window.attachEvent){window.attachEvent("onunload",ls$unload);}}}else{if(ls$isInIframe()){C=document.createElement("iframe");C.src="http://uat.linkstorms.com/stormbird/ife.html?"+ls$getQuery(D);C.width=0;C.height=0;C.border=0;C.style.width=0;C.style.height=0;C.style.border=0;B.parentNode.appendChild(C);}else{var A=document.getElementsByTagName("head")[0];if(!ls$isScriptLoaded("stormbird-libs-CSv005.js")){C=document.createElement("script");C.type="text/javascript";C.src="http://uat.linkstorms.com/stormbird/stormbird-libs-CSv005.js";A.appendChild(C);}C=document.createElement("script");C.type="text/javascript";C.src="http://uat.linkstorms.com/stormbird/stormbird-CSv005.js?"+ls$getQuery(D);B.parentNode.appendChild(C);}}}function ls$startInitializing(){if(!ls$checkedInsertions){var E=1,B,K=[];ls$insertScriptSrc=[];B=document.getElementsByTagName("script");for(var C=0,F=B.length;C<F;++C){if(B[C].src.indexOf("http://uat.linkstorms.com/005/")!=-1){K.push(B[C]);ls$insertScriptSrc.push(B[C].src);}}for(C=0,F=ls$insertScriptSrc.length;C<F;++C){E=ls$insertScriptSrc[C].indexOf("/005/")+5;var J=ls$insertScriptSrc[C].substring(E,E+=14),H=K[C].getAttribute("clickPrefix"),A=K[C].getAttribute("clickSuffix"),G=K[C].getAttribute("sd"),D="005",I="uat";B=[];B.push(["iid",J]);if(H&&ls$isValidPrefix(H)){B.push(["clickPrefix",encodeURIComponent(H)]);}if(A&&ls$isValidSuffix(A)){B.push(["clickSuffix",encodeURIComponent(A)]);}if(G&&ls$isValidSd(G)){B.push(["sd",encodeURIComponent(G)]);}B.push(["ver",D]);B.push(["host",I]);ls$insertion.push(B);}for(C=0,F=ls$insertion.length;C<F;++C){ls$startInserting(ls$insertion[C],K[C]);}ls$checkedInsertions=true;}}if(typeof (ls$firstScript)=="undefined"){ls$onDOMComplete(this,ls$startInitializing);ls$firstScript=true;}