function openSCWindow(url, windowName) { if (!window.focus) { return; } var myWin = window.open("help.html", windowName); myWin.focus(); url.target = windowName; } //******* dwr call for Keyword************* function keywordSelected() { dwr.util.setValue("searchThis", ""); } //Update keywordList to the Ajax engine //**********Trim results from the keyword list************** function trimKeyword() { var takeTb = dwr.util.getValue("tb"); var temptb = new Array(); temptb = takeTb.split("%"); } function dispAll() { var continent = dwr.util.getValue("continent"); daacList.getData(continent, updateCountryList); } //***************************************************** // function spatial(place) { SpatialList.getSpatialList(place, createList); } function createList(data) { DWRUtil.removeAllOptions("placeList"); DWRUtil.addOptions("placeList", data); } if (window.addEventListener) { window.addEventListener("load", init, false); } else { if (window.attachEvent) { window.attachEvent("onload", init); } else { window.onload = init; } } function init() { DWRUtil.useLoadingMessage(); } //*****Display Alert for Help*********************** function doAlert() { alert("Help feature is currently under development"); } //********************************************************* function completeBound() { var splitter = new Array(); splitter[0] = dwr.util.getValue("north"); splitter[1] = dwr.util.getValue("west"); splitter[2] = dwr.util.getValue("south"); splitter[3] = dwr.util.getValue("east"); joiner = new Array(); joiner = splitter.join(","); dwr.util.setValue("complete", joiner); query(); } //*********************************************************** //Controlling table in the Full page function expandcontract(tbodyid, dis) { document.getElementById(tbodyid).style.display = dis; }