function setnav(section, subsection, detail) {
	if (section != "") {
		
		var sectionimg = "";
		sectionimg = section.replace(/ /g,"");
		sectionimg = sectionimg.toLowerCase();
		if (section != "General") {	// General section do not have tnav image
			document.images[section].src = "/" + locale + "/images/navi_" + sectionimg + "_roll.gif";
		}
		if (subsection != "") {
			var subsectionimg = "";
			subsectionimg = subsection.replace(/ /g,"");
			subsectionimg = subsectionimg.toLowerCase();
			document.images[subsection].src = "/" + locale + "/images/" + sectionimg + "_lnav_" + subsectionimg + "_roll.gif";
		}
	}
}

function rollon(level, prefix, name, section) {
	var imgname = "";
	sname = name;
	name = name.toLowerCase();
		
	if (level == "home") {
		imgname = "/" + locale + "/images/navi_" + name + "_roll.gif";
	}
	if (level == "section") {
		
		imgname = name.replace(/ /g,"");
		imgname = imgname.toLowerCase();
		imgname = "/" + locale + "/images/navi_" + name + "_roll.gif";
	}
	if (level == "subsection") {
		imgname = name.replace(/ /g,"");
		imgname = imgname.toLowerCase();
		imgname = "/" + locale + "/images/" + prefix + "_lnav_" + section + "_roll.gif";
	}
	if ((sname != section) && (sname != subsection)) {
				
		document.images[sname].src = imgname;
	}
}

function rolloff(level, prefix, name) {
	var imgname = "";
	sname = name;
	name = name.toLowerCase();
	if (level == "home") {
		imgname = "/" + locale + "/images/home_" + name + "_roll.gif";
	}
	if (level == "section") {
		imgname = name.replace(/ /g,"");
		imgname = imgname.toLowerCase();
		imgname = "/" + locale + "/images/navi_" + name + ".gif";
	}
	if (level == "subsection") {
		imgname = name.replace(/ /g,"");
		imgname = imgname.toLowerCase();
		imgname = "/" + locale + "/images/" + prefix + "_lnav_" + imgname + ".gif";
	}
	if ((sname != section) && (sname != subsection)) {
		document.images[sname].src = imgname;
	}
}
