function createXMLHttp() { if (typeof XMLHttpRequest != 'undefined') return new XMLHttpRequest(); else if (window.ActiveXObject) { var avers = ["Microsoft.XmlHttp", "MSXML2.XmlHttp", "MSXML2.XmlHttp.3.0", "MSXML2.XmlHttp.4.0", "MSXML2.XmlHttp.5.0"]; for (var i = avers.length -1; i >= 0; i--) { try { httpObj = new ActiveXObject(avers[i]); return httpObj; } catch(e) {} } } throw new Error('XMLHttp (AJAX) not supported'); } function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); } } } addLoadEvent(function() { // this is supported by IE, Opera, Safari var encoding = this.document.charset; if (typeof(encoding) == "undefined") { // this is supported by Firefox var encoding = this.document.characterSet; } // let's check if we need to give a warning if (typeof(encoding) != 'undefined' && encoding.toLowerCase() != 'utf-8') { //alert('Your browser is not set to Unicode encoding.' + encoding); var message = '
Your browser is not set to Unicode encoding therefore this page may not be displayed properly in your browser.
Internet Explorer: right mouse click anywhere on the page, then go to Encoding and click Unicode (UTF-8).
Firefox: click View, Character Encoding and click Unicode (UTF-8)