
	/*----------------------------------------------------------------------------------------*/
	function clear_search ( )
	/*----------------------------------------------------------------------------------------*/
	{
		str_value	= document.getElementById ( 'pages_search' ).value;
		
		if ( str_value == 'Search' )
		{
			document.getElementById ( 'pages_search' ).value = '';
		}
	}
	
	/*----------------------------------------------------------------------------------------*/
	function populate_search ( )
	/*----------------------------------------------------------------------------------------*/
	{
		str_value	= document.getElementById ( 'pages_search' ).value;
		
		if ( str_value == '' )
		{
			document.getElementById ( 'pages_search' ).value = 'Search';
		}
	}
	
	/*----------------------------------------------------------------------------------------*/
	function check_country ( str_prefix )
	/*----------------------------------------------------------------------------------------*/
	{
		obj_country		= document.getElementById ( 'country_container' );
		obj_ocountry	= document.getElementById ( 'other_country_container' );
		obj_select		= document.getElementById ( 'country_select' );
		obj_input			= document.getElementById ( 'country_input' );
		
		if ( obj_select.options[obj_select.selectedIndex].value == 'other' )
		{
			obj_ocountry.style.display	= 'block';
			obj_country.style.display		= 'none';
			obj_select.disabled					= true;
			obj_input.disabled					= false;
		}
		
		return false;
	}

	/*----------------------------------------------------------------------------------------*/
	function check_country_onload ( )
	/*----------------------------------------------------------------------------------------*/
	{
		// Disable the other country input until it's required
		obj_input						= document.getElementById ( 'country_input' );
		if ( obj_input )
		{
			obj_input.disabled	= true;
		}
	}


	
	
	
	