function SendEmail() {
	
}
SendEmail.prototype = new DXMLHttpRequestShell();
SendEmail.constructor = SendEmail;
SendEmail.prototype.onLoad = function() {
    var response;
    try {
        response = this.getResponseText();
    } catch (e) {
        response = "";
    }
}
SendEmail.prototype.send = function(name, email) {
    try {
    	this.fastPostUrl("sendDiscountMail.html", "mode=send&name=" + name + "&email=" + email);
    } catch (ex) {
        throw ex;
    }    
}

SendEmail.prototype.SendRequest = function(name, query, email, carCaption) {
    try {
    	this.fastPostUrl("sendDiscountMail.html", "mode=request&name=" + name + "&query=" + query + "&email=" + email + "&carCaption=" + carCaption);
    } catch (ex) {
        throw ex;
    }    
}
