function navFocus(){
    var gLocationURL, tempStr, navReg, gPathStr, gPathStrArr, gobj, secondPath, navAI;
    var userPath;
    var gobj, subObj, pageStr, actTypeStr, bigSort, typeStr
    gLocationURL = String(document.location);
    gLocationURL = gLocationURL.toLowerCase();
    navReg = /http:\/\//ig; 					//regExp pattern
    gPathStr = gLocationURL.match(navReg);
	gPathStr = gLocationURL.replace(navReg, "");
    gPathStrArr = gPathStr.split("/");
    gPathStr = gPathStrArr[1];                  //Obtained from the array to the first class path

    navReg = /^\w+\.\w+$/ig; 					//regExp pattern
    tempStr = gPathStr.match(navReg);           // 
                                                //For the current page to add background main navigation menu
    if(tempStr != null || gPathStr == ""){
        gPathStr = "index";                     //set default ClassName
    }
    gobj=document.getElementById("navU");
    subObj=gobj.getElementsByTagName("a");

    for(navAI=0;navAI<subObj.length;navAI++){
	    if(subObj[navAI].className == gPathStr){
	        subObj[navAI].className += " cur";
	    }
	}

}

function navSelected(id){
    var gLocationURL, tempStr, navReg, gPathStr, gPathStrArr, gobj, secondPath, navAI;
    var userPath;
    var gobj, subObj, pageStr, actTypeStr, bigSort, typeStr
    gLocationURL = String(document.location);
    gLocationURL = gLocationURL.toLowerCase();
    navReg = /http:\/\//ig; 					//regExp pattern
    gPathStr = gLocationURL.match(navReg);
	gPathStr = gLocationURL.replace(navReg, "");
    gPathStrArr = gPathStr.split("/");
    gPathStr = gPathStrArr[1];                  //Obtained from the array to the first class path

    navReg = /^\w+\.\w+$/ig; 					//regExp pattern
    tempStr = gPathStr.match(navReg);           // 
                                                //For the current page to add background main navigation menu
    if(tempStr != null || gPathStr == "" || gPathStr == "#" || gPathStr == "###"){
        gPathStr = "home";                     //set default ClassName
    }
    gobj=document.getElementById(id.id);
    subObj=gobj.getElementsByTagName("A");
    for(navAI=0;navAI<subObj.length;navAI++){
	    if(subObj[navAI].className == gPathStr){
	        subObj[navAI].className += " cur";
	    }
	}

}

