function preview2(){ var result=''; var f=document.forms.number; for (var i in f.elements) { if(f.elements[i] && f.elements[i].name && f.elements[i].value) { result += '&'+f.elements[i].name + "=" + f.elements[i].value } } var preview_url='//www.templatehelp.com/aff/preview.php?'+result window.open(preview_url,'preview','resizable=yes, location=no, menubar=no, status=no,scrollbars=yes,width=790,height=550'); } document.write('
'); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); //document.write(''); document.write('
');