var s_ConfirmCartClear="You are about to clear the contents of your cart. Do you wish to empty your cart and start over?";var s_ConfirmPackageClear="You are about to remove a package. Do you wish to continue?";var s_RemoveLinkId="";function ConfirmClearCart(){return confirm(s_ConfirmCartClear)}function ConfirmRemovePackage(){return confirm(s_ConfirmPackageClear)}function getkey(a){if(window.event){return window.event.keyCode}else{if(a){return a.which}else{return null}}}function allowNumericInputOnly(c){var a="0123456789";var b,d;b=getkey(c);if(b==null){return true}d=String.fromCharCode(b);d=d.toLowerCase();a=a.toLowerCase();if(a.indexOf(d)!=-1){return true}if(b==null||b==0||b==8||b==9||b==13||b==27){return true}return false}function ConfirmCustomPackage(c){s_RemoveLinkId=c;var b=document.getElementById("divMsgRemoveCustomPkg");var a=(b.innerHTML.length-180)/70*10+150;openModalDiv("modalDivRemoveCustomPkg",500,a,function(){})}function RemovalConfirmed(){__doPostBack(s_RemoveLinkId,"")}if(typeof(Sys)!="undefined"&&Sys.Application){Sys.Application.notifyScriptLoaded()};