if(typeof Newcorp==="undefined"){var Newcorp={}}Newcorp.InteractiveSales=(function(){var T="http://www.protection-plans.com/";var A={};var D={};var Y=null;var K=null;var S=null;var L=null;var E=810;var V=563;function M(a,b){D[a]=b}function P(a,b){if(typeof D[a]==="function"){D[a](b)}}function B(a){return(typeof a==="string"&&a.length>0)}function I(a){return(typeof a==="number")}function Q(a){if(B(a)&&a[a.length-1]!=="/"){return a+"/"}else{return a}}function U(a,b,c){A[a]=c;if(b&&!L){L=a}}function X(){var a=B(L)?A[L]:null;return(typeof a==="object")?a:null}function N(c,b){var a=B(c)?A[c]:null;if(!a){L=null}else{L=c;if(b){a.setConfiguration(b)}}}function W(c,d,a,b){Y=c;K=d;if(B(a)){T=a}if(B(b)){S=b}}function O(b){var a=X();if(a){a.showInfo(b,E,V);P("infoShown",{width:E,height:V})}}function F(){var a=X();if(a){if(a.hideInfo()){P("infoHidden")}}}function H(){var a="?c="+encodeURIComponent(Y)+"&l="+encodeURIComponent(K);if(S){a+="&rv="+encodeURIComponent(S)}return a}function R(a){return Q(T)+"info"+H()+"&w="+E+"&h="+V+"&rs="+encodeURIComponent(a)}function Z(g,d,a,b,e){var c="";if(B(g)){c+="&s="+encodeURIComponent(g)}if(I(d)||B(d)){var f=I(d)?d:parseFloat(d);if(!isNaN(f)){c+="&pp="+encodeURIComponent(Math.round(f*100))}}if(B(a)){c+="&pn="+encodeURIComponent(a)}if(B(b)){c+="&pc="+encodeURIComponent(b)}if(B(e)){c+="&pcn="+encodeURIComponent(e)}return c}function G(b){var a=R(b);O(a)}function J(e,b,f,c,d){var a=R(d);a+=Z(e,b,f,c);O(a)}function C(b,f,c,g,d,e){var a=R(e);a+="&ws="+encodeURIComponent(b);a+=Z(f,c,g,d);O(a)}return{initialize:W,setDisplayMode:N,showInfoForProduct:J,showInfoForServicePlan:C,showInfoGeneric:G,hideInfo:F,registerEventHandler:M,registerPresentationModule:U}}());Newcorp.InteractiveSales.registerPresentationModule("window",true,function(){function f(c,a,h){var b="toolbar=0,resizable=0,location=0,menubar=0,status=0,scrollbars=1,directories=0";b+=",width="+a.toString();b+=",height="+h.toString();window.open(c,"NewcorpInteractiveSales",b)}function d(){return false}function e(a){}return{showInfo:f,hideInfo:d,setConfiguration:e}}());
