var divId = null;
var quest_1 = null;
var quest_2 = null;
var quest_3 = null;
var overlayFormSubmitterMoneyWithdraw = {
	postFormData: function(thisurl,dataString,div){
                        divID=div;
                     //  alert(thisurl+dataString);

			YAHOO.util.Connect.asyncRequest('GET', thisurl, overlayFormSubmitterMoneyWithdrawCallback);
	},

		successHandler: function (obj){
//alert("success");
	          	var ajaxResponse = obj.responseText;
                        var xmlResponse = obj.responseXML; 
                	 //alert('++'+ajaxResponse+'++');
                	 //  alert(divID); 
				
			if(ajaxResponse == 'sucess')
				{
	          	        document.getElementById("errormoneyWithdraw").innerHTML="Amount withdrawl sucessfully";
				document.getElementById("withdrawSucess").innerHTML="";
               			}
			else
			{
			alert("fail");
			}
	},
	failureHandler: function (obj){
		alert("Failure");
		}
};


var overlayFormSubmitterMoneyWithdrawCallback = {
			success: overlayFormSubmitterMoneyWithdraw.successHandler,
			failure: overlayFormSubmitterMoneyWithdraw.failureHandler,
 			scope  : overlayFormSubmitterMoneyWithdraw  
};

