// Display code
function site_form_code()
{
	advAJAX.get({
		url: url + "index.php/site/site_form/db/code/",
   	onSuccess : function(obj) 
   	{
			document.getElementById("site_form_code").innerHTML = obj.responseText;
      }		
	});
}

// Catch form
function site_form() 
{
	advAJAX.assign(document.getElementById("site_form"), 
	{
   	onSuccess : function(obj) 
   	{
			alert(obj.responseText);
      }
   });
}
