';
}
else {
occgroups += '
';
}
AIShowJobSearchKeyOccGroupModal(passKeyword, occgroups, modalMessage);
}
}
})
}
function AIShowJobSearchKeyOccGroupModal(key, occgroups, msg) {
if (occgroups.length > 0) {
var divJobSearchKeyOcGroup;
divJobSearchKeyOcGroup = '
' +
'
' +
'
' +
'' +
'
' +
'' +
'
' +
'' +
'
' +
'
' +
'
';
$('body').append(divJobSearchKeyOcGroup);
$('#spnJobSearchKeyOccGroupStart').html(msg)
$('#spnJobSearchKeyOccGroupBtns').html(occgroups)
$('#modalJobSearchKeyOccGroup').modal('show');
$('#btnJobSearchKeyOccGroupShowAll').focus(function () {
$(this).addClass('hover');
}).blur(function () {
$(this).removeClass('hover');
});
$('#btnJobSearchKeyOccGroupShowAll').focus();
//var rw = sessionStorage.getItem("remotework_jobsearch");
//if (rw && rw.length > 0 && rw == "1") {
// $('#chkIncludeRemoteWork').prop('checked', true);
//}
//$('#chkIncludeRemoteWork').on('change', function () {
// if ($('#chkIncludeRemoteWork').prop('checked')) {
// sessionStorage.setItem("remotework_jobsearch", "1");
// }
// else {
// sessionStorage.setItem("remotework_jobsearch", "0");
// }
//});
}
}
function ExecuteAIFinal(location, defaultGeo, strCountry, keyword, occupation, edulevel, minsal) {
var url = '';
if (g_AIResponseUseQuickSearch == 1) {
if (occupation != "" && occupation != null) {
sessionStorage.setItem(decodeURI(keyword).toLowerCase(), occupation);
} else {
sessionStorage.removeItem(decodeURI(keyword).toLowerCase());
}
url = '/vosnet/jobbanks/joblist.aspx?t=q&session=jobsearch'; // ResolveUrl
if (location !== '')
url += '&city=' + location;
if (occupation !== '')
url += '&occcode=' + occupation;
if (keyword !== '')
url += '&keyword=' + keyword;
url += '&cboEdulevel=' + edulevel;
if (minsal !== '')
url += '&minsal=' + minsal;
}
else {
url = '/vosnet/jobbanks/joblist.aspx?t=a&session=jobsearch'; // ResolveUrl
if (location !== '')
url += '&rep_loc=' + location;
if (occupation !== '')
url += '&rep_occ=' + occupation;
if (keyword !== '')
url += '&rep_key=' + keyword;
}
// encrypt querystring!
window.location = url;
}
/* **************************************************************************** */
function JobsearchAlert() {
try {
geosol.alert("Please provide a keyword or location before you continue.");
}
catch (err) {
alert("Please provide a keyword or location before you continue.");
}
return false;
}
function KeywordAlert() {
try {
geosol.alert("Please provide a keyword before you continue.");
}
catch (err) {
alert("Please provide a keyword before you continue.");
}
return false;
}
function LocationAlert() {
try {
geosol.alert("Please provide a location before you continue.");
}
catch (err) {
alert("Please provide a location before you continue.");
}
return false;
}
function KeywordOrLocationAlert() {
try {
geosol.alert("Please provide a keyword or location before you continue.");
}
catch (err) {
alert("Please provide a keyword or location before you continue.");
}
return false;
}
function getKeyword() {
var selKeyword = $('#univsearchtxtkeyword').val().replace('<', '').replace('>', '').replace('(', '').replace(')', '').replace('/', '').replace('\\', '').replace(')', '');
return selKeyword;
}
function ClearDefaults() {
var selKeyword = getKeyword();
if (selKeyword == keywordPlaceholder) {
$('#univsearchtxtkeyword').val("");
}
var selLocation = $('#univsearchlocation').val();
if (selLocation == locationPlaceholder) {
$('#univsearchlocation').val("");
}
}
function HasKeyword() {
var selKeyword = getKeyword();
if (selKeyword != keywordPlaceholder && selKeyword.length > 0) {
return true;
}
else {
return false;
}
}
function HasLocation() {
var selLocation = $('#univsearchlocation').val();
if (selLocation && selLocation != locationPlaceholder && selLocation.length > 0) {
return true;
}
else {
return false;
}
}
function HasKeywordOrLocation() {
var fips = '29';
if (fips == '78' || fips == '66') {
return true;
}
else {
if (HasKeyword() || HasLocation()) {
return true;
}
else {
return false;
}
}
}
function editValue(control, hasvalue) {
if (!hasvalue) {
$('#' + control).val('');
}
}
function ResetSession(guesttype, subguesttype, searchtype) {
$.ajax({
cache: false,
type: "POST",
async: true,
data: {
"cmd": "SESSION",
"data": "P2VuYz1lb25yNU5FRzYvSy92TmhQYmxOVDFCRUUwNVRIR1hJdWVqZ1RRWXJPSGVpOWlHVktmdHFnVmJkSm9zMU5VcFZk"
},
url: resolvePathMultiSearch() + "/vosnet/handlers/GuestSession.ashx?guesttype=" + guesttype + "&subguesttype=" + subguesttype,
success: function (data) {
switch (searchtype) {
case "occ":
RedirectOccupation();
break;
case "ind":
RedirectIndustry();
break;
case "area":
RedirectArea();
break;
case "article":
RedirectArticles();
break;
case "prov":
RedirectProvider();
break;
case "emp":
RedirectEmployer();
break;
case "candidate":
RedirectCandidate();
break;
}
},
error: function (xhr, ajaxOptions, thrownError) {
console.log(thrownError);
}
})
}
function resolvePathMultiSearch() {
var path;
var myarray;
myarray = window.location.href.split("/vosnet/");
path = myarray[0];
return path;
}
function RedirectArticles() {
var selKeyword = getKeyword();
window.location.href = resolvePathMultiSearch() + "/vosnet/sitesearch.aspx?ms=Articles&q=" + encodeURI(selKeyword);
}
function RedirectArea(confirmedGeoLoc) {
var selArea = $('#univsearchlocation').val();
if (sessionStorage.getItem("processedConfirmGeoLocation") === null || sessionStorage.getItem("processedConfirmGeoLocation") == "0") {
confirmGeoLocation(selArea, "RedirectArea()");
return false;
}
sessionStorage.setItem("processedConfirmGeoLocation", "0");
if (confirmedGeoLoc !== undefined) {
selArea = confirmedGeoLoc;
}
if (typeof (showPleaseWait) != "undefined") {
showPleaseWait();
}
else if (typeof (triggerLoadingDIV) != "undefined") {
triggerLoadingDIV();
}
$.ajax({
cache: false,
type: "GET",
async: true,
url: resolvePathMultiSearch() + '/vosnet/handlers/MultiSearchLocation.ashx?returnType=GEO&q=' + encodeURI(selArea),
success: function (data) {
window.location.href = resolvePathMultiSearch() + "/vosnet/Guest.aspx?guesttype=IND&whereto=MULTISEARCHAREA&geo=" + encodeURI(data);
},
error: function (xhr, ajaxOptions, thrownError) {
console.log(thrownError);
}
})
//window.location.href = resolvePathMultiSearch() + "/vosnet/sitesearch.aspx?ms=Area&q=" + encodeURI(selArea);
}
function RedirectIndustry(confirmedGeoLoc) {
var selKeyword = getKeyword();
var selArea = $('#univsearchlocation').val();
if (sessionStorage.getItem("processedConfirmGeoLocation") === null || sessionStorage.getItem("processedConfirmGeoLocation") == "0") {
confirmGeoLocation(selArea, "RedirectIndustry()");
return false;
}
sessionStorage.setItem("processedConfirmGeoLocation", "0");
if (confirmedGeoLoc !== undefined) {
selArea = confirmedGeoLoc;
}
if (typeof (showPleaseWait) != "undefined") {
showPleaseWait();
}
else if (typeof (triggerLoadingDIV) != "undefined") {
triggerLoadingDIV();
}
$.ajax({
cache: false,
type: "GET",
async: true,
url: resolvePathMultiSearch() + '/vosnet/handlers/MultiSearchLocation.ashx?returnType=GEO&q=' + encodeURI(selArea),
success: function (data) {
window.location.href = resolvePathMultiSearch() + "/vosnet/Guest.aspx?guesttype=IND&whereto=MULTISEARCHINDUSTRY&ms=1&q=" + encodeURI(selKeyword) + "&geo=" + encodeURI(data);
},
error: function (xhr, ajaxOptions, thrownError) {
console.log(thrownError);
}
})
//window.location.href = resolvePathMultiSearch() + "/vosnet/sitesearch.aspx?ms=Industry&q=" + encodeURI(selKeyword) + "&a=" + encodeURI(selArea);
}
function RedirectOccupation(confirmedGeoLoc) {
var selKeyword = getKeyword();
var selArea = $('#univsearchlocation').val();
if (sessionStorage.getItem("processedConfirmGeoLocation") === null || sessionStorage.getItem("processedConfirmGeoLocation") == "0") {
confirmGeoLocation(selArea, "RedirectOccupation()");
return false;
}
sessionStorage.setItem("processedConfirmGeoLocation", "0");
if (confirmedGeoLoc !== undefined) {
selArea = confirmedGeoLoc;
}
if (typeof (showPleaseWait) != "undefined") {
showPleaseWait();
}
else if (typeof (triggerLoadingDIV) != "undefined") {
triggerLoadingDIV();
}
$.ajax({
cache: false,
type: "GET",
async: true,
url: resolvePathMultiSearch() + '/vosnet/handlers/MultiSearchLocation.ashx?returnType=GEO&q=' + encodeURI(selArea),
success: function (data) {
window.location.href = resolvePathMultiSearch() + "/vosnet/Guest.aspx?guesttype=IND&whereto=MULTISEARCHOCCUPATION&ms=1&q=" + encodeURI(selKeyword) + "&geo=" + encodeURI(data);
},
error: function (xhr, ajaxOptions, thrownError) {
console.log(thrownError);
}
})
//window.location.href = resolvePathMultiSearch() + "/vosnet/sitesearch.aspx?ms=Occupation&q=" + encodeURI(selKeyword) + "&a=" + encodeURI(selArea);
}
function RedirectProvider(confirmedLoc) {
var selKeyword = getKeyword();
var selArea = $('#univsearchlocation').val();
if (sessionStorage.getItem("processedConfirmGeoLocation") === null || sessionStorage.getItem("processedConfirmGeoLocation") == "0") {
confirmNonGeoLocation(selArea, "RedirectProvider()");
return false;
}
sessionStorage.setItem("processedConfirmGeoLocation", "0");
if (confirmedLoc !== undefined) {
selArea = confirmedLoc;
}
if (typeof (showPleaseWait) != "undefined") {
showPleaseWait();
}
else if (typeof (triggerLoadingDIV) != "undefined") {
triggerLoadingDIV();
}
$.ajax({
cache: false,
type: "GET",
async: true,
url: resolvePathMultiSearch() + '/vosnet/handlers/MultiSearchLocation.ashx?&q=' + encodeURI(selArea),
success: function (data) {
if (data.indexOf('ZIP|') > -1) {
window.location.href = resolvePathMultiSearch() + "/vosnet/Guest.aspx?guesttype=IND&whereto=MULTISEARCHEDUPROVIDER&ms=1&q=" + encodeURI(selKeyword) + "&zip=" + encodeURI(data.substring(4));
}
else if (data.indexOf('GEO|') > -1) {
window.location.href = resolvePathMultiSearch() + "/vosnet/Guest.aspx?guesttype=IND&whereto=MULTISEARCHEDUPROVIDER&ms=1&q=" + encodeURI(selKeyword) + "&geo=" + encodeURI(data.substring(4));
}
else {
window.location.href = resolvePathMultiSearch() + "/vosnet/Guest.aspx?guesttype=IND&whereto=MULTISEARCHEDUPROVIDER&ms=1&q=" + encodeURI(selKeyword) + "&geo=" + encodeURI(data);
}
},
error: function (xhr, ajaxOptions, thrownError) {
console.log(thrownError);
}
})
// window.location.href = resolvePathMultiSearch() + "/vosnet/sitesearch.aspx?ms=Provider&q=" + encodeURI(selKeyword) + "&a=" + encodeURI(selArea);
}
function RedirectEmployer(confirmedLoc) {
var selKeyword = getKeyword();
var selArea = $('#univsearchlocation').val();
if (sessionStorage.getItem("processedConfirmGeoLocation") === null || sessionStorage.getItem("processedConfirmGeoLocation") == "0") {
confirmNonGeoLocation(selArea, "RedirectEmployer()");
return false;
}
sessionStorage.setItem("processedConfirmGeoLocation", "0");
if (confirmedLoc !== undefined) {
selArea = confirmedLoc;
}
if (typeof (showPleaseWait) != "undefined") {
showPleaseWait();
}
else if (typeof (triggerLoadingDIV) != "undefined") {
triggerLoadingDIV();
}
$.ajax({
cache: false,
type: "GET",
async: true,
url: resolvePathMultiSearch() + '/vosnet/handlers/MultiSearchLocation.ashx?returnType=ANY&q=' + encodeURI(selArea),
success: function (data) {
var zip;
var geo;
var ary;
if (data.indexOf('ZIP') > -1) {
zip = data.substring(4);
window.location.href = resolvePathMultiSearch() + "/vosnet/lmi/emp/EmpSearchResults.aspx?session=jobseek&radKeyFilter=contains&keywordby=both&ms=1&empname=" + encodeURI(selKeyword) + "&zip=" + encodeURI(zip) + "&radius=25";
}
else if (data.indexOf('GEO') > -1) {
geo = data.substring(4);
window.location.href = resolvePathMultiSearch() + "/vosnet/lmi/emp/EmpSearchResults.aspx?session=jobseek&radKeyFilter=contains&keywordby=both&ms=1&empname=" + encodeURI(selKeyword) + "&geo=" + encodeURI(geo);
}
else if (data.indexOf('|') > -1) {
ary = data.split("|");
geo = ary[1];
window.location.href = resolvePathMultiSearch() + "/vosnet/lmi/emp/EmpSearchResults.aspx?session=jobseek&radKeyFilter=contains&keywordby=both&ms=1&empname=" + encodeURI(selKeyword) + "&geo=" + encodeURI(geo);
}
else {
geo = data;
window.location.href = resolvePathMultiSearch() + "/vosnet/lmi/emp/EmpSearchResults.aspx?session=jobseek&radKeyFilter=contains&keywordby=both&ms=1&empname=" + encodeURI(selKeyword) + "&geo=" + encodeURI(geo);
}
},
error: function (xhr, ajaxOptions, thrownError) {
console.log(thrownError);
}
})
//window.location.href = resolvePathMultiSearch() + "/vosnet/sitesearch.aspx?ms=Employer&q=" + encodeURI(selKeyword) + "&a=" + encodeURI(selArea);
}
function RedirectCandidate(confirmedLoc) {
var selKeyword = getKeyword();
var selArea = $('#univsearchlocation').val();
if (sessionStorage.getItem("processedConfirmGeoLocation") === null || sessionStorage.getItem("processedConfirmGeoLocation") == "0") {
confirmNonGeoLocation(selArea, "RedirectCandidate()");
return false;
}
sessionStorage.setItem("processedConfirmGeoLocation", "0");
if (confirmedLoc !== undefined) {
selArea = confirmedLoc;
}
if (typeof (showPleaseWait) != "undefined") {
showPleaseWait();
}
else if (typeof (triggerLoadingDIV) != "undefined") {
triggerLoadingDIV();
}
$.ajax({
cache: false,
type: "GET",
async: true,
url: resolvePathMultiSearch() + '/vosnet/handlers/MultiSearchLocation.ashx?q=' + encodeURI(selArea),
success: function (data) {
window.location.href = resolvePathMultiSearch() + "/vosnet/guest.aspx?guesttype=EMP&whereto=VETPORTALCANDIDATESEARCH&keyword=" + encodeURI(selKeyword) + "&geo=" + encodeURI(data);
},
error: function (xhr, ajaxOptions, thrownError) {
console.log(thrownError);
}
})
}
function ReportToGA() { //739812
var dimensionValue1, dimensionValue2, dimensionValue3 = '';
dimensionValue1 = $('#univsearchtxtkeyword').val();
dimensionValue2 = $('#univsearchlocation').val();
dimensionValue3 = $('#univsearchradius').val();
//console.log('dimensionValue1: ' + dimensionValue1 + ' dimensionValue2: ' + dimensionValue2 + ' dimensionValue3: ' + dimensionValue3);
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'view_search_results',
'search_term': dimensionValue1,
'search_place': dimensionValue2
});
}
function confirmGeoLocation(selArea, func) {
var locations = '';
$.ajax({
type: "GET",
url: getRoot() + "vosnet/Handlers/ConfirmGeoLocation.ashx?q=" + selArea,
data: "",
cache: false,
success: function (response) {
if (response.length == 0) {
sessionStorage.setItem("processedConfirmGeoLocation", "1");
eval(func);
}
else {
if (typeof (hidePleaseWait) != "undefined") {
hidePleaseWait();
}
if ($('.ajaxLoadingDIV').length > 0) { $('.ajaxLoadingDIV').slideUp(); }
if ($('.ajaxLoadingDIV_s').length > 0) { $('.ajaxLoadingDIV_s').slideUp(); }
var arr1 = response.split('\n');
var arr2;
var cssclass = "";
var funcWithGeo = "";
var modalMessage = getTranslationLangString("SearchLocMessage", "JobSearchQuick");
modalMessage = modalMessage.replace("{0}", selArea.charAt(0).toUpperCase() + selArea.slice(1));
// Add location options
for (var i = 0; i < arr1.length - 1; i++) {
arr2 = arr1[i].split('|')
funcWithGeo = func.substring(0, func.length - 1) + "'" + arr2[0].replace(/\n|\r/g, "") + "')";
cssclass = "btn btn-primary btn-block client-color"
locations += '
';
}
//showJobSearchKeyOccGroupModal(passKeyword, occgroups, modalMessage, endPath, func);
if (locations.length > 0) {
var divModal;
divModal = '
' +
'
' +
'
' +
'' +
'
' +
'' +
'
' +
'' +
'
' +
'
' +
'
';
$('body').append(divModal);
$('#spnConfirmGeoLocationStart').html(modalMessage)
$('#spnConfirmGeoLocationBtns').html(locations)
$('#modalConfirmGeoLocation').modal('show');
}
}
}
})
}
function processConfirmGeoLocationRedirect(selectedLocation, func) {
$('#univsearchlocation').val(unescape(selectedLocation));
$('#univsearchlocation').trigger("change");
sessionStorage.setItem("processedConfirmGeoLocation", "1");
eval(unescape(func));
}
function confirmNonGeoLocation(selArea, func) {
var locations = '';
$.ajax({
type: "GET",
url: getRoot() + "vosnet/Handlers/ConfirmLocation.ashx?q=" + selArea,
data: "",
cache: false,
success: function (response) {
if (response.length == 0) {
sessionStorage.setItem("processedConfirmGeoLocation", "1");
eval(func);
}
else {
if (typeof (hidePleaseWait) != "undefined") {
hidePleaseWait();
}
if ($('.ajaxLoadingDIV').length > 0) { $('.ajaxLoadingDIV').slideUp(); }
if ($('.ajaxLoadingDIV_s').length > 0) { $('.ajaxLoadingDIV_s').slideUp(); }
var arr1 = response.split('\n');
var arr2;
var cssclass = "";
var funcWithGeo = "";
var modalMessage = getTranslationLangString("SearchLocMessage", "JobSearchQuick");
modalMessage = modalMessage.replace("{0}", selArea.charAt(0).toUpperCase() + selArea.slice(1));
// Add location options
for (var i = 0; i < arr1.length - 1; i++) {
arr2 = arr1[i].split('|')
funcWithGeo = func.substring(0, func.length - 1) + "'" + arr2[1].replace(/\n|\r/g, "") + "')";
cssclass = "btn btn-primary btn-block client-color"
locations += '
';
}
//showJobSearchKeyOccGroupModal(passKeyword, occgroups, modalMessage, endPath, func);
if (locations.length > 0) {
var divModal;
divModal = '
' +
'
' +
'
' +
'' +
'
' +
'' +
'
' +
'' +
'
' +
'
' +
'
';
$('body').append(divModal);
$('#spnConfirmGeoLocationStart').html(modalMessage)
$('#spnConfirmGeoLocationBtns').html(locations)
$('#modalConfirmGeoLocation').modal('show');
}
}
}
})
}
function processConfirmNonGeoLocationRedirect(selectedLocation, func) {
$('#univsearchlocation').val(unescape(selectedLocation));
$('#univsearchlocation').trigger("change");
sessionStorage.setItem("processedConfirmGeoLocation", "1");
eval(unescape(func));
}
function confirmLocationJobSearch(location, defaultGeo, strCountry, url, func, forceOccGroup) {
var locations = '';
$.ajax({
type: "GET",
url: getRoot() + "vosnet/Handlers/ConfirmLocation.ashx?q=" + location,
data: "",
cache: false,
success: function (response) {
var savedJobLocation = sessionStorage.getItem("savedJobLocation")
if (response.length == 0 || (savedJobLocation != null && savedJobLocation.toLowerCase() == location.toLowerCase())) {
sessionStorage.setItem("processedConfirmLocation", "1");
myUnivSearchv20(defaultGeo, strCountry, url, func, forceOccGroup, false, false);
}
else {
var arr1 = response.split('\n');
var arr2;
var cssclass = "";
var modalMessage = getTranslationLangString("SearchLocMessage", "JobSearchQuick");
modalMessage = modalMessage.replace("{0}", location.charAt(0).toUpperCase() + location.slice(1));
// Add location options
for (var i = 0; i < arr1.length - 1; i++) {
arr2 = arr1[i].split('|')
cssclass = "btn btn-primary btn-block client-color HPRwidth100"
locations += '
';
}
//showJobSearchKeyOccGroupModal(passKeyword, occgroups, modalMessage, endPath, func);
if (locations.length > 0) {
var divModal;
divModal = '
' +
'
' +
'
' +
'' +
'
' +
'' +
'
' +
'' +
'
' +
'
' +
'
';
$('body').append(divModal);
$('#spnSuggestLocationStart').html(modalMessage)
$('#spnSuggestLocationBtns').html(locations)
$('#modalSuggestLocation').modal('show');
}
}
}
})
}
function processConfirmLocationRedirectJobSearch(selectedLocation, defaultGeo, strCountry, url, func, forceOccGroup) {
$('#univsearchlocation').val(unescape(selectedLocation));
$('#univsearchlocation').trigger("change");
sessionStorage.setItem("processedConfirmLocation", "1");
sessionStorage.setItem("savedJobLocation", unescape(selectedLocation));
myUnivSearchv20(defaultGeo, strCountry, url, func, forceOccGroup);
}
function confirmLocationJobSearchQuick(location) {
var locations = '';
$.ajax({
type: "GET",
url: getRoot() + "vosnet/Handlers/ConfirmLocation.ashx?q=" + location,
data: "",
cache: false,
success: function (response) {
var savedJobLocation = sessionStorage.getItem("savedJobLocation")
if (response.length == 0 || (savedJobLocation != null && savedJobLocation.toLowerCase() == location.toLowerCase())) {
sessionStorage.setItem("processedConfirmLocation", "1");
$('#ctl00_Main_content_btnSearch2').trigger('click');
}
else {
var arr1 = response.split('\n');
var arr2;
var cssclass = "";
var modalMessage = getTranslationLangString("SearchLocMessage", "JobSearchQuick");
modalMessage = modalMessage.replace("{0}", location.charAt(0).toUpperCase() + location.slice(1));
// Add location options
for (var i = 0; i < arr1.length - 1; i++) {
arr2 = arr1[i].split('|')
cssclass = "btn btn-primary btn-block client-color"
locations += '
';
}
//showJobSearchKeyOccGroupModal(passKeyword, occgroups, modalMessage, endPath, func);
if (locations.length > 0) {
var divModal;
divModal = '
' +
'
' +
'
' +
'' +
'
' +
'' +
'
' +
'' +
'
' +
'
' +
'
';
$('body').append(divModal);
$('#spnSuggestLocationStart').html(modalMessage)
$('#spnSuggestLocationBtns').html(locations)
$('#modalSuggestLocation').modal('show');
}
}
}
})
}
function processConfirmLocationQuickRedirectJobSearch(selectedLocation) {
$('#ctl00_Main_content_univsearchlocation').val(unescape(selectedLocation));
$('#ctl00_Main_content_univsearchlocation').trigger("change");
sessionStorage.setItem("processedConfirmLocation", "1");
sessionStorage.setItem("savedJobLocation", unescape(selectedLocation));
$('#ctl00_Main_content_btnSearch2').trigger('click'); // version of function found in JobSearchCriteriaQuick.aspx
}
function removeVal() {
$('#univsearchtxtkeyword, #univsearchlocation').val('');
}