<!--
	var dockTimer = "";
	function opendock(){
		clearTimeout(dockTimer);
		setMaxHeight("dock");
		if(document.all){
			document.all("dock").style.left = 0+"px";
			document.all("dockbody").style.left = 0+"px";
		}
		else if(document.getElementById){
			document.getElementById("dock").style.left = 0+"px";
			document.getElementById("dockbody").style.left = 0+"px";
		}
	}
	function setMaxHeight(getId){
		var ua = navigator.userAgent;
		var nWidth, nHeight;
		var nHit = ua.indexOf("MSIE");
		var bIE = (nHit >=  0);
		var bVer6 = (bIE && ua.substr(nHit+5, 1) == "6");
		var bStd = (document.compatMode && document.compatMode=="CSS1Compat");
		if (bIE) {
			if (bVer6 && bStd) {
				nWidth = document.documentElement.clientWidth;
				nHeight = document.documentElement.clientHeight;
			} else {
				nWidth = document.body.clientWidth;
				nHeight = document.body.clientHeight;
			}
		} else {
			nWidth = window.innerWidth;
			nHeight = window.innerHeight;
		}
		if(document.all){
			document.all(getId).style.height = nHeight+"px";
		}
		else if(document.getElementById){
			document.getElementById(getId).style.height = nHeight+"px";
		}
	}
	function closeDock(){
		clearTimeout(dockTimer);
		if(document.all){
			document.all("dock").style.left = "0px";
			document.all("dockbody").style.left = "0px";
		}
		else if(document.getElementById){
			document.getElementById("dock").style.left = "0px";
			document.getElementById("dockbody").style.left = "0px";
		}
		dockTimer = setTimeout('moveDock(0,-480,6)',6);
	}
	function intervalTimer(){
		//set
	}
	function moveDock(movepx,endcoo,frms){
		//引数::基点，終点，フレームレート
		
		//残りの移動距離を算出
		var movelength = endcoo - movepx;
		if(document.all){
			movelength = (movelength / frms);
			movepx += Math.floor(movelength);
			document.all("dock").style.left = movepx+"px";
			document.all("dockbody").style.left = movepx+"px";
			//document.all("debug").innerHTML += movepx+"px / "+endcoo+"px<br />";
		}
		else if(document.getElementById){
			movelength = (movelength / frms);
			movepx += Math.floor(movelength);
			document.getElementById("dock").style.left = movepx+"px";
			document.getElementById("dockbody").style.left = movepx+"px";
			//document.getElementById("dock").innerHTML += movepx+"px<br />";
		}
		if(movepx != endcoo){
			setTimeout('moveDock('+Math.floor(movepx)+','+endcoo+','+frms+')',6);
		}
		else{
			clearTimeout(dockTimer);
		}
	}
//-->
