1$(function() { 2 $("#cancelOrder").click($.unblockUI); 3 $("#orderMWS").click(function () { 4 //alert("gfun"); 5 $("#hfOrdering").val("mws") 6 $("#orderItem").text("Premium Listing & Microwebsite"); 7 showForm(); 8 }) 9 $("#orderEMark").click(function() { 10 $("#hfOrdering").val("emk") 11 $("#orderItem").text("E-Mail Marketing"); 12 showForm(); 13 }) 14 $("#orderB1").click(function() { 15 $("#hfOrdering").val("hpb1") 16 $("#orderItem").text("Home Page Banner 1"); 17 showForm(); 18 }) 19 $("#orderB367").click(function() { 20 $("#hfOrdering").val("hpb367") 21 $("#orderItem").text("Home Page Banner 3 or 6 or 7"); 22 showForm(); 23 }) 24 $("#orderB245").click(function() { 25 $("#hfOrdering").val("hpb245") 26 $("#orderItem").text("Home Page Banner 2 or 4 or 5"); 27 showForm(); 28 }) 29 $("#orderSMS").click(function() { 30 $("#hfOrdering").val("sms") 31 $("#orderItem").text("1,00,000 SMS"); 32 showForm(); 33 }) 34 $("#orderIMPA").click(function() { 35 $("#hfOrdering").val("impa") 36 $("#orderItem").text("Internet Marketing - Plan A"); 37 showForm(); 38 }) 39 $("#orderIMPB").click(function() { 40 $("#hfOrdering").val("impb") 41 $("#orderItem").text("Internet Marketing - Plan B"); 42 showForm(); 43 }) 44 $("#orderIMPC").click(function() { 45 $("#hfOrdering").val("impc") 46 $("#orderItem").text("Internet Marketing - Plan C"); 47 showForm(); 48 }) 49 $("#orderIMPD").click(function() { 50 $("#hfOrdering").val("impd") 51 $("#orderItem").text("Internet Marketing - Plan D"); 52 showForm(); 53 }) 54 55 function showForm() { 56 //alert("Hi"); 57 //$.blockUI({ message: 'Just a moment...</h1>' }); 58 $.blockUI({ message: $('#orderForm'), css: { 59 top: ($(window).height() - 400) / 2 + 'px', 60 left: ($(window).width() - 400) / 2 + 'px', 61 width: '400px' 62 } 63 }); 64 } 65 66 $("#processOrder").click(function() { 67 var cN = $("#custName").val(); 68 var eM = $("#custEmail").val(); 69 var iN = $("#hfOrdering").val(); 70 var rvN = $("#nameReq"); 71 var rvE = $("#emailReq"); 72 var rvEi = $("#emailInvalid"); 73 var shouldSend = true; 74 if (cN == "") { 75 shouldSend = false; 76 rvN.show(); 77 } else rvN.hide(); 78 if (eM == "") { 79 shouldSend = false; 80 rvE.show(); 81 } else { 82 rvE.hide() 83 if (!checkEmail(eM)) { 84 shouldSend = false; 85 rvEi.show(); 86 } else rvEi.hide(); 87 }; 88 if (shouldSend) { 89 var orderLoc = "http://www.v2web.biz/DelhiHelp/procces-advertiser-order.php?advid=" + eM + "&cname=" + cN + "&pdcode=" + iN; 90 //alert("ordering" + orderLoc) 91 window.location.href = orderLoc; 92 } 93 }) 94 95 function checkEmail(ev) { 96 var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; 97 return filter.test(ev) 98 } 99})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.