<!--to hiding script from old browsers

function getWindowWidth(){ // 窓の大きさ（スクロールバー含まない）
	if(usr.WinIE6s){
		return d.documentElement.clientWidth;
	}else if(usr.OPERA || (usr.Mac && (usr.checkObj == 1 || usr.OPERA))){
		return window.innerWidth;
	}else if(usr.Win && usr.checkObj == 1){
		return window.innerWidth - 16;
	}else if(usr.checkObj == 4){
		return window.innerWidth - 15;
	}else if(usr.checkObj == 2 || usr.checkObj == 3){
		return d.body.clientWidth;
	}
}
function getWindowHeight(){
	if(usr.WinIE6s){
		return d.documentElement.clientHeight;
	}else if(usr.OPERA || (usr.Mac && (usr.checkObj == 1 || usr.OPERA))){
		return window.innerHeight;
	}else if(usr.Win && usr.checkObj == 1){
		return window.innerHeight - 16;
	}else if(usr.checkObj == 4){
		return window.innerHeight - 15;
	}else if(usr.checkObj == 2 || usr.checkObj == 3){
		return d.body.clientHeight;
	}
}
function getWindowXOffset(){
	if(usr.WinIE6s || usr.modeStandard){
		return d.body.parentNode.scrollLeft;
	}else if(usr.checkObj == 2 || usr.checkObj == 3){
		return d.body.scrollLeft;
	}else if(usr.checkObj == 1 || usr.checkObj == 4){
		return window.pageXOffset;
	}
}
function getWindowYOffset(){
	if(usr.WinIE6s || usr.modeStandard){
		return d.body.parentNode.scrollTop;
	}else if(usr.checkObj == 2 || usr.checkObj == 3){
		return d.body.scrollTop;
	}else if(usr.checkObj == 1 || usr.checkObj == 4){
		return window.pageYOffset;
	}
}

function getDocWidth(idName){ // 該当要素のX座標位置（左上からの距離）
	if(usr.allObj){
		if(idName == 'recommendation') {
			return getTagLeft('recommendation');
		} else if(idName == 'print') {
			return getTagLeft('print');
		} else if(idName == 'copyright') {
			return getTagLeft('copyright');
		} else if(idName == 'link') {
			return getTagLeft('link');
		} else if(idName == 'info_business') {
			return getTagLeft('info_business');
		} else if(idName == 'info_service') {
			return getTagLeft('info_service');
		} else if(idName == 'info_event') {
			return getTagLeft('info_event');
		} else if(idName == 'info_media-list') {
			return getTagLeft('info_media-list');
		} else if(idName == 'infrastructure_p') {
			return getTagLeft('infrastructure_p');
		} else if(idName == 'security_p') {
			return getTagLeft('security_p');
		} else if(idName == 'software_p') {
			return getTagLeft('software_p');
		} else if(idName == 'hardware_p') {
			return getTagLeft('hardware_p');
		} else if(idName == 'contents_p') {
			return getTagLeft('contents_p');
		} else if(idName == 'domain_p') {
			return getTagLeft('domain_p');
		}
	}
}
function getDocHeight(idName){ // 該当要素のY座標位置（左上からの距離）??
	if(usr.allObj){
//		return getTagTop('recommendation') + 100; 050601 座標
		if(idName == 'recommendation') {
			return getTagTop('recommendation');
		} else if(idName == 'print') {
			return getTagTop('print');
		} else if(idName == 'copyright') {
			return getTagTop('copyright');
		} else if(idName == 'link') {
			return getTagTop('link');
		} else if(idName == 'info_business') {
			return getTagTop('info_business');
		} else if(idName == 'info_service') {
			return getTagTop('info_service');
		} else if(idName == 'info_event') {
			return getTagTop('info_event');
		} else if(idName == 'info_media-list') {
			return getTagTop('info_media-list');
		} else if(idName == 'infrastructure_p') {
			return getTagTop('infrastructure_p');
		} else if(idName == 'security_p') {
			return getTagTop('security_p');
		} else if(idName == 'software_p') {
			return getTagTop('software_p');
		} else if(idName == 'hardware_p') {
			return getTagTop('hardware_p');
		} else if(idName == 'contents_p') {
			return getTagTop('contents_p');
		} else if(idName == 'domain_p') {
			return getTagTop('domain_p');
		}
	}
}
function getDistanceMaxX(){
	if(usr.allObj){
		return (getDocWidth() - getWindowWidth());
	}
}
function getDistanceMaxY(){
	if(usr.allObj){
		return (getDocHeight());
//		return (getDocHeight() - getWindowHeight()); 050601 ページ内リンクの移動先の高さ
	}
}

