
Keyword = new Object();

Descrip = new Object();

Address = new Object();


Keyword[0] = 5 //对应查询组的数量;

Keyword[1] = "工易"

Descrip[1] = "最强大的管理平台"

Address[1] = "http://www.goeasy.net"

Keyword[2] = "soa架构"

Descrip[2] = "soa实践"

Address[2] = "http://www.goeasy.net/soasj.htm"

function checkDatabase() {

var Found = false

var Item = document.forms[0].searchfor.value.toLowerCase();

stats='toolbar=no,location=no,directories=no,status=no,menubar=no,' 

stats += 'scrollbars=yes,resizable=yes' 

MsgBox = window.open ("","msgWindow",stats) 

MsgBox.document.write("<head><title>查询结果</title></head>");

MsgBox.document.write ("<BODY BGCOLOR=#ffffff TEXT=#000000 LINK=#000080 VLINK=#800040 ALINK=#FF0000><CENTER>查询结果</CENTER>") 

MsgBox.document.write ("For the keyword: "+Item+"<HR>");

for (var i=1; i <= Keyword[0]; i++) {

if(Item == Keyword[i]) {

Found = true;

MsgBox.document.write (Descrip[i]+"<BR><A HREF="+Address[i]+">点击这里进入查看</A><br>") 

}
}

if(!Found)

MsgBox.document.write ("没有发现与该关键词有关的条目。") 
MsgBox.document.write ("<INPUT type='button' value='关闭查询窗口' onClick = 'self.close()'>") 

MsgBox.document.write ("</CENTER></FORM>") }

// -->

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

