function preview_category(){ var result=''; var f=document.forms.f_categ; if(f.target=='_blank'){ var preview_url='http://www.mytemplatestorage.com/interface.php?category='+f.category.value+'&'+''; window.open(preview_url,'preview','resizable=yes, location=no, menubar=no, status=no,scrollbars=yes,width=790,height=550'); }else{ f.submit(); } } document.write(''); document.write('
'); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write('') document.write('
');