  function trimmer(untrimed){
  		var regexp = /^\s+/ 		
		return untrimed.replace(regexp, "") 

  }
	
	

	
	function updateCalender(url) {
		/*************************************************************************/
		var xmlhttp=false;
		try { 
			xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); //here simply we are creating object
		} catch (e) { 
					try { 
						xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); //here simply we are creating object
					} catch (E) { 
						xmlhttp = false; 
					}//try {  
		}//	try { 
	
		if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
			xmlhttp = new XMLHttpRequest();//here simply we are creating object
		} 
			
			
			
		/*************************************************************************/
	

		xmlhttp.open("GET", url,true); 
	
		xmlhttp.onreadystatechange = function() { 
		//alert(xmlhttp.status);
		if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { 		
		
		
		var data=trimmer(xmlhttp.responseText);		
		
		//alert (data);
		if (data != ""){			
			document.getElementById("pageCalender").innerHTML = data;
			
		}
		
		//alert(xmlhttp.responseText);
		//window.focus();
		} 
		}//xmlhttp.onreadystatechange = function() { 
		xmlhttp.send(null);
	}
	
	
	function updateCalender2(url) {
		/*************************************************************************/
		var xmlhttp=false;
		try { 
			xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); //here simply we are creating object
		} catch (e) { 
					try { 
						xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); //here simply we are creating object
					} catch (E) { 
						xmlhttp = false; 
					}//try {  
		}//	try { 
	
		if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
			xmlhttp = new XMLHttpRequest();//here simply we are creating object
		} 
			
			
			
		/*************************************************************************/
	

		xmlhttp.open("GET", url,true); 
	
		xmlhttp.onreadystatechange = function() { 
		//alert(xmlhttp.status);
		if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { 		
		
		
		var data=trimmer(xmlhttp.responseText);		
		
		//alert (data);
		if (data != ""){			
			document.getElementById("pageCalender").innerHTML = data;
			
			var box = {};
				window.addEvent('domready', function(){
				box = new MultiBox('mb', {descClassName: 'multiBoxDesc', useOverlay: true});
			});
			
		}
		
		//alert(xmlhttp.responseText);
		//window.focus();
		} 
		}//xmlhttp.onreadystatechange = function() { 
		xmlhttp.send(null);
	}
	
	
	
	
	
	
