// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
$(document).ready(function(){

//$.ajaxSetup({ 
//   'beforeSend': function(xhr) {xhr.setRequestHeader("Accept", "text/javascript")}     
//   }) 

$(document).ready(function () {
    $.ajaxSetup({
        beforeSend: function (xhr) {
                xhr.setRequestHeader("Accept", "text/javascript, text/html, application/xml, text/xml, */*");
        }
    });
});

 
 






// this works in purpose app, but not here.. WTF?

//  // for triggering EACH modal form on the page
//  $(function() {           
//    	// give the Cancel AND submit buttons a class of .close 
//    	// and the EXPOSE (besides the overlay) will automajically close properly each time.
//    $("a.modalInput").each(function(i) { 
//        $(this).overlay({expose: {color: '#125',loadSpeed: 0,opacity: 0.9 } });               
//    });  
//  });    

 







});  





