//if(document.referrer != "http://www.ayano-web.com/pc/info.html"){	//location.href="http://www.ayano-web.com/pc/info.html";//	}window.onload = function(){	movedock(2);	setTimeout("movedock(1)", 5000);}//コンテンツ表示エリア表示function swichscreen(name){	if(name){		$("#contents_layer").css('display','block');		activelink(name)		}else{		$("#contents_layer").css('display','none');		}	}	//naviの着色var pre_hit;function activelink(hit){	if(pre_hit){		$("#" + pre_hit).css('color','');	}	$("#" + hit).css('color','#990000');	pre_hit = hit;}//画像ロールオーバー$(function(){	$("img.rollover").mouseover(function(){		$(this).attr("src",$(this).attr("src").replace(/^(.+)(\.[a-z]+)$/, "$1_o$2"))	}).mouseout(function(){		$(this).attr("src",$(this).attr("src").replace(/^(.+)_o(\.[a-z]+)$/, "$1$2"));	})})//dockのリアクションvar flg = 0;function movedock(st){	if(!st){		if(parseInt($('#dock').css('margin-top')) >= -25){			st = 2;		}		else{			st = 1;			}	}		//下げ	if(st == 1){		if(flg > 0){			var t = parseInt($('#dock').css('margin-top')) + 5 + "px" ;			$('#dock').css('margin-top',t);			flg--;			setTimeout("movedock(1)", 20);		}	}		//上げ	else if(st == 2){		if(flg < 17){			$("#touch_area").css('display','none');			var t = parseInt($('#dock').css('margin-top')) - 5 + "px" ;			$('#dock').css('margin-top',t);			flg++;			setTimeout("movedock(2)", 20);		}	}}
