	Keyword = new Object();
var    Descrip = new Object();
var   Address = new Object();
var	Link    = new Object();
	
	

// Keyword[0] = n  (where n is the number of keywords which can be searched
Keyword[0] = 6
Link[0] = 1

Link[1] = "http://dev.myriadcreative.com/thequality/home.html"



// Each entry is split into
// Keyword[n] = text (where text is the keyword of which the entry is to
// be searched by  (type Keywords in lowercase)
// Descrip[n] = text (where text is the description associated to this entry
// Address[n] = text (where text is the URL associated to the entry
//  n is the entry number.

Keyword[1] = "quality"
Descrip[1] = "thequality.com"
Address[1] = "http://www.thequality.com"

Keyword[2] = "muzak"
Descrip[2] = "brilliant animated muzak"
Address[2] = "http://thequality.com/muzak/"

Keyword[3] = "books"
Descrip[3] = "what are they?"
Address[3] = "http://thequality.com/books/"

Keyword[4] = "pics"
Descrip[4] = "The Art of Zen"
Address[4] = "http://thequality.com/pics/"

Keyword[5] = "quality"
Descrip[5] = "what is thequality.com"
Address[5] = "http://www.thequality.com"

Keyword[5] = "keyword"
Descrip[5] = "Your site can go here!"
Address[5] = "http://www.yoursite.com"


    function checkDatabase() {
//alert("yes");
      var Found = false
      var Item = document.forms[0].searchfor.value.toLowerCase();

stats='toolbar=no,location=no,directories=no,status=no,menubar=no,height=300,width=400,'
stats += 'scrollbars=no,resizable=yes' 
MsgBox = window.open ("","msgWindow",stats) 
MsgBox.opener = window;
MsgBox.opener.name = "opener";
MsgBox.document.write("<head><title>thequality.com</title></head>");	
MsgBox.document.write ("<body bgcolor=white text=black link='#000000' vlink='#000000' alink='#009900' leftmargin=10 topmargin=0 marginwidth=10 marginheight=0>")
MsgBox.document.write ("<IMG SRC='images/q_logo.gif' ><br clear=all><br>") 
//MsgBox.document.write ("<table width=380 bgcolor='#FFFFFF' cellspacing=4 cellpadding=2 height=300>")
//MsgBox.document.write ("<tr><td>")
MsgBox.document.write ("<IMG SRC='images/hd_searchresults.gif'><br clear=all><br>")
//MsgBox.document.write ("</td></tr>")
//MsgBox.document.write ("<tr><td>")
MsgBox.document.write ("<font face=verdana size=2><b>For the keyword:  "+Item+"</b></font><br><br>");
        for (var i=1; i <= Keyword[0]; i++) {
        if(Item == Keyword[i]) {
          Found = true;
MsgBox.document.write ("<li><font face=arial size=2><b>"+Descrip[i]+"<BR><A HREF="+Address[i]+" target='opener'>Link Now</A></font><br><br>") 
}
 }   
      if(!Found){
MsgBox.document.write ("<font face=verdana size=2>Sorry there are no matches. </font>")
MsgBox.document.write ("<FORM>") 
MsgBox.document.write ("<font size=2><font color=arial><INPUT type='button' value='Close Window' onClick = 'self.close()'></font></font>") 
MsgBox.document.write ("</FORM>") 
MsgBox.document.write ("</td></tr>")
//MsgBox.document.write ("<tr><td>")
//MsgBox.document.write ("</td></tr>")
/MsgBox.document.write ("</table>")
MsgBox.document.write ("</body>") 
}
     
}

