





oz_partner = "totsites;";




/* Copyright 2008 Others Online, Inc.  All Rights Reserved.  No permission is granted to use, copy or extend this code */
if(typeof oz_page_profiled=="undefined"){oz_page_profiled=false;}if(typeof oz_subframes_allowed=="undefined"){oz_subframes_allowed=false;}if(typeof oz_source=="undefined"){oz_source=document;
}function OthersOnlineSensor(){this.config={delayAfterLoad:1500,host:"http://www.othersonline.com"};this.default_context={oz_partner:"othersonline.com",oz_session_id:null,oz_partner_user_id:null};this.context=null;this.page_parser=null;this.timeout=1500;this.init=function(A){try{if(A){this.context=this.mergeProperties(A,this.default_context);
}else{this.context=this.default_context;}if(this.context.oz_host){this.config.host=this.context.oz_host;}if(this.context.oz_delay){this.config.delayAfterLoad=this.context.oz_delay;}}catch(B){}};this.scriptsLoaded=new Object();this.addScript=function(B,C){var A;if(this.scriptsLoaded[B]){return ;}this.scriptsLoaded[B]=true;
A=document.createElement("script");if(C){A.setAttribute("id",C);}A.setAttribute("type","text/javascript");B=B.replace(/\s/g,"+");A.setAttribute("src",B);document.getElementsByTagName("head").item(0).appendChild(A);};this.trim=function(A){return A.replace(/^\s+|\s+$/g,"");};this.start=function(){try{var A=this;
if(window.attachEvent){window.attachEvent("onload",function(C){A.onPageLoad();});}else{window.addEventListener("load",function(C){A.onPageLoad();},false);}}catch(B){}};this.format_phrases=function(B){var E="";var A;var D=40;for(var C=0;C<B.length&&C<D;C++){A=B[C];E+=A.word+":"+A.count;if(C<B.length){E+=",";
}}return E;};this.mergeProperties=function(B,A){if(typeof (B)=="undefined"||!B){return A;}if(typeof (A)=="undefined"||!A){return new Object();}for(var C in A){if(typeof B[C]=="undefined"){B[C]=A[C];}}return B;};this.cookiesEnabled=function(){try{var B=(navigator.cookieEnabled)?true:false;if(typeof navigator.cookieEnabled=="undefined"&&!B){document.cookie="testcookie";
B=(document.cookie.indexOf("testcookie")!=-1)?true:false;}return(B);}catch(A){}};this.getTopPhrases=function(){return this.page_parser.getTopPhrasesFromDocument(this.oz_source);};this.getUserProfile=function(){return this.page_parser.getProfileFromDocument(this.oz_source);};this.profileUserForPage=function(){if(oz_page_profiled){return ;
}try{oz_sensor_partner_hook(this.context);if(this.oz_source.location.protocol.indexOf("http:")<0){return ;}if(typeof PageParser!="function"){this.addScript(this.config.host+"/partner/scripts/"+this.context.oz_partner+"/page_parser.js?d="+this.oz_source.location.host);var I=this;setTimeout(function(){I.profileUserForPage();
},500);return ;}oz_page_profiled=true;if(this.page_parser==null){this.page_parser=new PageParser();this.page_parser.doc=this.oz_source;this.page_parser.init();}var K;K=this.getTopPhrases();if(K){var B;B=this.config.host+"/oz/sensor";B+="?p="+this.context.oz_partner;if(this.context.oz_session_id){B+="&fps="+this.context.oz_session_id;
}if(this.context.oz_partner_user_id){B+="&afu="+this.context.oz_partner_user_id;}if(this.cookiesEnabled()){B+="&cd=false";}B+="&k="+this.format_phrases(K.summary).replace(/\s+/g,"+");try{var J;J=this.page_parser.selectSERPStats(window.location.href);if((J)&&(J.queryTerms)){B+="&q="+J.queryTerms+":"+J.adCount;
}else{J=this.page_parser.selectSERPStats(this.oz_source.referrer);if((J)&&(J.queryTerms)){B+="&q="+J.queryTerms+":1";}}}catch(G){}try{var H;if(this.oz_source.referrer){H=this.oz_source.referrer.split("/")[2];}if(H&&(H!=this.oz_source.location.host)){B+="&rd="+H;}}catch(G){}new Image().src=B;}var E=this.getUserProfile();
if(E){var D=false;var B;B=this.config.host+"/oz/feeds/"+this.context.oz_partner+"/profile";B+="?p="+this.context.oz_partner;if(this.context.oz_session_id){B+="&fps="+this.context.oz_session_id;}if(this.context.oz_partner_user_id){B+="&afu="+this.context.oz_partner_user_id;}for(var A in E){if(!E.hasOwnProperty(A)){continue;
}D=true;if(typeof A!="function"){B+="&"+A+"="+E[A];}}if(D){new Image().src=B;}}if(oz_sensor_pixels){for(var F=0;F<oz_sensor_pixels.length;F++){var C=oz_sensor_pixels[F].uri;setTimeout(function(){new Image().src=C;},250);}}}catch(G){}};this.onPageLoad=function(){if(this.pageLoadHandled){return ;}this.pageLoadHandled=true;
var A=this;setTimeout(function(){A.profileUserForPage();},this.config.delayAfterLoad);};}function oz_sensor(E){if(oz_source||oz_subframes_allowed||(top.frames.length==3)&&(parent==top)||(window==top)){try{var D=new OthersOnlineSensor();var C=new Object();var H=["oz_partner","oz_session_id","oz_partner_user_id","oz_host","oz_delay"];
var A;if(oz_source){D.oz_source=oz_source;}for(var B=0;B<H.length;B++){A=H[B];if(window[A]){C[A]=window[A];}}D.init(C);var F=oz_sensor_domainHooks[this.oz_source.location.host];if(!F||(F.sensor_sample&&(Math.floor(Math.random()*100)<F.sensor_sample))){D.start();if(E){D.onPageLoad();}}}catch(G){}}}var oz_sensor_domainHooks={};
var oz_sensor_pixels=[];function oz_sensor_partner_hook(C){if((typeof AFv_afu!="undefined")&&AFv_afu&&(AFv_afu!=0)){C.oz_partner_user_id=AFv_afu;}if(oz_sensor_domainHooks[document.location.host]){var E=oz_sensor_domainHooks[document.location.host];if(E&&(!E.demo_sample||(Math.floor(Math.random()*100)<E.demo_sample))){var D=new Object();
var F=E.names;var A;for(var B=0;B<F.length;B++){A=F[B];D[A]=window[A];}C.profile_props=D;}}return C;}function oz_parseUri(E){var D=oz_parseUri.options;var A=D.parser[D.strictMode?"strict":"loose"].exec(E);var C={};var B=14;while(B--){C[D.key[B]]=A[B]||"";}C[D.q.name]={};C[D.key[12]].replace(D.q.parser,function(G,F,H){if(F){C[D.q.name][F]=H;
}});return C;}oz_parseUri.options={strictMode:false,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};
var scripts;var src;if(oz_source||oz_subframes_allowed||(top.frames.length==3)&&(parent==top)||(window==top)){scripts=document.getElementsByTagName("script");for(var i=0;i<scripts.length;i++){src=scripts[i].getAttribute("src");if(src&&src.indexOf("alice.js")>=0){var uri=oz_parseUri(src);if(uri.queryKey.autorun){oz_sensor(true);
}break;}}}

/*
	The requested resource (/oz/scripts/partners/totsites;/sensor_hooks.js) is not available
*/

oz_sensor();
