function trigger(){	
		
	url = "http://www.bcmta.com/rss-news/_fetchnews.php";
	http_var = false;
	
	if (window.XMLHttpRequest) { // Mozilla, Safari,...
		http_var = new XMLHttpRequest();
		if (http_var.overrideMimeType) {
			http_var.overrideMimeType('text/xml');
			// See note below about this line
		}
	} else if (window.ActiveXObject) { // IE
		try {
			http_var = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
				http_var = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e) {}
		}
	}
		
	if (!http_var) {
		//alert('Giving up :( Cannot create an XMLHTTP instance');
		return false;
	}
	
	http_var.onreadystatechange = updateDisplayPage;
	http_var.open('GET', url, true);
	http_var.send(null);
	
}

function updateDisplayPage(){
	if (http_var.readyState == 4) {
          if (http_var.status == 200) {
	   
			if(http_var.responseText != ""){
	   
				//result = confirm("The system has just tried to fetch latest news, reload the news list?");
	   
				//if(result){
				//	var updateSection = document.getElementById("news");
		
				//	updateSection.innerHTML = http_var.responseText;
					
					//reset it
				//	updateSection = null;
					
				//}
			}
			
           } else {
              //alert('There was a problem with the request.');
           }
       }
}

