/*
Arimidex 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 Arimidex.net here'){
	the_form.bsterm.value = '';
	}

	else if(inputValue == '' || inputValue == null){
		the_form.bsterm.value = 'Search Arimidex.net here';
	}
}

function redefineOpacity() {
    //simply sets the minimum opacity
    minOpacity = 0;
}

var toCall = new Array();
toCall[0] = redefineOpacity;