function setObj(idName){
	return d.all ? d.all(idName) : d.getElementById ? d.getElementById(idName) : d.layers[idName];
}
function getTagLeft(idName) {
	var obj = setObj(idName);
	var tagCoords = new Object();
	if((usr.checkObj == 2) || (usr.checkObj == 3) || (usr.checkObj == 4)) {
		tagCoords.x = obj.offsetLeft;
		while ((obj = obj.offsetParent) != null) {
			tagCoords.x += obj.offsetLeft;
		}
	} else if(usr.checkObj == 1) {
		tagCoords.x = d.anchors[idName].x;
	}if((tagCoords.x*0) == 0){
		return (tagCoords.x);
	}else{
		return idName;
	}
}
function getTagTop(idName) {
	var obj = setObj(idName);
	var tagCoords = new Object();
	if((usr.checkObj == 2) || (usr.checkObj == 3) || (usr.checkObj == 4)) {
		tagCoords.y = obj.offsetTop;
		while ((obj = obj.offsetParent) != null) {
			tagCoords.y += obj.offsetTop;
		}
	} else if(usr.checkObj == 1) {
		tagCoords.y = d.anchors[idName].y;
	}if((tagCoords.y*0) == 0){
		if(usr.Mac && usr.Moz){
			return (tagCoords.y - 12);
		}else if((usr.Win && usr.Moz) || (usr.Mac && usr.SAFARI)){
			return (tagCoords.y - 9);
		}else{
			return (tagCoords.y);
		}
	}else{
		return idName;
	}
}

/*PageScroller*/
var pageScrollTimer;
var i=0;
var count=0;
infinity = new Array();
function pageScroll(toX,toY,frms,frX,frY) {
	if(pageScrollTimer){
		clearTimeout(pageScrollTimer);
	}
	var spd = usr.Moz?2:usr.Mac ? 3 : 4; //速さ
	var actX = getWindowXOffset();
	var actY = getWindowYOffset();
	if(!toX || toX < 0) toX = 0;
	if(!toY || toY < 0) toY = 0;
	if(!frms) frms = (usr.Mac&&(usr.OPERA||usr.NS6))?3:usr.NS6?4:usr.NS?10:5;
	if(!frX) frX = 0 + actX;
	if(!frY) frY = 0 + actY;

	frX += (toX - actX) / frms;
	if (frX < 0) frX = 0;
	frY += (toY - actY) / frms;
	if (frY < 0) frY = 0;
	var posX = Math.ceil(frX);
	var posY = Math.ceil(frY);
	window.scrollTo(posX, posY);
	if((Math.floor(Math.abs(actX - toX)) < 1) && (Math.floor(Math.abs(actY - toY)) < 1)){
		clearTimeout(pageScrollTimer);
		window.scroll(toX,toY);
	}else if(posX != toX || posY != toY){
/* **************************************************************** */
		if (count<50) {
			pageScrollTimer = setTimeout("pageScroll("+toX+","+toY+","+frms+","+frX+","+frY+")",spd); //
			infinity[i] = actY;
			if (infinity[i]==infinity[i-1]){count++;}
			i++;
		} else {
			count=0;
			i=0;
		}
/* **************************************************************** */
	}else{
		clearTimeout(pageScrollTimer);
	}
}

function toAnchor(idName,longitudinalAdj,traverser) {
	if(usr.allObj){
		if(!!idName) { // 上から下
			var anchorX = traverser ? getTagLeft(idName) : 0;
			var anchorY = longitudinalAdj? getTagTop(idName)-longitudinalAdj : getTagTop(idName)-20;
			var dMaxX = getDistanceMaxX();
			var dMaxY = getDistanceMaxY();
			if(((anchorX*0) == 0)||((anchorY*0) == 0)){
				var setX = (anchorX<1)?0:(anchorX>dMaxX)?dMaxX:anchorX;
				var setY = (anchorY<1)?0:(anchorY>dMaxY)?dMaxY:anchorY;
				pageScroll(setX,setY);
			}else{
				location.hash = idName;
			}
		} else { // 下から上
			pageScroll(0,0);
		}
	}else{
		!!idName ? location.hash = idName : location.hash = "pagewidth";
	}
}
// end hiding script from old browsers-->

