function TagIT_getLastPurchases_callback(result,message,second_callback){if(result=="success"){window.last_purchases=JSON.parse(message);tagit.cookie("last_purchases",JSON.stringify(last_purchases),{path:"/",expires:10});if(second_callback){eval(second_callback+"();")}}try{$.holdReady(false)}catch(err){}return}function TagIT_getParams_callback(result,message,second_callback){if(result=="success"){window.tagit_params=JSON.parse(message);tagit.cookie("tagit_params",JSON.stringify(tagit_params),{path:"/"});if(second_callback){eval(second_callback+"();")}}try{$.holdReady(false)}catch(err){}return}function TagIT_callback(a,b){if(tagit.debug){};}function TagIT(a,b){this.debug=b||false;this.do_refresh_params=false;if(this.debug){this.path="http://www2.bitdefender.com/site/Main/TagIT/"}else{if(window.location.protocol=="https:"){this.path="https://partners.bitdefender.com/site/Main/TagIT/"}else{this.path="http://www.bitdefender.com/site/Main/TagIT/"}}this.queue=[];this.args=[];this.busy=false;this.timer=null;this.site_language="en";if(typeof a!="undefined"){this.site_language=a}this.is_new_session=false;var c=this.cookie("tagit_session");if(c===null){this.is_new_session=true;this.cookie("tagit_session","1",{path:"/"});this.newSessionInit()}_time=Math.round((new Date).getTime()/1e3);var d=this.getParameterByName("cid");if(d!=""){this.addParam("cid",d,_time);this.do_refresh_params=true}var e=this.getParameterByName("pid");if(e!=""){this.addParam("pid",e,_time);this.do_refresh_params=true}var f=this.getParameterByName("icid");if(f!=""){this.addParam("icid",f,_time);this.do_refresh_params=true}try{var g=document.location.href.toLowerCase();if(g.indexOf("Store/quickRenew")==-1){$.holdReady(true)}}catch(h){}var i=this.cookie("tagit_params");if(this.do_refresh_params||i==null){this.getParams("TagIT_getParams_callback")}else{window.tagit_params=JSON.parse(i);try{$.holdReady(false)}catch(h){}}}TagIT.prototype.next=function(){if(this.queue.length>0){this.busy=true;f=this.queue.shift();a=this.args.shift();f.apply(this,a)}};TagIT.prototype._ping=function(a){var b=document.createElement("script");b.setAttribute("src",this.path+a+"&l="+this.site_language);if(navigator.userAgent.toLowerCase().match(/safari/)&&navigator.userAgent.match(/Version/)||/Operaxyz/.test(navigator.userAgent)){document.getElementsByTagName("head")[0].appendChild(b);this.timer=setInterval(function(a){return function(){if(/loaded|complete/.test(document.readyState)){clearInterval(a.timer);setTimeout(function(a){return function(){a.busy=false;a.next()}}(a),50)}}}(this),10)}else{if(navigator.appVersion.indexOf("MSIE")!=-1){var c=function(){if(this.readyState=="complete"||this.readyState=="loaded"){tagit.busy=false;tagit.next()}};b.onreadystatechange=c}else{b.onload=function(){tagit.busy=false;tagit.next()}}document.getElementsByTagName("head")[0].appendChild(b)}};TagIT.prototype.newSessionInit=function(a){this.queue.push(this._newSessionInit);this.args.push(arguments);if(this.queue.length==1&&!this.busy){this.next()}};TagIT.prototype.getObject=function(a){this.queue.push(this._getObject);this.args.push(arguments);if(this.queue.length==1&&!this.busy){this.next()}};TagIT.prototype.setParamExpire=function(a,b,c,d){this.queue.push(this._setParamExpire);this.args.push(arguments);if(this.queue.length==1&&!this.busy){this.next()}};TagIT.prototype.addEmail=function(a,b,c){this.queue.push(this._addEmail);this.args.push(arguments);if(this.queue.length==1&&!this.busy){this.next()}};TagIT.prototype.addProduct=function(a,b,c){this.queue.push(this._addProduct);this.args.push(arguments);if(this.queue.length==1&&!this.busy){this.next()}};TagIT.prototype.addTrial=function(a,b,c){this.queue.push(this._addTrial);this.args.push(arguments);if(this.queue.length==1&&!this.busy){this.next()}};TagIT.prototype.addAction=function(a,b,c,d,e,f){this.queue.push(this._addAction);this.args.push(arguments);if(this.queue.length==1&&!this.busy){this.next()}};TagIT.prototype.addParam=function(a,b,c,d){this.queue.push(this._addParam);this.args.push(arguments);if(this.queue.length==1&&!this.busy){this.next()}};TagIT.prototype.getParams=function(a,b){this.queue.push(this._getParams);this.args.push(arguments);if(this.queue.length==1&&!this.busy){this.next()}};TagIT.prototype.getLastPurchases=function(callback,callback2){try{$.holdReady(true)}catch(err){}_ck=tagit.cookie("last_purchases");if(_ck!=null){window.last_purchases=JSON.parse(_ck);if(callback2){eval(callback2+"();")}try{$.holdReady(false)}catch(err){}}else{this.queue.push(this._getLastPurchases);this.args.push(arguments);if(this.queue.length==1&&!this.busy){this.next()}}};TagIT.prototype.setBlock=function(a,b){this.queue.push(this._setBlock);this.args.push(arguments);if(this.queue.length==1&&!this.busy){this.next()}};TagIT.prototype.clear=function(a){this.queue.push(this._clear);this.args.push(arguments);if(this.queue.length==1&&!this.busy){this.next()}};TagIT.prototype._newSessionInit=function(a){var a=a||"";this._ping("/newsessioninit/?callback="+a)};TagIT.prototype._setParamExpire=function(a,b,c,d){var d=d||"";this._ping("/setparamexpire/?param_type="+a+"&param_name="+b+"&param_expire_time="+c+"&callback="+d)};TagIT.prototype._getParams=function(a,b){var a=a||"";var b=b||"";this._ping("/getparams/?callback="+a+"&callback2="+b)};TagIT.prototype._getLastPurchases=function(a,b){var a=a||"";var b=b||"";this._ping("/getlastpurchases/?callback="+a+"&callback2="+b)};TagIT.prototype._getObject=function(a){var a=a||"";this._ping("/getobject/?callback="+a)};TagIT.prototype._addEmail=function(a,b,c){var b=b||0;var c=c||"";this._ping("/addemail/?email="+a+"&time="+b+"&callback="+c)};TagIT.prototype._addProduct=function(a,b,c){var b=b||0;var c=c||"";this._ping("/addproduct/?prodid="+a+"&time="+b+"&callback="+c)};TagIT.prototype._addTrial=function(a,b,c){var b=b||0;var c=c||"";this._ping("/addtrial/?prodid="+a+"&time="+b+"&callback="+c)};TagIT.prototype._addAction=function(a,b,c,d,e,f){var g=Math.round(+(new Date)/1e3);var e=e||0;var f=f||"";var b=b||"";var c=c||"";c=encodeURIComponent(c);var d=d||"0";this._ping("/addaction/?action_type="+a+"&email="+b+"&details="+c+"&action_status="+d+"&time="+e+"&callback="+f)};TagIT.prototype._addParam=function(a,b,c,d){var c=c||0;var d=d||"";this._ping("/addparam/?param_name="+a+"&param_value="+b+"&time="+c+"&callback="+d)};TagIT.prototype._setBlock=function(a,b){var a=a||0;var b=b||"";this._ping("/setblock/?v="+a+"&callback="+b)};TagIT.prototype._clear=function(a){var a=a||"";this._ping("/clear/?callback="+a)};TagIT.prototype.monitor=function(a){var b,c;if(typeof a!="undefined"){a.onblur=tagit.checkEmail}else{b=document.getElementsByTagName("input");for(c=0;c<b.length;++c){if(b[c].type=="text"){var d=b[c].onblur;if(typeof d=="function"){b[c].onblur=function(){d();tagit.checkEmail(this)}}else{b[c].onblur=tagit.checkEmail}}}}};TagIT.prototype.monitor_field=function(a,b,c){b=b||"general monitor";c=c||"-";var d=a.onblur;if(typeof d=="function"){a.onblur=function(){d();var e=a.value;e=e.replace(/^\s+|\s+$/g,"");if(tagit.validateEmail(e)){if(b){tagit.addAction(b,e,c)}}}}else{a.onblur=function(d){var e=a.value;e=e.replace(/^\s+|\s+$/g,"");if(tagit.validateEmail(e)){if(b){tagit.addAction(b,e,c)}}}}};TagIT.prototype.checkEmail=function(a,b){var c=a.value;_txt=c.replace(/^\s+|\s+$/g,"");if(tagit.validateEmail(c)){tagit.addEmail(c)}};TagIT.prototype.validateEmail=function(a){var b=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;return b.test(a)};TagIT.prototype.getParameterByName=function(a){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var b="[\\?&]"+a+"=([^&#]*)";var c=new RegExp(b);var d=c.exec(window.location.href);if(d==null)return"";else return decodeURIComponent(d[1].replace(/\+/g," "))};TagIT.prototype.cookie=function(a,b,c){if(typeof b!="undefined"){c=c||{};if(b===null){b="";c.expires=-1}var d="";if(c.expires&&(typeof c.expires=="number"||c.expires.toUTCString)){var e;if(typeof c.expires=="number"){e=new Date;e.setTime(e.getTime()+c.expires*1e3)}else{e=c.expires}d="; expires="+e.toUTCString()}var f=c.path?"; path="+c.path:"";var g=c.domain?"; domain="+c.domain:"";var h=c.secure?"; secure":"";document.cookie=[a,"=",encodeURIComponent(b),d,f,g,h].join("")}else{var i=null;if(document.cookie&&document.cookie!=""){var j=document.cookie.split(";");for(var k=0;k<j.length;k++){var l=j[k].replace(/^\s+|\s+$/g,"");if(l.substring(0,a.length+1)==a+"="){i=decodeURIComponent(l.substring(a.length+1));break}}}return i}};
var JSON;if(!JSON){JSON={}}(function(){function str(a,b){var c,d,e,f,g=gap,h,i=b[a];if(i&&typeof i==="object"&&typeof i.toJSON==="function"){i=i.toJSON(a)}if(typeof rep==="function"){i=rep.call(b,a,i)}switch(typeof i){case"string":return quote(i);case"number":return isFinite(i)?String(i):"null";case"boolean":case"null":return String(i);case"object":if(!i){return"null"}gap+=indent;h=[];if(Object.prototype.toString.apply(i)==="[object Array]"){f=i.length;for(c=0;c<f;c+=1){h[c]=str(c,i)||"null"}e=h.length===0?"[]":gap?"[\n"+gap+h.join(",\n"+gap)+"\n"+g+"]":"["+h.join(",")+"]";gap=g;return e}if(rep&&typeof rep==="object"){f=rep.length;for(c=0;c<f;c+=1){if(typeof rep[c]==="string"){d=rep[c];e=str(d,i);if(e){h.push(quote(d)+(gap?": ":":")+e)}}}}else{for(d in i){if(Object.prototype.hasOwnProperty.call(i,d)){e=str(d,i);if(e){h.push(quote(d)+(gap?": ":":")+e)}}}}e=h.length===0?"{}":gap?"{\n"+gap+h.join(",\n"+gap)+"\n"+g+"}":"{"+h.join(",")+"}";gap=g;return e}}function quote(a){escapable.lastIndex=0;return escapable.test(a)?'"'+a.replace(escapable,function(a){var b=meta[a];return typeof b==="string"?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function f(a){return a<10?"0"+a:a}"use strict";if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(a){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(a){return this.valueOf()}}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;if(typeof JSON.stringify!=="function"){JSON.stringify=function(a,b,c){var d;gap="";indent="";if(typeof c==="number"){for(d=0;d<c;d+=1){indent+=" "}}else if(typeof c==="string"){indent=c}rep=b;if(b&&typeof b!=="function"&&(typeof b!=="object"||typeof b.length!=="number")){throw new Error("JSON.stringify")}return str("",{"":a})}}if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){function walk(a,b){var c,d,e=a[b];if(e&&typeof e==="object"){for(c in e){if(Object.prototype.hasOwnProperty.call(e,c)){d=walk(e,c);if(d!==undefined){e[c]=d}else{delete e[c]}}}}return reviver.call(a,b,e)}var j;text=String(text);cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse")}}})()
