Wednesday, April 11, 2007



Chiang Mai (Thaï เชียงใหม่) est la deuxième plus grande province (changwat) de la Thaïlande, elle est située au nord du pays. Les provinces adjacentes (dans le sens des aiguilles d’une montre en partant du nord-est) sont, Chiang Rai, Lampang, Lamphun, Tak et Mae Hong Son. Au nord se situe le Myanmar (Birmanie).
Histoire
La cité de Chiang Mai était la capitale du royaume Lannathai après sa fondation en 1296. En 1599, le royaume a perdu son indépendance et est devenu une partie du royaume d’Ayutthaya. 1932 la province Chiang Mai est devenue la deuxième subdivision de la Thaïlande quand l'appareil administratif de Monthon Phayap, les restes du royaume de Lanna, a été dissous
milliseconds timerID = setTimeout("showBanner()", speed) } } function getString() { // set variable to true (it will stay true unless proven otherwise) var full = true // set variable to false if a free space is found in string (a not-displayed char) for (var j = 0; j < state.length; ++j) { // if character at index j of current message has not been placed in displayed string if (state.charAt(j) == 0) full = false } // return true immediately if no space found (avoid infinitive loop later) if (full) return true // search for random until free space found (braoken up via break statement) while (1) { // a random number (between 0 and state.length - 1 == message.length - 1) var num = getRandom(ar[message].length) // if free space found break infinitive loop if (state.charAt(num) == "0") break } // replace the 0 character with 1 character at place found state = state.substring(0, num) + "1" + state.substring(num + 1, state.length) // return false because the string was not full (free space was found) return false } function getRandom(max) { // create instance of current date var now = new Date() // create a random number (good generator) var num = now.getTime() * now.getSeconds() * Math.random() // cut random number to value between 0 and max - 1, inclusive return num % max } startBanner() // -->