function Stub(){this.survey="qst/qst09011";this.rawUrl="http://survey.questus.com/survey/qst/qst09011";this.chance=0.5;this.markup='<div id="decipherInviteBox" style=\n    "display:none;border: 1px; position: absolute; z-index:25000; top: 150px; left: 42%; height: 313px; width: 313px;">\n\n\n<img style="border:0px" \n    src="http://survey.questus.com/survey/qst/qst09011/foxsurvery_popup1.jpg"\n    usemap="#decipherInviteMap"/>\n<script language="javascript" type="text/javascript">\ndecipher = {\n    hide: function() {\n        document.getElementById(\'decipherInviteBox\').style.display=\'none\';\n    },\n    fadeLoop : function (o, opacity) {\n        decipher.setOpacity(o, opacity);\n        if (opacity < 100)\n        {\n            opacity += 4;\n            if (opacity > 100) opacity = 100;\n            window.setTimeout(\n               function () { decipher.fadeLoop(o, opacity) },\n                50);\n        }\n    },\n    setOpacity : function (o, opacity) {\n        o.style.filter = "alpha(style=0,opacity:" + opacity + ")";  // IE\n        o.style.KHTMLOpacity = opacity / 100; //    Konqueror\n        o.style.MozOpacity = opacity / 100; // Mozilla (old)\n        o.style.opacity = opacity / 100; // Mozilla (new)\n    },\n    box: document.getElementById(\'decipherInviteBox\')\n}\nsetTimeout(function() {\ndecipher.setOpacity(decipher.box, 0);\ndecipher.box.style.display = \'\';\ndecipher.fadeLoop(decipher.box, 100);\n}, 5000);\n<\/script>\n<map name=\'decipherInviteMap\'>\n    <!-- close button -->\n<area shape="rect" style="cursor:pointer" coords="257,7,305,24"" onclick="decipher.hide()" style=\'cursor: pointer\' />\n<area style="cursor:pointer" style="cursor:pointer" shape="rect" coords="127,238,192,257" onclick="decipher.hide()" style=\'cursor:pointer\' />\n<area style="cursor:pointer" style="cursor:pointer" shape="rect" coords="97,195,218,228" onClick="window.open(\'__SURVEY_URL__\',\'Survey\',\'type=height=600,width=800,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no\');decipher.hide();" />\n</map>\n\n\n</div>\n';
this.cookie={name:"decipherinc_seen_popup",value:"set",path:"/",expire:""};}Stub.prototype={setCookie:function(){var b=this.cookie;var a=new Date();a.setTime(a.getTime()+1000*60*60*24*3);document.cookie=[b.name,"=",escape(b.value),"; expires=",b.expires?b.expires:a.toGMTString(),b.path?"; path="+b.path:""].join("");
},getCookie:function(b){var c=document.cookie;var a=c.indexOf(b+"=");if(a!==-1){a=a+b.length+1;var d=c.indexOf(";",a);if(d==-1){d=c.length;}return unescape(c.substring(a,d));}return null;},getFakeArgs:function(){var g=new RegExp("/survey/"+this.survey);var d=function(h){return h.search(g)>=0;};scripts=document.getElementsByTagName("script");
for(var c=0;c<scripts.length;c++){var f=scripts[c];if(d(f.getAttribute("src"))){break;}}var e=f.getAttribute("src");var a=e.indexOf("?");if(a<0){return"";}var b=e.slice(a+1);return b;},mergeUrl:function(c,b){var a=c.indexOf("?");if(a<0){return c+"?"+b;}return c+"&"+b;},begin:function(){if(this.getCookie(this.cookie.name)!="set"){this.setCookie(this.cookie);
var d=Math.random();if(d>=(1-this.chance)){var a="";var c=this.mergeUrl(this.rawUrl,a);var b=this.markup.replace("__SURVEY_URL__","http://survey.questus.com/survey/qst/qst09011?list=11");document.write(b);}}}};Serve=new Stub();Serve.begin();
