	var item = new Array();
	c=0; 
	item[c]=new Array();
	item[c]=["../corporate/corporate.htm","","DemoSite"," Frequently Asked Questions Support services GraceSoft has a proven track record of developing cutting edge software solutions for various industries. Product Support   Training Hotels Web-Based B & B and Inns Condos Global Distribution System System Requirements SLA Buy Direct Guarantee GraceSoft is a full service application provider. Easy solutions for Property Management Software, Web-Based systems, document management, central reservation systems and custom development needs.EasyInnkeeping Hotel Software and Property Management Software designed for hotels and motels, resorts and condos emphasizing ease of use, speed, reliability, pricing, and integration of all aspects of property management. ","Demonstration search engine data about an imagined but probable internet site."];
	c++; item[c]=new Array();
	item[c]=["../corporate/corporate.htm","","About Me","about About,Property Management System –Web-based Hotel Management Software Enterprise Solutions full service application provider. Easy solutions for Property Management Software, Web-Based systems, document management, central reservation systems and custom development needs contact,email,who","Enjoy the unique benefits of a web-based system: no costly upgrades or hardware improvements required, remote and secure access from anywhere and centralized inventory and guest data management. "];
	c++; item[c]=new Array("../benefits/associations.htm","","Links page","Easy WebRez Tour module is ideal for adventure companies, boat reservations, cruise operators, coaching companies, dive companies and any other tour or rental operators. Use Easy WebRez tour module for simple, one-priced tours or for more complex bookings that include availability and capacity tracking and multiple rates. Your Visitors and Reservations staff will love it! Plus, you can assign resellers such as Travel Agents, etc, with their own commission rates to sell your tours. Immediate Credit Card Processing Add real-time credit card transactions to the Easy WebRez™ booking system with GraceSoft’s Authorize.Net module. Authorize.Net offers secure, scalable solutions that enable businesses to process unlimited web site-based transactions from anywhere in the world in multiple currencies. Authorize.Net is built on the kind of secure technology that is now being implemented for electronic money transactions throughout the banking indu	stry. Easy seamless integration with your website.  Customizable Availability Calendar (optional) E-mail Integration Search Capabilities Travel Agent login. Customizable color schemes.Automatic downloads of reservations to your reservation management software.Real-time reservations and confirmations. Automatic inventory reduction’Easy seamless integration with your website Easy WebRez central reservation system was designed with a code builder feature that generates the HTML code for your webmaster. This allows your designer to simply cut and paste code into your website to quickly and easily start displaying your availability calendar. Colors, photos and logos can be uploaded to your Easy WebRez pages to offer complete visual details for your guests. E mail Integration A confirmation e-mail is sent to the customer as soon as an online booking is made. Easy InnKeeping reservation software and Easy WebRez online reservation system work together seamlessly. A reservation confirmation e-mail is sent to the gu	est with all the details of payment, the arrival date and time. The reservation details are automatically sent to the property’s Easy InnKeeping reservation management system or by email to the tour manager.Travel Agent Login Set various logins and travel agent commissions. Use Easy WebRez reports to calculate commissions paid/due. Customizable Color Schemes Easy WebRez Online reservation system gives you the ability to customize your calendars to match the exact colors of your website's color scheme. The Easy WebRez Engine is built with customization in mind, to suit any type of reservation environment. The look and feel of the system can be customized to integrate with the looks of the tour company’s web site.","Links to my favourite sites which I find interesting. Other friends sites which have similar interests to my own.");
	c++; item[c]=new Array("main.htm","main/","Main Page","content,main,focus","The main part of my site which contains what you have come to see. Lots of stuff like that and more great things. All in a sub directory.");
	c++; item[c]=new Array("logo.jpg","main/images/","Link Logo","link,image,logo,graphic","The logo.jpg is just a small image which you can place on your site as a link to me. It's in a second level subdirectory.");

	page="<html><head><title>Search Results</title></head><body bgcolor='white'><center><table border=0 cellspacing=10 width=80%>";


	function search(frm) 
	{
		win = window.open("","","resizable=1");
		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><br>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+"' target=blank>"+item[which][2]+"</a> Score: "+num+"<br>";
			line += item[which][4] + "<br>"+link+"</td></tr>";
			wind.document.write(line);
			return 1;
	}