/*
Nexium additional JS functions

*/


function fnSwitchpage(the_form){
 	//Get the selected link URL from the dropdown
  	var link_chosen;
  	link_chosen=the_form.selection.options[the_form.selection.selectedIndex].value;	
 	//Redirect to this URL
 	window.location=link_chosen;
 	return false;
}

function hideSearchText(the_form)
{
	var defaultValue;
	var inputValue;
	inputValue=the_form.bsterm.value;

	if(inputValue == 'Search Nexium.net here'){
	the_form.bsterm.value = '';
	}

	else if(inputValue == '' || inputValue == null){
		the_form.bsterm.value = 'Search Nexium.net here';
	}
}


function registeredSymbolChange(){
	var el;
	var elText;
	el=document.getElementsByTagName('H1')[0];
	elText=el.firstChild.nodeValue;
	el.firstChild.nodeValue=elText.replace('®','<span class="superscript">®</span>');
}


var toCall=new Array;	
toCall[0]=registeredSymbolChange;