function f_help(){
feat='width=340,height=200,top=0,left=50,titlebar=0,toolbar=0,location=0,menubar=0,scrollbars=1,resizable=1,channelmode=0,directories=0';
xwin = window.open(help.php?",'help', feat);
}


function cat_pagesearch(){
window.location.href="catalog.php?words="+word+"&page="+(document.pagesearch.numb.selectedIndex*1+1)
}
function cat_pagesearch2(){
window.location.href="catalog.php?words="+word+"&page="+(document.pagesearch2.numb.selectedIndex*1+1)
}
function res_pagesearch(){
window.location.href="results.php?key="+word+"&page="+(document.pagesearch.numb.selectedIndex*1+1)
}
function res_pagesearch2(){
window.location.href="results.php?key="+word+"&page="+(document.pagesearch2.numb.selectedIndex*1+1)
}


function res_adv(){
results=results.replace(/(<li>)/gi,"").replace(/(<ol start=1>)/gi,"").replace(/(<\/ol>)/gi,"").replace(/(<\/li>)/gi,"").replace(/(<p>)/gi,"<br>")
document.write ("<div  style='font-size:8pt;fontsize:8pt;font-family:Arial;fontfamily:Arial'>"+results+"<p><a href='results.php?key="+query+"&page=2&nickname=top4webs'>More "+query+"...</a></div>")
}

function cat_adv(){
results_c=results_c.replace(/(<li>)/gi,"").replace(/(<ol start=1>)/gi,"").replace(/(<\/ol>)/gi,"").replace(/(<\/li>)/gi,"").replace(/(<p>)/gi,"<br>")
document.write ("<div  style='font-size:8pt;fontsize:8pt;font-family:Arial;fontfamily:Arial'>"+results_c+"<p><a href='catalog.php?words="+query_c+"&page=2&nickname=top4webs'>More "+query_c.split("-")[query_c.split("-").length-1]+"...</a></div>")
}

