var _mtm = _mtm || []; _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'}); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://analytics.adultempire.com/js/container_iXaVs8DZ.js'; s.parentNode.insertBefore(g,s);
function TogglePrint(passed) { //Remove all active buttons, and activate the selected one $(".script_printbutton").removeClass("active"); $("#type" + passed).addClass("active"); //Set the hidden value to the selected value $("#type").val(passed); if (passed == "2") { $("#recip_email_group").hide(); } else { $("#recip_email_group").show(); } } function validatenumberonly(evt) { var theEvent = evt || window.event; var key = theEvent.keyCode || theEvent.which; if (key != 8) { key = String.fromCharCode(key); var regex = /[0-9]|\./; if ((!regex.test(key)) || (key == ".")) { theEvent.returnValue = false; if (theEvent.preventDefault) theEvent.preventDefault(); } } }