function submit_form()
{
		
		new Ajax.Request('/form.html', {
		method: 'post',
  		parameters: $('submit_form').serialize(true),
  		onSuccess: function(transport){
      		var response = transport.responseText;
			$('TB_ajaxContent').update(response);      		
    	},
  		onFailure: function(){ 
  			alert("Connection Error. Please Try Again.")
  		}
  });
}


function request_form()
{
	$('boxForm').toggle();
	return false;
}

function slide_top(cur_margin)
{
	jQuery("#widearea").animate({             	 
		marginLeft: -cur_margin
	}, 500);
	return false;
}
