
x=$(document);
x.ready(ini);





                
function ini ()
{
 $("#Image21").click(send);

}


function send ()
{

    param= $("#f").formSerialize();
    //alert(param);
  // alert(param);
    
     
      var html = $.ajax({
	  type: "POST",
	  url: "files/send.php",
	  data:param,
	  
	  async: false
	  }).responseText;
	    
	 if(html==1){
     $("#a").html('<font color=green>redirecting...</font>'); 
	   
	  
       location.href = 'http://www.dailybalancewithkim.tv/thankyou.cfm';
        
	   }else
	    $("#a").html(html).fadeIn();
	  
	 
	 
}
/*
$().ajaxSend(function(r,s){   
//$("#loading").show();   
}); 
$().ajaxStop(function(r,s){   
//$("#loading").fadeOut("fast");
   
});  */


