// -- Copyright 2006-2011 Monitus LLC, All Rights Reserved.
if(!document.location.hostname.match(/edit\.store\.yahoo\.(net|com)/)) {
mgwo={m:{},q:{},p:document.location.protocol,t:{},st:0,sr:0,cv:0};function utmx_section(){};
mgwo.i=function(k){window._uhash="off";window._udn=(document.location.hostname.match(/(order|search|lib).store.yahoo.(net|com)/)?document.location.hostname.replace(/^.*(?:order|search|lib).(store.yahoo.(?:net|com))/,"$1"):document.location.hostname.replace(/(^|.+?.)([^.]+.[^.]+)$/,"$2"));(function(){var d=document,l=d.location,c=d.cookie; function f(n){if(c){var i=c.indexOf(n+"=");if(i>-1){var j=c.indexOf(";",i);return escape(c.substring(i+n.length+1,j<0?c.length:j))}}}var x=f("__utmx"),xx=f("__utmxx"),h=l.hash;d.write("<sc"+"ript src=\""+mgwo.p+(mgwo.p.match(/s/i)?"//ssl":"//www")+".google-analytics.com/siteopt.js?v=1&utmxkey="+k+"&utmx="+(x?x:"")+"&utmxx="+(xx?xx:"")+"&utmxtime="+new Date().valueOf()+(h?"&utmxhash="+escape(h.substr(1)):"")+"\" type=\"text/javascript\" charset=\"utf-8\"></sc"+"ript>");})();}
mgwo.g=function(){if((typeof(MUI)=="undefined")||(typeof(MUI.ga)=="undefined")||(typeof(MUI.ga.queue_custom_variable)=="undefined")||(mgwo.sr<mgwo.st)) setTimeout("mgwo.g()",10);else{var e="GWO Experiment";var v="";for(var s in mgwo.q){if(v!="")v+=";";v+=s+"-"+mgwo.q[s].variation;e=mgwo.q[s].experiment}MUI.ga.queue_custom_variable(mgwo.cv,e,v,MUI.ga.kvariable_scope_session);}}
mgwo.a=function(s,e){mgwo.q[s]={experiment:e, variation:mgwo.m[s][utmx("variation_number",s)]};mgwo.sr++;}
mgwo.v=function(s,e){var v=utmx("variation_content", s);mgwo.a(s,e);if(!v) return null;return v.replace(/^\<\!\-\-\s+monitus.+?\/\/\-\-\>(.+)$/i, "$1");}
mgwo._cd=function(){var d="";if(location.hostname.match(/stores\.yahoo\.net$/i)){d="stores.yahoo.net";}else if(location.hostname.match(/yahoo\.net$/i)){d="store.yahoo.net";}else if(location.hostname.match(/(search|lib)\.store\.yahoo\.com$/i)){d="store.yahoo.com";}else{d=location.hostname.replace(/(?:^|.+\.)([^\.]+\.[^\.]+)$/i,"$1");}return d;}
mgwo._sc=function(n,h,p,v){if(h=="-"){h=43800;}var e="";if(h=="x"){e=" expires=Fri, 02-Jan-1970 00:00:00 GMT;"}else if(h!="."){e=new Date((new Date()).getTime()+(h*3600000));e=" expires="+e.toGMTString()+";";}document.cookie=n+"="+v+";"+e+" path="+p+"; domain="+mgwo._cd();}
mgwo._lc=function(n,d,x){var c=document.cookie;if((c=="")||!n||(n=="")){return d;}var p=n+"=";var s=(""+c).indexOf(p);var i=(""+p).indexOf("=")+1;if(s>=0){var e=(""+c).indexOf(";",s);if(e<0){e=(""+c).length;}d=(""+c).substring((s+i),e);}if(x){mgwo._sc(n,"x","/","");}return d;}
mgwo._b=function(){var b=document.getElementsByTagName("body");if(b&&(b.length>0)){return b[0];}return null;}
mgwo.n=function(t,p,v,r){if(!r||(r==null))r=document;var l=r.getElementsByTagName(t);if(l){for(var i=0;i<l.length;i++){if(l[i][p]){if((typeof(v)=="string")&&(l[i][p]==v))return l[i];else if(l[i][p].match(v))return l[i];}}}return null;}
mgwo.e=function(o,e){if(document.createEvent){var eo=document.createEvent("MouseEvents");eo.initEvent(e,true,false);o.dispatchEvent(eo);}else if(document.createEventObject){o.fireEvent("on"+e,document.createEventObject());}}
mgwo.h=function(g,t,u,c){var d=true;if(window.navigator.userAgent.match(/MSIE\s6\.\d/)){var b=mgwo._b();d=(b!=null);}if(!d) setTimeout("mgwo.h('"+g+"','"+t+"',"+mgwo._p(u)+","+mgwo._p(c)+")",10);else{var h=document.getElementsByTagName("head");if(h){h=h[0];if(g=="style"){var o=document.createElement("style");o.type="text/css";h.appendChild(o);if(o.styleSheet){if(o.styleSheet.cssText==""){o.styleSheet.cssText="";}o.styleSheet.cssText+=c;}else{o.appendChild(document.createTextNode(c));}}else{var o=document.createElement(g);o.type=t;if(g=="link"){o.rel="stylesheet";if(u)o.href=u;}else if(u){o.src=u;}if(c){o.innerHTML=c;}h.appendChild(o);}}}}
mgwo.s=function(u,c){mgwo.h("script","text/javascript",u,c);}
mgwo.c=function(u,c){mgwo.h((u ? "link" : "style"),"text/css",u,c);}
mgwo.o=function(i){var t=i.match(/^t\:([^;]+);([^\:]+)\:(.+)$/i);if(!t) return document.getElementById(i);else{var l=document.getElementsByTagName(t[1]);for(var x=0;x<l.length;x++){if((typeof(l[x][t[2]])!="undefined")&&(l[x][t[2]]==t[3])) return l[x];}}return null;}
mgwo._p=function(v){return ((typeof(v)=="string")?"'"+v+"'":v);}
mgwo.t.r=function(){var b=mgwo._b();if(b){b.style.visibility="hidden";}mgwo._sc("_mrrf",".","/",document.referrer);mgwo._sc("_mjsr",".","/",1);utmx("url","A/B");if(b && !utmx("variation_content", "A/B")){b.style.visibility="visible";}}
mgwo.t.j=function(h){mgwo.s(null,h);};
mgwo.t.c=function(h){mgwo.c(null,h);};
mgwo.t.t=function(h,i,p){var o=mgwo.o(i);if(!o)setTimeout("mgwo.t.t("+mgwo._p(h)+",'"+i+"','"+p+"')",10);else{eval("o."+p+"=h;");}}
mgwo.t.bs=function(h,fp,fv,bp,bv){var o=mgwo.n("form",fp,fv);if(!o)setTimeout("mgwo.t.bs("+mgwo._p(h)+",'"+fp+"',"+mgwo._p(fv)+",'"+bp+"',"+mgwo._p(bv)+");",10);else{o=mgwo.n("input",bp,bv,o);if(o){if(h.match(/^http/i)){var img=new Image();img.src=h;}if(o.type.match(/image/i)){if(h.match(/^http/i)){o.src=h;}else{o.style.display="none";var b=document.createElement("input");b.type="submit";b.value=h;b.onclick=function(){mgwo.e(o,"click");};o.parentNode.insertBefore(b,o);}}else{if(!h.match(/^http/i)){o.value=h;}else{o.style.display="none";var b=document.createElement("input");b.type="image";b.src=h;b.onclick=function(){mgwo.e(o,"click");};o.parentNode.insertBefore(b,o);}}}}}
mgwo.t.ls=function(h,lp,lv){var o=mgwo.n("a",lp,lv);if(!o)setTimeout("mgwo.t.ls("+mgwo._p(h)+",'"+lp+"',"+mgwo._p(lv)+");",10);else{if(h.match(/^http/i)){h="<img src='"+h+"' />";}o.innerHTML=h;}}
mgwo.t.ch=function(h){var o=mgwo.n("table","className","ys_basket");if(!o)setTimeout("mgwo.t.ch("+mgwo._p(h)+");",10);else{o=mgwo.n("tr","className","ys_head",o);if(o){o=mgwo.n("th","className","l",o);if(o){o.innerHTML=h;}}}}
mgwo.t.ks=function(h){var o=mgwo.n("div","className",/ys_pageActions/i);if(!o)setTimeout("mgwo.t.ks("+mgwo._p(h)+");",10);else{o=mgwo.n("li","className","ys_first",o);if(o){var l=o.getElementsByTagName("a");if(l && (l.length > 0)){if(h.match(/^http/i)){h="<img src='"+h+"' />";}l[0].innerHTML=h;}}}}
mgwo.debug="";
if(document.location.href.replace(/^([^\?]+)(\?.+)?$/i, "$1").match(/^http\:\/\/spyguy-spycameras\.com\/spy-cameras-pen\.html[^\?]?(\?.+)?$/)) window._MONITUS_ignore_WO=true;
if(document.location.href.replace(/^([^\?]+)(\?.+)?$/i, "$1").match(/^http\:\/\/spyguy-spycameras\.com\/spy-camera-pen-4gig\.html[^\?]?(\?.+)?$/)) { try {mgwo.i("2168607327");
mgwo.bt_887616=function() {
if(typeof(utmx)!="function"){setTimeout("mgwo.bt_887616();",10);}
else{
mgwo.t.r();mgwo.g();
}};mgwo.bt_887616();
}catch(e){var b=mgwo._b();if(b){b.style.visibility="visible";}mgwo.error=(e.name+": "+e.message);}}
if(document.location.href.replace(/^([^\?]+)(\?.+)?$/i, "$1").match(/^http\:\/\/www\.spyguy-spycameras\.com\/micro-eyes-dvr-ball-camera-8gb\.html[^\?]?(\?.+)?$/)) window._MONITUS_ignore_WO=true;
if(document.location.href.replace(/^([^\?]+)(\?.+)?$/i, "$1").match(/^http\:\/\/www\.spyguy-spycameras\.com\/micro-eyes-ball-camera-dvr\.html[^\?]?(\?.+)?$/)) { try {mgwo.i("3459888312");
mgwo.bt_886041=function() {
if(typeof(utmx)!="function"){setTimeout("mgwo.bt_886041();",10);}
else{
mgwo.t.r();mgwo.g();
}};mgwo.bt_886041();
}catch(e){var b=mgwo._b();if(b){b.style.visibility="visible";}mgwo.error=(e.name+": "+e.message);}}
var c=mgwo._lc("_mjsr",null,true);if(c){window._MONITUS_ignore_WO=true;}
}

