
function set_innerhtml( idnum, text )
{
 	optionLink = document.getElementById( idnum );
 	if( optionLink ) 
 	{
 		optionLink.innerHTML = text;
		return 1;
	}
	else
	{
		return 0;
	}
}

function ajax_link_clicked( $url )
{
	var myConn = new XHConn();
	if( myConn != null )
	{
		// request the page in sync (ie: not async) mode.
		myConn.setasync( false );
		myConn.connect( $url, "GET", "", null );
	}
	
	// done.
	return ( myConn != null );
}

