var Download = new function() {this.location = "modules/mod_dw/Download.ajax.php"; this.updateDWCount = function(){var arrParams = [].join( String.fromCharCode( 3 ) );var data = "lang=default&loc="+this.location+"&met=updateDWCount¶ms="+arrParams;$.ajax({type: "POST", url: "index.php?ajax=invoke",contentType: "application/x-www-form-urlencoded;charset=utf-8",data: data,async: true,cache: false,success: function(data, statusText, jqXHR){if(typeof Download_callback_updateDWCount == "function"){ Download_callback_updateDWCount( { returnVal:$.trim(data), success:true, status:jqXHR.status, statusText:statusText} );}},error: function( jqXHR, statusText, thrownError ){if(typeof Download_callback_updateDWCount == "function"){ Download_callback_updateDWCount( {returnVal:null, success:false, status:jqXHR.status, statusText:statusText} );}}});}}