//popup_fn
function displayrestrictions(param3,param4){var couponcode = param3;var restrictions = param4;if (couponcode != 'coupon' && couponcode != 'n/a'){
OpenWindow.focus();}}function displaycoupon(param2){var couponcode = param2;if (couponcode != 'coupon' && couponcode != 'n/a'){
OpenWindow=window.open("", "newwin", "height=800, width=400,toolbar=no,scrollbars=yes,menubar=no");
OpenWindow.document.write("<TITLE>Use this Coupon Code<\/TITLE>");
OpenWindow.document.write("<BODY BGCOLOR='#114574'>");

OpenWindow.document.write("<table align='center' bgcolor='#114574' width='95%' cellpadding='0' cellspacing='0'><tr><td ><font face='Arial, Helvetica, sans-serif' size='4'>");
OpenWindow.document.write("<center>");
OpenWindow.document.write("<p>");
OpenWindow.document.write("<strong><img src='poptop.jpg'>");
OpenWindow.document.write("<\/p>")
OpenWindow.document.write("<\/td><\/tr><\/table><p>");

OpenWindow.document.write("<table align='center' bgcolor='#114574' width='90%' cellpadding='0' cellspacing='0'>");
OpenWindow.document.write("<tr><td><font face='Arial, Helvetica, sans-serif' size='3' color='#FFFFFF'>");
OpenWindow.document.write("Never miss a coupon, sign up for our Newsletter!");
OpenWindow.document.write("<form method='post' action='http://ymlp.com/subscribe.php?id=geuhsjygmgy'>");
OpenWindow.document.write("<input type='text' name='YMP0' value='enter your email' size='20'><input type='submit' value='Send'>");
OpenWindow.document.write("<\/td><\/tr>");
OpenWindow.document.write("<\/td><\/tr><\/table><p>");

OpenWindow.document.write("<table align='center' bgcolor='ffffff' width='95%' cellpadding='1' cellspacing='0'><tr><td style='border: 1px dashed #808080'><img src='http://www.awltovhc.com/image-1234339-10409402' hspace='6' vspace='6' align='left'><font face='Arial, Helvetica, sans-serif' size='4'>");
OpenWindow.document.write("Savings: 10% off entire order.");
OpenWindow.document.write("<br>Use Code: ");
OpenWindow.document.write("<strong><font face='Courier New, Helvetica, sans-serif' color='#114574' size='5'>");
OpenWindow.document.write("KETTLEBELL10");
OpenWindow.document.write("<\/font><\/strong>");
OpenWindow.document.write("<\/p>")
OpenWindow.document.write("<\/td><\/tr><\/table><p>");

OpenWindow.document.write("<table align='center' bgcolor='ffffff' width='95%' cellpadding='1' cellspacing='0'><tr><td style='border: 1px dashed #808080'><img src='http://www.awltovhc.com/image-1234339-10409402' hspace='6' vspace='6' align='left'><font face='Arial, Helvetica, sans-serif' size='4'>");
OpenWindow.document.write("Savings: $5 off $100.");
OpenWindow.document.write("<br>Use Code: ");
OpenWindow.document.write("<strong><font face='Courier New, Helvetica, sans-serif' color='#114574' size='5'>");
OpenWindow.document.write("5off100");
OpenWindow.document.write("<\/font><\/strong>");
OpenWindow.document.write("<\/p>")
OpenWindow.document.write("<\/td><\/tr><\/table><p>");


OpenWindow.document.write("<table align='center' bgcolor='ffffff' width='95%' cellpadding='1' cellspacing='0'><tr><td style='border: 1px dashed #808080'><img src='http://www.awltovhc.com/image-1234339-10409402' hspace='6' vspace='6' align='left'><font face='Arial, Helvetica, sans-serif' size='4'>");
OpenWindow.document.write("Savings: $10 off $200.");
OpenWindow.document.write("<br>Use Code: ");
OpenWindow.document.write("<strong><font face='Courier New, Helvetica, sans-serif' color='#114574' size='5'>");
OpenWindow.document.write("10off200");
OpenWindow.document.write("<\/font><\/strong>");
OpenWindow.document.write("<\/p>")
OpenWindow.document.write("<\/td><\/tr><\/table><p>");

OpenWindow.document.write("<table align='center' bgcolor='ffffff' width='95%' cellpadding='1' cellspacing='0'><tr><td style='border: 1px dashed #808080'><img src='http://www.awltovhc.com/image-1234339-10409402' hspace='6' vspace='6' align='left'><font face='Arial, Helvetica, sans-serif' size='4'>");
OpenWindow.document.write("Savings: $15 off $250.");
OpenWindow.document.write("<br>Use Code: ");
OpenWindow.document.write("<strong><font face='Courier New, Helvetica, sans-serif' color='#114574' size='5'>");
OpenWindow.document.write("15off250");
OpenWindow.document.write("<\/font><\/strong>");
OpenWindow.document.write("<\/p>")
OpenWindow.document.write("<\/td><\/tr><\/table><p>");

OpenWindow.document.write("<table align='center' bgcolor='ffffff' width='95%' cellpadding='1' cellspacing='0'><tr><td style='border: 1px dashed #808080'><img src='http://www.awltovhc.com/image-1234339-10409402' hspace='6' vspace='6' align='left'><font face='Arial, Helvetica, sans-serif' size='4'>");
OpenWindow.document.write("Savings: $20 off $300.");
OpenWindow.document.write("<br>Use Code: ");
OpenWindow.document.write("<strong><font face='Courier New, Helvetica, sans-serif' color='#114574' size='5'>");
OpenWindow.document.write("20off300");
OpenWindow.document.write("<\/font><\/strong>");
OpenWindow.document.write("<\/p>")
OpenWindow.document.write("<\/td><\/tr><\/table><p>");


OpenWindow.document.write("<\/BODY>");
OpenWindow.document.write("<\/HTML>");
OpenWindow.document.close();
OpenWindow.focus();}if (couponcode == 'coupon' || couponcode == 'n/a'){
OpenWindow.focus();}}function displaytext(yourtext){window.status=yourtext;
 }
