// JavaScript Document
// JavaScript Document
	var newWindow = null;
	var isIE = null;
	var IEVersion = null;
	var isNetscape = null;
	var isMac = null;
	var isSafari = null;
	var isFirefox = null;
	var NetscapeVersion = null;
	var isMozilla = null;
	var isOpera = null;
	var fureteurVersion = parseInt(navigator.appVersion);

	if (navigator.appName.indexOf('Microsoft Internet Explorer') != -1) isIE=1;
	if (navigator.appName.indexOf('Netscape') != -1) isNetscape=1;
	if (navigator.userAgent.indexOf('Safari') != -1) isSafari=1;
	if (navigator.userAgent.indexOf('Opera') != -1) isOpera=1;
	if ((navigator.userAgent.indexOf('Mozilla') != -1) && (navigator.userAgent.indexOf('Netscape') == -1) && (navigator.appName.indexOf('Microsoft Internet Explorer') == -1)) isMozilla=1;
	if (navigator.userAgent.indexOf('Mac') != -1) isMac=1;
	
	//alert("User Agent : " + navigator.userAgent);
	//alert("Navigator : " + navigator.appName);
	//alert("isIE ? : " + isIE);
	//alert("isNetsacpe ? " + isNetscape);


//Usage Example :

function ViewSource() {
window.location = "view-source:" + window.location.href
}

	function pageChangeEn() {

		if (isMac != 1)  {
			var address = decodeURI(self.location);
			var newAddress = address.replace("_fr.htm",".htm");
   		location.href = encodeURI(newAddress);
		}

		if (isMac == 1) 	{
			var address = escape(self.location);
			var newAddress = address.replace("_fr.htm",".htm");
			location.href = unescape(newAddress);
		}
	}

	function pageChangeFr() {

		if (isMac != 1)  {
			var address = decodeURI(self.location);
			var newAddress = address.replace(".htm","_fr.htm");
			location.href = encodeURI(newAddress); 
			/*location.href = encodeURI("error_page_fr.htm");*/
		}

		if (isMac == 1) 	{
			var address = escape(self.location);
			var newAddress = address.replace(".htm","_fr.htm");
   		 location.href = unescape(newAddress);
		}

	}

function emailcontact() {
	u1 = "information";
	s1 = "karate-tansei.com";
	document.write('<a href=\"mailto:' + u1 + '@' + s1 + '\">');
	document.write(u1 + '@' + s1 + '</a>');
}

