
jQuery(document).ready(function(){
	jQuery("#requestCaseReview").click(function () {		tb_show("Error","#TB_inline?height=350&width=300&inlineId=DynForm&modal=true","");
	    return false;   
	 }); });

function submit_form()
{
		before_submit();
		new Ajax.Request('/request/', {
		method: 'post',
  		parameters: $('submit_form').serialize(true),
  		onSuccess: function(transport){
      		var response = transport.responseText;
			$('DForm').update(response);
			if (response.match("thank_you_box"))
			{
				tb_show('Form', '#TB_inline?modal=true&height=300&width=610&inlineId=thank_you_box')
			}
			my_set_default();
    	},
  		onFailure: function(){ 
  			alert("Connection Error. Please Try Again.")
  		}
  });
}