function debug(aMsg) {
	
	if(!document.all)
	{
	
		setTimeout(function() { throw new Error("[INFO] " + aMsg); }, 0);
		//alert(aMsg);
	
	}
	
	if(window.console) {
		//window.console.log("[INFO]\n" + aMsg);
	} 
	
}
