function ClearForm1() { document.form1.flastname.value = ""; document.form1.city.value = ""; document.form1.zip.value = ""; document.form1.phone.value = ""; } function ClearForm2() { document.form2.city.value = ""; document.form2.zip.value = ""; document.form2.phone.value = ""; document.form2.ftskeyword.value = ""; } function check_nl1(frm,num_url,wsad_url) { document.form1.flastname.focus(); document.form1.flastname.blur(); var q_num_url = 'index.asp?p=1'; if ( /\S+/.test(frm.elements['flastname'].value) && (frm.elements['flastname'].value.length > 0) ) { q_num_url = q_num_url + '&lastname=' + frm.elements['flastname'].value; } if ( /\S+/.test(frm.elements['city'].value) && (frm.elements['city'].value.length > 0) ) { q_num_url = q_num_url + '&city=' + frm.elements['city'].value; } if ( /\S+/.test(frm.elements['zip'].value) && (frm.elements['zip'].value.length > 0) ) { q_num_url = q_num_url + '&zip=' + frm.elements['zip'].value; } if ( /\S+/.test(frm.elements['phone'].value) && (frm.elements['phone'].value.length > 0) ) { q_num_url = q_num_url + '&phone=' + frm.elements['phone'].value; } //alert(q_num_url); // Nothing was passed, defaulting: if (typeof frm == 'undefined') { if (typeof document.forms[0] != 'undefined') { frm = document.forms[0]; } } // A form element was passed: if (typeof frm.value != 'undefined') { frm = frm.form; } if ( frm.elements['country'].value == '2' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=2'); w_new.window.focus(); } if ( frm.elements['country'].value == '7' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=7'); w_new.window.focus(); } if ( frm.elements['country'].value == '11' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=11'); w_new.window.focus(); } if ( frm.elements['country'].value == '13' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=13'); w_new.window.focus(); } if ( frm.elements['country'].value == '16' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=16'); w_new.window.focus(); } if ( frm.elements['country'].value == '22' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=22'); w_new.window.focus(); } if ( frm.elements['country'].value == '23' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=23'); w_new.window.focus(); } if ( frm.elements['country'].value == '24' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=24'); w_new.window.focus(); } if ( frm.elements['country'].value == '25' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=25'); w_new.window.focus(); } if ( frm.elements['country'].value == '27' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=27'); w_new.window.focus(); } if ( frm.elements['country'].value == '28' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=28'); w_new.window.focus(); } if ( frm.elements['country'].value == '29' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=29'); w_new.window.focus(); } if ( frm.elements['country'].value == '30' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=30'); w_new.window.focus(); } if ( frm.elements['country'].value == '33' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=33'); w_new.window.focus(); } if ( frm.elements['country'].value == '37' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=37'); w_new.window.focus(); } if ( frm.elements['country'].value == '40' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=40'); w_new.window.focus(); } if ( frm.elements['country'].value == '49' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=49'); w_new.window.focus(); } if ( frm.elements['country'].value == '50' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=50'); w_new.window.focus(); } if ( frm.elements['country'].value == '55' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=55'); w_new.window.focus(); } if ( frm.elements['country'].value == '68' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=68'); w_new.window.focus(); } if ( frm.elements['country'].value == '77' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=77'); w_new.window.focus(); } if ( frm.elements['country'].value == '87' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=87'); w_new.window.focus(); } if ( frm.elements['country'].value == '89' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=89'); w_new.window.focus(); } if ( frm.elements['country'].value == '90' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=90'); w_new.window.focus(); } if ( frm.elements['country'].value == '95' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=95'); w_new.window.focus(); } if ( frm.elements['country'].value == '96' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=96'); w_new.window.focus(); } if ( frm.elements['country'].value == '101' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=101'); w_new.window.focus(); } if ( frm.elements['country'].value == '106' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=106'); w_new.window.focus(); } if ( frm.elements['country'].value == '110' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=110'); w_new.window.focus(); } if ( frm.elements['country'].value == '117' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=117'); w_new.window.focus(); } if ( frm.elements['country'].value == '119' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=119'); w_new.window.focus(); } if ( frm.elements['country'].value == '129' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=129'); w_new.window.focus(); } if ( frm.elements['country'].value == '145' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=145'); w_new.window.focus(); } if ( frm.elements['country'].value == '149' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=149'); w_new.window.focus(); } if ( frm.elements['country'].value == '154' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=154'); w_new.window.focus(); } if ( frm.elements['country'].value == '159' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=159'); w_new.window.focus(); } if ( frm.elements['country'].value == '163' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=163'); w_new.window.focus(); } if ( frm.elements['country'].value == '166' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=166'); w_new.window.focus(); } if ( frm.elements['country'].value == '168' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=168'); w_new.window.focus(); } if ( frm.elements['country'].value == '172' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=172'); w_new.window.focus(); } if ( frm.elements['country'].value == '178' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=178'); w_new.window.focus(); } if ( frm.elements['country'].value == '179' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=179'); w_new.window.focus(); } if ( frm.elements['country'].value == '181' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=181'); w_new.window.focus(); } if ( frm.elements['country'].value == '182' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=182'); w_new.window.focus(); } if ( frm.elements['country'].value == '185' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=185'); w_new.window.focus(); } if ( frm.elements['country'].value == '186' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=186'); w_new.window.focus(); } if ( frm.elements['country'].value == '194' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=194'); w_new.window.focus(); } if ( frm.elements['country'].value == '206' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=206'); w_new.window.focus(); } if ( frm.elements['country'].value == '208' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=208'); w_new.window.focus(); } if ( frm.elements['country'].value == '217' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=217'); w_new.window.focus(); } if ( frm.elements['country'].value == '218' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=218'); w_new.window.focus(); } if ( frm.elements['country'].value == '226' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=226'); w_new.window.focus(); } if ( frm.elements['country'].value == '227' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=227'); w_new.window.focus(); } if ( frm.elements['country'].value == '228' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=white&lid=228'); w_new.window.focus(); } } function check_nl2(frm,num_url,wsad_url) { document.form2.ftskeyword.focus(); document.form2.ftskeyword.blur(); // Nothing was passed, defaulting: if (typeof frm == 'undefined') { if (typeof document.forms[0] != 'undefined') { frm = document.forms[0]; } } // A form element was passed: if (typeof frm.value != 'undefined') { frm = frm.form; } if ( frm.elements['country'].value == '3' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=3'); w_new.window.focus(); } if ( frm.elements['country'].value == '4' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=4'); w_new.window.focus(); } if ( frm.elements['country'].value == '5' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=5'); w_new.window.focus(); } if ( frm.elements['country'].value == '7' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=7'); w_new.window.focus(); } if ( frm.elements['country'].value == '8' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=8'); w_new.window.focus(); } if ( frm.elements['country'].value == '11' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=11'); w_new.window.focus(); } if ( frm.elements['country'].value == '12' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=12'); w_new.window.focus(); } if ( frm.elements['country'].value == '13' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=13'); w_new.window.focus(); } if ( frm.elements['country'].value == '16' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=16'); w_new.window.focus(); } if ( frm.elements['country'].value == '17' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=17'); w_new.window.focus(); } if ( frm.elements['country'].value == '20' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=20'); w_new.window.focus(); } if ( frm.elements['country'].value == '21' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=21'); w_new.window.focus(); } if ( frm.elements['country'].value == '22' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=22'); w_new.window.focus(); } if ( frm.elements['country'].value == '23' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=23'); w_new.window.focus(); } if ( frm.elements['country'].value == '24' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=24'); w_new.window.focus(); } if ( frm.elements['country'].value == '25' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=25'); w_new.window.focus(); } if ( frm.elements['country'].value == '27' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=27'); w_new.window.focus(); } if ( frm.elements['country'].value == '28' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=28'); w_new.window.focus(); } if ( frm.elements['country'].value == '29' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=29'); w_new.window.focus(); } if ( frm.elements['country'].value == '30' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=30'); w_new.window.focus(); } if ( frm.elements['country'].value == '33' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=33'); w_new.window.focus(); } if ( frm.elements['country'].value == '37' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=37'); w_new.window.focus(); } if ( frm.elements['country'].value == '40' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=40'); w_new.window.focus(); } if ( frm.elements['country'].value == '41' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=41'); w_new.window.focus(); } if ( frm.elements['country'].value == '42' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=42'); w_new.window.focus(); } if ( frm.elements['country'].value == '45' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=45'); w_new.window.focus(); } if ( frm.elements['country'].value == '46' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=46'); w_new.window.focus(); } if ( frm.elements['country'].value == '47' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=47'); w_new.window.focus(); } if ( frm.elements['country'].value == '48' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=48'); w_new.window.focus(); } if ( frm.elements['country'].value == '50' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=50'); w_new.window.focus(); } if ( frm.elements['country'].value == '53' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=53'); w_new.window.focus(); } if ( frm.elements['country'].value == '55' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=55'); w_new.window.focus(); } if ( frm.elements['country'].value == '56' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=56'); w_new.window.focus(); } if ( frm.elements['country'].value == '57' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=57'); w_new.window.focus(); } if ( frm.elements['country'].value == '58' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=58'); w_new.window.focus(); } if ( frm.elements['country'].value == '61' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=61'); w_new.window.focus(); } if ( frm.elements['country'].value == '62' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=62'); w_new.window.focus(); } if ( frm.elements['country'].value == '64' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=64'); w_new.window.focus(); } if ( frm.elements['country'].value == '65' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=65'); w_new.window.focus(); } if ( frm.elements['country'].value == '66' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=66'); w_new.window.focus(); } if ( frm.elements['country'].value == '67' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=67'); w_new.window.focus(); } if ( frm.elements['country'].value == '68' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=68'); w_new.window.focus(); } if ( frm.elements['country'].value == '72' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=72'); w_new.window.focus(); } if ( frm.elements['country'].value == '73' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=73'); w_new.window.focus(); } if ( frm.elements['country'].value == '74' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=74'); w_new.window.focus(); } if ( frm.elements['country'].value == '75' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=75'); w_new.window.focus(); } if ( frm.elements['country'].value == '77' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=77'); w_new.window.focus(); } if ( frm.elements['country'].value == '81' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=81'); w_new.window.focus(); } if ( frm.elements['country'].value == '86' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=86'); w_new.window.focus(); } if ( frm.elements['country'].value == '87' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=87'); w_new.window.focus(); } if ( frm.elements['country'].value == '88' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=88'); w_new.window.focus(); } if ( frm.elements['country'].value == '89' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=89'); w_new.window.focus(); } if ( frm.elements['country'].value == '90' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=90'); w_new.window.focus(); } if ( frm.elements['country'].value == '91' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=91'); w_new.window.focus(); } if ( frm.elements['country'].value == '92' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=92'); w_new.window.focus(); } if ( frm.elements['country'].value == '93' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=93'); w_new.window.focus(); } if ( frm.elements['country'].value == '94' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=94'); w_new.window.focus(); } if ( frm.elements['country'].value == '95' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=95'); w_new.window.focus(); } if ( frm.elements['country'].value == '96' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=96'); w_new.window.focus(); } if ( frm.elements['country'].value == '99' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=99'); w_new.window.focus(); } if ( frm.elements['country'].value == '100' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=100'); w_new.window.focus(); } if ( frm.elements['country'].value == '102' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=102'); w_new.window.focus(); } if ( frm.elements['country'].value == '106' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=106'); w_new.window.focus(); } if ( frm.elements['country'].value == '109' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=109'); w_new.window.focus(); } if ( frm.elements['country'].value == '110' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=110'); w_new.window.focus(); } if ( frm.elements['country'].value == '113' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=113'); w_new.window.focus(); } if ( frm.elements['country'].value == '114' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=114'); w_new.window.focus(); } if ( frm.elements['country'].value == '117' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=117'); w_new.window.focus(); } if ( frm.elements['country'].value == '118' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=118'); w_new.window.focus(); } if ( frm.elements['country'].value == '119' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=119'); w_new.window.focus(); } if ( frm.elements['country'].value == '120' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=120'); w_new.window.focus(); } if ( frm.elements['country'].value == '125' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=125'); w_new.window.focus(); } if ( frm.elements['country'].value == '129' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=129'); w_new.window.focus(); } if ( frm.elements['country'].value == '133' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=133'); w_new.window.focus(); } if ( frm.elements['country'].value == '135' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=135'); w_new.window.focus(); } if ( frm.elements['country'].value == '141' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=141'); w_new.window.focus(); } if ( frm.elements['country'].value == '142' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=142'); w_new.window.focus(); } if ( frm.elements['country'].value == '143' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=143'); w_new.window.focus(); } if ( frm.elements['country'].value == '145' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=145'); w_new.window.focus(); } if ( frm.elements['country'].value == '147' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=147'); w_new.window.focus(); } if ( frm.elements['country'].value == '149' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=149'); w_new.window.focus(); } if ( frm.elements['country'].value == '151' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=151'); w_new.window.focus(); } if ( frm.elements['country'].value == '154' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=154'); w_new.window.focus(); } if ( frm.elements['country'].value == '158' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=158'); w_new.window.focus(); } if ( frm.elements['country'].value == '159' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=159'); w_new.window.focus(); } if ( frm.elements['country'].value == '160' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=160'); w_new.window.focus(); } if ( frm.elements['country'].value == '162' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=162'); w_new.window.focus(); } if ( frm.elements['country'].value == '163' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=163'); w_new.window.focus(); } if ( frm.elements['country'].value == '166' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=166'); w_new.window.focus(); } if ( frm.elements['country'].value == '167' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=167'); w_new.window.focus(); } if ( frm.elements['country'].value == '168' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=168'); w_new.window.focus(); } if ( frm.elements['country'].value == '169' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=169'); w_new.window.focus(); } if ( frm.elements['country'].value == '170' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=170'); w_new.window.focus(); } if ( frm.elements['country'].value == '172' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=172'); w_new.window.focus(); } if ( frm.elements['country'].value == '173' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=173'); w_new.window.focus(); } if ( frm.elements['country'].value == '177' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=177'); w_new.window.focus(); } if ( frm.elements['country'].value == '181' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=181'); w_new.window.focus(); } if ( frm.elements['country'].value == '182' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=182'); w_new.window.focus(); } if ( frm.elements['country'].value == '183' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=183'); w_new.window.focus(); } if ( frm.elements['country'].value == '185' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=185'); w_new.window.focus(); } if ( frm.elements['country'].value == '186' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=186'); w_new.window.focus(); } if ( frm.elements['country'].value == '194' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=194'); w_new.window.focus(); } if ( frm.elements['country'].value == '198' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=198'); w_new.window.focus(); } if ( frm.elements['country'].value == '199' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=199'); w_new.window.focus(); } if ( frm.elements['country'].value == '200' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=200'); w_new.window.focus(); } if ( frm.elements['country'].value == '204' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=204'); w_new.window.focus(); } if ( frm.elements['country'].value == '206' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=206'); w_new.window.focus(); } if ( frm.elements['country'].value == '207' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=207'); w_new.window.focus(); } if ( frm.elements['country'].value == '208' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=208'); w_new.window.focus(); } if ( frm.elements['country'].value == '213' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=213'); w_new.window.focus(); } if ( frm.elements['country'].value == '215' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=215'); w_new.window.focus(); } if ( frm.elements['country'].value == '216' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=216'); w_new.window.focus(); } if ( frm.elements['country'].value == '217' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=217'); w_new.window.focus(); } if ( frm.elements['country'].value == '218' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=218'); w_new.window.focus(); } if ( frm.elements['country'].value == '219' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=219'); w_new.window.focus(); } if ( frm.elements['country'].value == '222' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=222'); w_new.window.focus(); } if ( frm.elements['country'].value == '225' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=225'); w_new.window.focus(); } if ( frm.elements['country'].value == '226' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=226'); w_new.window.focus(); } if ( frm.elements['country'].value == '227' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=227'); w_new.window.focus(); } if ( frm.elements['country'].value == '228' ) { frm.elements['country'].value = 'KL'; w_new = window.open('/asp/telefoon/tel_extern.asp?gids=telefoon&pt=yellow&lid=228'); w_new.window.focus(); } } function check_input1(frm) { var key; // Nothing was passed, defaulting: if (typeof frm == 'undefined') { if (typeof document.forms[0] != 'undefined') { frm = document.forms[0]; } } // A form element was passed: if (typeof frm.value != 'undefined') { frm = frm.form; } var tr = { phone: "Zoeken op nummer niet toegestaan in Nederland", country: "U heeft geen land gekozen", city: "U heeft geen woonplaats of gebied aangegeven", bldnum: "U heeft geen straat aangegeven", naam: "U heeft geen naam ingevuld", zip: "Postcode is niet geldig", input: "U heeft geen gegevens ingevuld" }; if ( !/\S+/.test(frm.elements['flastname'].value) && !/\S+/.test(frm.elements['city'].value) && !/\S+/.test(frm.elements['phone'].value) && !/\S+/.test(frm.elements['zip'].value) ) { frm.elements['flastname'].focus(); alert(tr['input']); return false; } if ( !/\S+/.test(frm.elements['flastname'].value) && (frm.elements['country'].value == '229') ) { frm.elements['flastname'].focus(); alert(tr['naam']); return false; } if ( /\S+/.test(frm.elements['phone'].value) && (frm.elements['country'].value == '229') ) { frm.elements['phone'].focus(); alert(tr['phone']); return false; } if ( /\S+/.test(frm.elements['zip'].value) && (frm.elements['zip'].value.length < 4) && (frm.elements['country'].value == '229') ) { frm.elements['zip'].focus(); alert(tr['zip']); return false; } if ( frm.elements['country'].value == 'KL' ) { frm.elements['country'].focus(); alert(tr['country']); return false; } if ( /\S+/.test(frm.elements['flastname'].value) ) { // frm.elements['lastname'].value = frm.elements['flastname'].value + '*'; frm.elements['lastname'].value = frm.elements['flastname'].value; } else { frm.elements['lastname'].value = frm.elements['flastname'].value; } frm.submit(); return false; } function check_input2(frm) { var key; // Nothing was passed, defaulting: if (typeof frm == 'undefined') { if (typeof document.forms[0] != 'undefined') { frm = document.forms[0]; } } // A form element was passed: if (typeof frm.value != 'undefined') { frm = frm.form; } var tr = { phone: "Zoeken op nummer niet toegestaan in Nederland", country: "U heeft geen land gekozen", minlength: "Vul minimaal 3 karakters in", naam: "U heeft geen naam ingevuld", zip: "Postcode is niet geldig", input: "U heeft geen gegevens ingevuld" }; if ( !/\S+/.test(frm.elements['city'].value) && !/\S+/.test(frm.elements['phone'].value) && !/\S+/.test(frm.elements['zip'].value) && !/\S+/.test(frm.elements['ftskeyword'].value) ) { frm.elements['ftskeyword'].focus(); alert(tr['input']); return false; } if ( /\S+/.test(frm.elements['city'].value) && (frm.elements['city'].value.length < 3) ) { frm.elements['city'].focus(); alert(tr['minlength']); return false; } if ( /\S+/.test(frm.elements['phone'].value) && (frm.elements['country'].value == '229') ) { frm.elements['phone'].focus(); alert(tr['phone']); return false; } if ( /\S+/.test(frm.elements['zip'].value) && (frm.elements['zip'].value.length < 4) ) { frm.elements['zip'].focus(); alert(tr['zip']); return false; } if ( frm.elements['country'].value == 'KL' ) { frm.elements['country'].focus(); alert(tr['country']); return false; } if ( /\S+/.test(frm.elements['ftskeyword'].value) && (frm.elements['ftskeyword'].value.length < 3) ) { frm.elements['ftskeyword'].focus(); alert(tr['minlength']); return false; } frm.submit(); return false; }