var item = new Array();

// "Page Name","path","Page Title","Many,Key,Words","Descriptive Comments"

c=0; item[c]=new Array("pisp.html","oldlinks/","ISPs Of Pakistan","isp,pakistan,wol,cybernet,go,isps of pakistan","This page contains the URLs of some pakistani ISPs along with their contant numbers.");
c++; item[c]=new Array("dos.htm","oldlinks/","Dos Error Messages","pc,dos,disk operating system","This page features the explanations of different errors which you might have ecountered while working in DOS.");
c++; item[c]=new Array("isc.htm","oldlinks/","Internet Security Concerns","pc,internet,security, net","Are you worried about your security while visiting various sites on the web. Stop Worring!!. This page has got something to make you feel secure while surfing.");
c++; item[c]=new Array("nt.htm","oldlinks/","Net Terms","internet,net, terms","Contains some net terms along with their description.");
c++; item[c]=new Array("ws.htm","oldlinks/","Web Solutions","html,coding,webdesigning,tips,tricks","This page contain some useful HTML tips which might help you to make your own webpage. Give it a try!");
c++; item[c]=new Array("plugins.htm","oldlinks/","Plugins","plugins,web,types of plugins","This page features an article titled 'Types of Plugins'");
c++; item[c]=new Array("default.asp","http://www24.brinkster.com/theislampage/","Islamic Names","names,islam,islamic","This page features some Islamic Names along with their meanings.");
c++; item[c]=new Array("webguru.htm","oldlinks/","Web Guru","web,guru,web guru","Gives you the detail info about webgurus");
c++; item[c]=new Array("tttfwd.htm","oldlinks/","Tips And Tricks","html,tips,tricks,webpage,designing,website","This page features ten top tips for webpage designing.");
c++; item[c]=new Array("ihistory.htm","oldlinks/","Internet History","net,internet,history,web,arpanet","This page contains a brief history of Internet. How it was came into being, how it works etc. ");
c++; item[c]=new Array("javagames.html","http://www.angelfire.com/ia2/yasir/javagames/","Java Games","games,java,love test, spy man","This page features about 20 very interesing java games. You dont have to download anything. Just go there and start playing right away.");
c++; item[c]=new Array("hadiqa.html","http://www.angelfire.com/ia2/yasir/","Winamp Skins","winamp,skins,hadiqa,junoon,pakistani cricket team, pakistan, alihaider, ali , junaid","This page has got some winamp skins.");
c++; item[c]=new Array("chaticq.html","","IrCQ Chat","chat,icq,ircq","Do you want to make new friends on the web. Chating is the one way to achieve this goal. So thats y IrCQ chat room is there!");
c++; item[c]=new Array("5stiyss.htm","oldlinks/","5 Step towards improving your system security","tips,tricks,system,security,pc","Here, you will find 5 very important tips to make your system secure. ");
c++; item[c]=new Array("acronym.html","oldlinks/","Acronyms","acronym,acronyms,ascii,bcd","Sometimes you might wonder about what does ASCII stands for. Stop wondering. This page has got loads of sych acronyms to make you familiar with them. ");
c++; item[c]=new Array("gaming.htm","oldlinks/","Best of Gaming 2000","games,cheats,cheat codes,gaming,pc,diablo2,the sims, simulator, FIFA","This page features a commentary on best games of 2000 like FIFA, Flight Simulator, The Sims and more..");
c++; item[c]=new Array("gopherit.html","oldlinks/","GopherIT","links,website,urls,strange sites,useful sites","This page contain inks to some of the most interesting websites on the web today.");
c++; item[c]=new Array("magneticadd.html","oldlinks/","Magnetic addiction","magnetic addiction, pc, internet, net, net usage","To find out 'How the Internet turns out to be more like a spider-web and how people indulge in its excessive use'. Visit this link.");
c++; item[c]=new Array("cc.htm","oldlinks/","Cheat Codes","cheat codes, cheats, tips, tricks, games, pc, fifa, nfs","Here, you will find CHEAT CODES of varios games like FIFA,NFS,NBA,CRICKET 2000 plus others.");

page="<html><head><base target=_blank><title>Search Results</title></head><body bgcolor='white' ><center><table border=0 cellspacing=10 width=80%>";


function search(frm) {
win = window.open("","","scrollbars");
win.document.write(page);
txt = frm.srchval.value.split(" ");
fnd = new Array(); total=0;
for (i = 0; i < item.length; i++) {
fnd[i] = 0; order = new Array(0, 4, 2, 3);
for (j = 0; j < order.length; j++)
for (k = 0; k < txt.length; k++)
if (item[i][order[j]].toLowerCase().indexOf(txt[k]) > -1 && txt[k] != "")
fnd[i] += (j+1);
}
for (i = 0; i < fnd.length; i++) {
n = 0; w = -1;
for (j = 0;j < fnd.length; j++)
if (fnd[j] > n) { n = fnd[j]; w = j; };
if (w > -1) total += show(w, win, n);
fnd[w] = 0;
}
win.document.write("</table>Total found: "+total+"<br></body></html>");
win.document.close();
}
function show(which,wind,num) {
link = item[which][1] + item[which][0]; 
line = "<tr><td><a href='"+link+"'>"+item[which][2]+"</a> Score: "+num+"<br>";
line += item[which][4] + "<br>"+link+"</td></tr>";
wind.document.write(line);
return 1;
}