dom.event.addEventListener(window,'load',lnavCheck);

function lnavCheck(){
var locationURL = location.href;

//product naviugation
	if(getId("productPet")){
		if(locationURL.indexOf("/pet_2g.html") != -1){
			getIdSetClass("2g");
		}else if(locationURL.indexOf("/pet_3g.html") != -1){
			getIdSetClass("3g");
			}else if(locationURL.indexOf("/pet_4g.html") != -1){
			getIdSetClass("4g");
				}else if(locationURL.indexOf("/pet_5g.html") != -1){
				getIdSetClass("5g");
					}else if(locationURL.indexOf("/pet_6g.html") != -1){
					getIdSetClass("6g");
						}else if(locationURL.indexOf("/pet_8g.html") != -1){
						getIdSetClass("8g");
							}else if(locationURL.indexOf("/pet_fami.html") != -1){
							getIdSetClass("fami");
								}else if(locationURL.indexOf("/pet_mel.html") != -1){
								getIdSetClass("mel");
								}else if(locationURL.indexOf("/pet_pillow.html") != -1){
								getIdSetClass("pillow");
								}else if(locationURL.indexOf("/pet_kibi.html") != -1){
								getIdSetClass("kibi");
								}else if(locationURL.indexOf("/pet_planzero.html") != -1){
								getIdSetClass("plan");
								}else if(locationURL.indexOf("/pet_zero.html") != -1){
								getIdSetClass("zero");
								}else if(locationURL.indexOf("/pet_light.html") != -1){
								getIdSetClass("light");
								}else if(locationURL.indexOf("/pet_origo.html") != -1){
								getIdSetClass("origopet");
								}
		}
	
	//get id set class
	function getIdSetClass(target){
		var ide = document.getElementById(target);
		ide.className = "currentsec";
	}
	//getId
	function getId(targetid){
		var yhee = document.getElementById(targetid);
		return yhee;
	}
}

