// JavaScript Document

Event.observe( window , 'load' , initialize , true ) ;

function initialize()
{
	getHTML('greeting');
}


function getHTML( _target )
{
	var url = _target + '.html';
	var pars = 'someParameter=ABC';
	
	var myAjax = new Ajax.Updater
	(
		{success: 'main_contents_container'}, 
		url, 
		{
			method: 'get', 
			parameters: pars,
			evalScripts: true,
			onFailure: reportError
		}
	);
	
	
	
	
	
}

function reportError(request)
{
	alert('Sorry. There was an error.');
}