// JavaScript Document
function pingFile() {

alert("Ping File");
}



function pingPage() {

alert("Ping Page");
}



function submitSearchViaFrame() {

//alert("Start submitFormViaFrame");

// Get a reference to the Search Form
var rForm = document.SearchForm ;

// Get the action property from the form.
var URL = rForm.action
//alert("URL = " + URL);

// Get the search value from the form's entry field.
var SearchValue = rForm.SearchValue.value
//alert("SearchValue = " + SearchValue);

var OmnisServer = rForm.OmnisServer.value
//alert("OmnisServer = " + OmnisServer);

var OmnisLibrary = rForm.OmnisLibrary.value
//alert("OmnisLibrary = " + OmnisLibrary);

var OmnisClass = rForm.OmnisClass.value
//alert("OmnisClass = " + OmnisClass);

URL = URL + "?" + "OmnisServer=" + OmnisServer + "&OmnisLibrary=" + OmnisLibrary + "&OmnisClass=" + OmnisClass + "&SearchValue=" + SearchValue;
//alert("URL = " + URL);

// Get a reference to the frame
var rFrame = document.getElementById("SearchResults");
//alert("Frame ID = " + rFrame.id);

// Point the frame to the URL
rFrame.src = URL ;


}
