						
							   function updateProcess(evt) 
							   {
								   mouseX=evt.pageX?evt.pageX:evt.clientX;
								   mouseY=evt.pageY?evt.pageY:evt.clientY;
								   document.getElementById("divProcess").style.left=mouseX;
								   document.getElementById("divProcess").style.top=mouseY;
							  }
						
						
						
	//  Ajax Code Start
			function ajaxGetData(form)
			{
			var id  = form.id.value;
			
			var str = "id=" +id ;
			return str;
			}
	
			function ajaxPostQuery(strURL) 
			{
			var xmlHttpReq = false;
			var self = this;
			// Mozilla/Safari
			if (window.XMLHttpRequest) 
			{
				self.xmlHttpReq = new XMLHttpRequest();
			}
			// IE
			else if (window.ActiveXObject) 
			{
				self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
			}
			self.xmlHttpReq.open("POST", strURL, true);
			self.xmlHttpReq.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
			self.xmlHttpReq.onreadystatechange = function() 
			{
				if (self.xmlHttpReq.readyState == 4) 
				{
				var response=self.xmlHttpReq.responseText;
				//document.getElementById("result").style.visibility="visible";
				updatepage(response);
				document.getElementById("divProcess").style.display="none"; 
				}
				else
				{
				document.getElementById("divProcess").style.display="block"; 
				}
			}
			if(getquerystring()!=false)
			self.xmlHttpReq.send(getquerystring());
		}
		
		function getquerystring() 
		{
			//var form = document.forms["feedback_edit"];
			//qstr =  ajaxGetData(form) ;  // NOTE: no "?" before querystring
			//return qstr;
		}
		
		function updatepage(str)
		{
			eval(str)
			if(action=="send")
			{
				
				alert("Your mail has been send successfully.");	
				
			}	
		}
	//  Ajax Code End
	
	// Ajax code start for News Counter
	
			function ajaxDownloadCounter(strURL) 
			{
			var xmlHttpReq = false;
			var self = this;
			// Mozilla/Safari
			if (window.XMLHttpRequest) 
			{
				self.xmlHttpReq = new XMLHttpRequest();
			}
			// IE
			else if (window.ActiveXObject) 
			{
				self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
			}
			self.xmlHttpReq.open("POST", strURL, true);
			self.xmlHttpReq.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
			self.xmlHttpReq.onreadystatechange = function() 
			{
				if (self.xmlHttpReq.readyState == 4) 
				{
				}
				else
				{
				}
			}
			if(getquerystring()!=false)
			{
			self.xmlHttpReq.send(getquerystring());
			}
		}

	// Ajax code End for News Counter

