	/*
	 * SirYoAjax, Sir.Yo libs
	 *
	 *
	 * Copyleft (c) 2008 Sir.Yo
	 */
	/********* Popup box Function ********************/

	function ajaxGetHTML(url, runHtmlFunction, update_id, isloading, loading_id)
	{
		var SirYoVar = new SirYoAjax({
						Url: url,
						UpdateId: update_id,
						LoadingId: loading_id,
						Loading: isloading,
						ReturnType: 'HTML',
						Method: 'GET',
						onUninitialized: function()
						{
							//alert('onUninitialized');
						},
						onSetup: function()
						{
							//alert('onSetup');
						},
						onSent: function()
						{
							//alert('onSent');
						},
						onProcess: function()
						{
							//alert('onProcess');
						},
						onComplete: function(yoz)
						{
							runHtmlFunction();
						}
					});
		SirYoVar.Run();
	}


	function ajaxPostHTML(url, runHtmlFunction, form_id, update_id, isloading, loading_id)
	{
		var SirYoVar = new SirYoAjax({
						Url: url,
						UpdateId: update_id,
						LoadingId: loading_id,
						Loading: isloading,
						ReturnType: 'HTML',
						Method: 'POST',
						FormId: form_id,
						onUninitialized: function()
						{
							//alert('onUninitialized');
						},
						onSetup: function()
						{
							//alert('onSetup');
						},
						onSent: function()
						{
							//alert('onSent');
						},
						onProcess: function()
						{
							//alert('onProcess');
						},
						onComplete: function(yoz)
						{
							if((runHtmlFunction != '') && (runHtmlFunction != null))
							{
								runHtmlFunction(yoz);
							}
						}
					});
		SirYoVar.Run();
	}

	function ajaxGetXML(url, runXmlFunction, update_id, isloading, loading_id)
	{
		var SirYoVar = new SirYoAjax({
						Url: url,
						UpdateId: update_id,
						LoadingId: loading_id,
						Loading: isloading,
						ReturnType: 'XML',
						Method: 'GET',
						onUninitialized: function()
						{
							//alert('onUninitialized');
						},
						onSetup: function()
						{
							//alert('onSetup');
						},
						onSent: function()
						{
							//alert('onSent');
						},
						onProcess: function()
						{
							//alert('onProcess');
						},
						onComplete: function(yoz)
						{
							if((runXmlFunction != '') && (runXmlFunction != null))
							{
								runXmlFunction(yoz);
							}
							//runEffect('log_res_first');
						}
					});
		SirYoVar.Run();
	}
	function ajaxPostXML(url, runXmlFunction, form_id, update_id, isloading, loading_id)
	{
		var SirYoVar = new SirYoAjax({
						Url: url,
						UpdateId: update_id,
						LoadingId: loading_id,
						Loading: isloading,
						ReturnType: 'XML',
						Method: 'POST',
						FormId: form_id,
						onUninitialized: function()
						{
							//alert('onUninitialized');
						},
						onSetup: function()
						{
							//alert('onSetup');
						},
						onSent: function()
						{
							//alert('onSent');
						},
						onProcess: function()
						{
							//alert('onProcess');
						},
						onComplete: function(yoz)
						{
							if((runXmlFunction != '') && (runXmlFunction != null))
							{
								runXmlFunction(yoz);
							}
							//runEffect('log_res_first');
						}
					});
		SirYoVar.Run();
	}



	function blankFunction()
	{
	}


