<!-- Begin
var item = new Array();

/* Here is where all the magic happens.  
    Just enter as many additional pages that
    that you want to search, then fill in the
    additional listings for each page.
*/

// "Page Name","path","Page Title","Many,Key,Words","Descriptive Comments"

c=0; item[c]=new Array("index.html","","Chris Design","Index,index,Main,main,Start,start,Home,home,Front,front,chrisdesign,chris design,ChrisDesign,Chris Design","Chris Design, a web design and development studio based in Toronto, Ontario. We specialize in business focused web design and web application.");
c++; item[c]=new Array("about_us.html","","About Us","About,about,Company,company,Who,who,ChrisDesign,Chris Design,chrisdesign,chris design","We offer a variety of web services that enable us to be your one-stop shop for all of your web site needs.");
c++; item[c]=new Array("services.html","","Services Page","Business,business,Service,service,Services,services,Product,product,Products,products,Provide,provide,Web Design,web design,Graphic Design,graphic design,Multimedia,multimedia,Domain,domain,Register,register,Hosting,hosting,Hosting,Web Hosting,web hosting,Web,web,Design,design","We offer a full range of services including website design, graphic design, print design, logo design, business card design, animation, Application of Kiosk");
c++; item[c]=new Array("services_domain.html","","Domain Register","Domain,domain,Register,register,Domain Register,domain register,Domain Search,domain search","We can help you to register most domains including .com, .net, .org, .biz, .info, .ca and .us at very competitive parices.");
c++; item[c]=new Array("services_hosting.html","","Web Hosting","Web Hosting,web hosting,Hosting,hosting,Host,host","We can help you to choice hosting package which adapt to you and your business, save your money.");
c++; item[c]=new Array("services_web_design.html","","Web Design","Web,web,Web Design,web design,Designer,designer,Design,design,Process,process,Web Design Process,web design process,Step,step,Steps,steps,Processing,processing","Professional web design, full range of design services, technologies used include HTML, Javascript, Perl, Flash, ASP and JSP.");
c++; item[c]=new Array("services_multimedia.html","","Multimedia","Design,design,Graphic Design,graphic design,Graphic,graphic,Print Design,print design,Print,print,Photo,photo,Scan,scan,Image,image,Kiosk,kiosk,Animation,animation,Cd,cd,CD,Logo Design,logo design,Business Card,business card,Brochures,brochures","Flash animations, icons, catalogues, brochures, business card, logo, advertising banners, scanning, photo album CD, Application for Kiosk.");
c++; item[c]=new Array("cutenews/events.php","","News and Events","New,news,Events,events,What's New,what's new,New,new,Promotion,promotion,Bulletin,bulletin","Big promotoin, new project, new service, low price, Wow!");
c++; item[c]=new Array("portfolio.html","","Portfolio","Portfolio,portfolio,Demo,demo,Sample,sample","Some projects done, some projects processing, more info. please tontact us: info@chrisdesign.com");
c++; item[c]=new Array("pricing.html","","Pricing","Price,price,Pricing,pricing,Money,money,Rate,rate,How Much,how much","Take look at our price, high quality low price, what are you wait for...");
c++; item[c]=new Array("faq.html","","FAQ","Question,question,Faq,faq,Ask,ask,Why,why,Questions,questions","Frequently Asked Questions: you need to know, you want to know.");
c++; item[c]=new Array("legal.html","","Legal","Legal,legal,Copywrite,copywrite,Illegal,illegal,Law,law","Disclaimer / Terms of use");
c++; item[c]=new Array("links.html","","Links","Link,link,Links,links,Other,other,Partner,partner,Hot Link,hot link","Some partners web links and some hot links which you like to use.");
c++; item[c]=new Array("bott_logo.gif","images/","Chris Design Logo","Logo,logo","The bott_logo.gif is just a small image which you can place on your site as a link to me.");

page="<html><head><title>Search Results</title><meta http-equiv='Content-Type' content='text/html' charset='iso-8859-1'></head><body bgcolor='white'><font size='2' face='Arial, Helvetica, sans-serif'><center><table border=0 cellspacing=10 width=80%>";


function search(frm) {
win = window.open("","","toolbar=yes,status=yes,scrollbars=yes,location=yes,menubar=yes,directories=yes,resizable=yes");
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(3, 4, 2);
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] != "")
if (item[i][order[j]].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><br>Total found: "+total+"<br></font></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;
}
//  End -->
