// Overrides default submit of search form which
// wasn't functioning as expected; v-jrine
function submitSearchForm() 
{
	searchTerm = document.getElementById('sString').value;
	path = document.getElementById('localepath').title;
    langID = document.getElementById('ctl06_cbo_Lang').value.split('|')[1].toLowerCase();
	window.location.href = '/language/' + path + '/search.mspx?sString=' + searchTerm + '&amp;langID=' + langID ;
}

function submitSearchForm_US() 
{
	searchTerm = document.getElementById('sString').value;
	path = document.getElementById('localepath').title;
    langID = document.getElementById('ctl07_cbo_Lang').value.split('|')[1].toLowerCase();
	window.location.href = '/language/' + path + '/search.mspx?sString=' + searchTerm + '&amp;langID=' + langID ;
}
