Search = {} Search.onPageLoad = function() { //Search.roundCorners(); Search.setCurrentSearchTerms(); Search.setAdvancedSearchStyles(); } /************** Rounds the bottom corners of widgets ******************/ //Search.roundCorners = function() { //addEvent(window, 'load', initCorners); //function initCorners() { /* var settings = { tl: { radius: 10 }, tr: { radius: 10 }, bl: { radius: 0 }, br: { radius: 10 }, antiAlias: true } if (document.getElementById("breadcrumb-stacked") != null) curvyCorners(settings, "#breadcrumb-stacked"); Usage: curvyCorners(settingsObj, selectorStr); curvyCorners(settingsObj, Obj1[, Obj2[, Obj3[, . . . [, ObjN]]]]); selectorStr ::= complexSelector [, complexSelector]... complexSelector ::= singleSelector[ singleSelector] singleSelector ::= idType | classType idType ::= #id classType ::= [tagName].className tagName ::= div|p|form|blockquote|frameset // others may work className : .name selector examples: #mydiv p.rounded #mypara .rounded }*/ //} // parameter keys; these must correspond with parameter names in EndecaQueryParameterMap Search.ENDECA_PARAM_NAV_DESCRIPTORS = "N"; Search.ENDECA_PARAM_SEARCH_WITHIN_NAV_DESCRIPTOR = "Ewn"; Search.ENDECA_PARAM_SEARCH_TERMS = "Ntt"; Search.ENDECA_PARAM_RECORD_SEARCH = "R"; // form element names; these must correpond with element names in search forms Search.ENDECA_ELEMENT_SEARCH_TERMS = "endecaSearchTerms"; Search.ENDECA_ELEMENT_RESULTS_PAGE_NAME = "endecaResultsPageName"; Search.ENDECA_ELEMENT_SEARCH_WITHIN = "endecaSearchWithin"; Search.ENDECA_ELEMENT_SEARCH_QUERYSTRING = "endecaSearchQueryString"; Search.ENDECA_ELEMENT_SEARCH_WITHIN_QUERYSTRING = "endecaSearchWithinQueryString"; Search.ENDECA_ELEMENT_SCOPED_SEARCH_DIMVALID = "endecaScopedSearchDimValId" Search.ENDECA_ELEMENT_RECORD_COMPARE_PAGE = "endecaRecordComparePageName"; Search.redirect = function(url) { if (url != '') { window.location.href = url; } }; Search.addAndRedirect = function(param) { if (param != '') { queryString = Common.getQueryString(); if (param.name=="Erp") { var queryParams = queryString.replace("?","").split("&"); var startRecNo = "-1"; var recPerPage = "-1"; for(var i = 0;i