", title: "Postal Center USA - Stratham/Exeter", popup: false } ],zoom: "fit",latitude: "fit",longitude: "fit",scrollwheel: false }); } function TrackPackage(path, fldId) { //event.preventDefault(); var trkNum = $(fldId).val(); if (trkNum != '' && trkNum != 'ENTER A TRACKING NUMBER') { window.location.href = (path + "?tn=" + trkNum); } return false; } function clearInputField(elementId) { var element = document.getElementById(elementId); if (element) { if (element.value == 'ENTER A TRACKING NUMBER') { element.value = ""; } } } function checkInputField(elementId) { var element = document.getElementById(elementId); if (element && element.value == "") { element.value = 'ENTER A TRACKING NUMBER'; } } function InputEnter(control, event) { var keyCode = 0; if (window.event) { keyCode = event.keyCode; } else { keyCode = event.which; } if (keyCode == 13) { document.getElementById(control).click(); return false; } return true; } !function(d,s,id){ var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https'; if(!d.getElementById(id)){ js=d.createElement(s); js.id=id; js.src=p+"://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js,fjs); } }(document,"script","twitter-wjs"); // function SocialEmailListSelect() { // $( ".socialDropDown .EmailList" ).hide(); // $( ".socialDropDown .PcEmailList" ).hide(); // return false; // } function ValidateEmail(email) { var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/; return expr.test(email); }; //$("#EmailListSubmit").live("click", function () { //	if (!ValidateEmail($("#txtEmailSubmit").val())) { //	alert("Invalid email address."); //	} //	else { //	alert("Valid email address."); //	} //}); $("#setMailIsUp-btn").dnnConfirm({ text: "