//targetting= //offers= //format_mapping= //form_name= //new_mapping= //form_target_cache= //max_nb_offers= var LSF_submit_image = new Image; function lsfget(id) { return document.getElementById(id);} function LSF_send_data() { var form = document.LSF_form; var so = ''; var nso =''; if (!form || !form.elements) { return true; } var params = ''; nso = nso.substring(0, nso.length-1); params += '&nso=' + nso; so = so.substring(0, so.length-1); params += '&so=' + so; params += LSF_collect_data(); LSF_submit_image.src = 'http://coreg.1x12.net?act=submitoffers&pubid=2248' + params; return true; } function display_LSF_offers() { document.writeln(get_LSF_offers_data()); } function get_LSF_offers_data() { var trademark_img = new Image(117,13); var trademark_img_over = new Image(117,13); trademark_img.src = "http://coreg.1x12.net/images/do_trademark.png"; trademark_img_over.src = "http://coreg.1x12.net/images/do_trademark_over.png"; var string =''; string += '
'; return string; } var LSF_submit_loop = 0, LSF_retry_delay = 100, LSF_submit_time; function check_LSF_submission() { var d1 = new Date(); var t1 = d1.getTime(); if (LSF_submit_image.complete || (t1 - LSF_submit_time) > 4000) { submitPublisherForm(); } else { LSF_submit_loop++; self.setTimeout("check_LSF_submission()", LSF_retry_delay); } } function LSF_collect_data() { var tmp, error = ''; var url = ''; if (!document.ar_register_form1) { error += 'form:ar_register_form1,'; } else { var campform = document.ar_register_form1; if (!campform["ar_mycivility"]) { error += 'field:ar_register_form1.ar_mycivility,'; } if (!campform["ar_mycity"]) { error += 'field:ar_register_form1.ar_mycity,'; } if (!campform["ar_myzipcode"]) { error += 'field:ar_register_form1.ar_myzipcode,'; } if (!campform["ar_mylastname"]) { error += 'field:ar_register_form1.ar_mylastname,'; } if (!campform["ar_myfirstname"]) { error += 'field:ar_register_form1.ar_myfirstname,'; } if (!campform["ar_mystreet"]) { error += 'field:ar_register_form1.ar_mystreet,'; } if (!campform["ar_myemail"]) { error += 'field:ar_register_form1.ar_myemail,'; } } if (campform["ar_mycivility"]) { var val = '';for (var i = 0; i < campform["ar_mycivility"].length; i++) {if (campform["ar_mycivility"][i].checked) { val = campform["ar_mycivility"][i].value; }}url += '\&PREFIX=' + val;} if (campform["ar_mycity"]) { url += '\&CITY=' + campform["ar_mycity"].value; } if (campform["ar_myzipcode"]) { url += '\&ZIP=' + campform["ar_myzipcode"].value; } if (campform["ar_mylastname"]) { url += '\&LN=' + campform["ar_mylastname"].value; } if (campform["ar_myfirstname"]) { url += '\&FN=' + campform["ar_myfirstname"].value; } if (campform["ar_mystreet"]) { url += '\&ST=' + campform["ar_mystreet"].value; } if (campform["ar_myemail"]) { url += '\&EM=' + campform["ar_myemail"].value; } //collect_23 return ( (error.length>0) ? ('&err='+error) : '') + url; } function LSF_submit() { if (!validatePublisherForm()) { return; } if (LSF_submit_loop == 0 && !LSF_send_data()) { return; } window.status='Loading...'; LSF_submit_loop++; var mydate = new Date(); LSF_submit_time = mydate.getTime(); self.setTimeout("check_LSF_submission()", LSF_retry_delay); } //CACHE