// <!--
function langChk() {
	// gets the current page
	var URL = unescape(location.href);
	var xstart = URL.lastIndexOf("/") + 1;
	var xend = URL.length;
	var currentPage = URL.substring(xstart,xend);
	var LANGID = readCookie('LANGID');
	// if (LANGID == 8) LANGID = 9;
	if (null != LANGID & LANGID > 1) {		
		if(currentPage.substr(0,5) == "index"){
			thisURL = 'index_' + LANGID + '.html';
			cfmURL = 'index_' + LANGID + '.cfm';
			if (currentPage !== thisURL & currentPage !== cfmURL){
				location.href = thisURL;
				location.replace(thisURL);
			}
		}
	} 
}
// -->
