// redirect
//if (navigator.appName.indexOf("Netscape") > -1 && navigator.appVersion.substr(0,1) <= "4") {
//	var url_path = window.location.pathname;
//	var url_path_list = url_path.split("/");
//	parent.location.href = "/" + url_path_list[1] + "/" + url_path_list[2] + "/index_nn.asp";
//}

// popup
function popup (url,name,h,v,sc,st) {
	var win;
	win = window.open(url,name,'width='+h+',height='+v+',scrollbars='+sc+',resizable=no,resize=no,toolbar=no,status='+st+',directories=no,menubar=no,location=no');
	win.focus();
}

// pulldown navi
var timeout = 0;
var timer;
var top_active = new Array();
function inflate_group () { }
function hide_all () { if (typeof(hide_all_navi) == "function") { hide_all_navi(); } }

function findPosX (obj) {
	var curleft = 0;
	if (obj.offsetParent) {
		while (obj.offsetParent) {
			curleft += obj.offsetLeft
			obj = obj.offsetParent;
		}
	} else if (obj.x) {
		curleft += obj.x;
	}
	return curleft;
}

function findPosY (obj) {
	var curtop = 0;
	if (obj.offsetParent) {
		while (obj.offsetParent) {
			curtop += obj.offsetTop
			obj = obj.offsetParent;
		}
	} else if (obj.y) { 
 		curtop += obj.y;
	}
	return curtop;
}

function roll_t_o (t_num) {
	if (document.all || document.getElementById) {
		if (document.all) {
			var style_ref = document.all["ta"+t_num].style
		} else if (document.getElementById) {
			var style_ref = document.getElementById("ta"+t_num).style;
		}
		if (top_active[t_num] == "a") {
		} else {
			style_ref.color = "#F11A29";
			style_ref.background = "#DDDDDD";
		}
	}
}

function roll_t_n (t_num) {
	if (document.all || document.getElementById) {
		if (document.all) {
			var style_ref = document.all["ta"+t_num].style
		} else if (document.getElementById) {
			var style_ref = document.getElementById("ta"+t_num).style;
		}
		if (top_active[t_num] == "a") {
		} else {
			style_ref.color = "#FFFFFF";
			style_ref.background = "#999999";
		}
	}
}

function browsertest() {
	var bname=navigator.appName;
	var bagent=navigator.userAgent;

	if (bname=="Netscape" && bagent.indexOf("Mozilla/4")>=0) {
		var rexp
		rexp = /\/jp\//
		if(rexp.test(this.location)) {
			location.href="/lcs/jp/index_nn.html";
		} else {
			location.href="/lcs/en/index_nn.html";
		}
		
		return false;
	}
}
browsertest();
//-->
