
///////////////// Function for site specific google searches ///////////////
// This function appends a inurl restriction to a search box
// for google site specific searching
////////////////////////////////////////////////////////////////////////////

///////////////////////////////  Begin function //////////////////////

function doSearch(restriction) {
    if (arguments.length > 0) {
            document.searchForm.q.value = 'inurl:' + restriction + ' ' + document.searchForm.vq.value;
    } else {
      document.searchForm.q.value = document.searchForm.vq.value;
    }
    document.searchForm.submit();
}

//////////////////////////// End Function /////////////////////////// 


///////////////// Function for clearing default value from ///////////////
// a form text box - used on the subscribe to e-news form
////////////////////////////////////////////////////////////////////////////

///////////////////////////////  Begin function //////////////////////

function clearDefaultandCSS(el) {
	if (el.defaultValue==el.value) el.value = ""
	// If Dynamic Style is supported, clear the style
	if (el.style) el.style.cssText = ""
}

//////////////////////////// End Function /////////////////////////// 