	// 災害時お知らせ
	var id,pos=0;
	function denko(asMsg){
		var I,k;
		var msg = asMsg;
		k=(1/msg.length)+1;
		for(I=0;I<=k;I++) msg+=msg;
		document.Form1.denko.value=msg.substring(pos,pos+50);
		pos += 1;
		if(pos>=msg.length) pos=0;
		id=setTimeout("denko('" + asMsg + "')",250);
	}
	
	function ImgSwap(imgName){
	
		if( document.all ){
			thisObj = document.all(imgName)
			if( thisObj != null && thisObj.style.visibility=='hidden' ){
				thisObj.style.visibility   = 'visible'
			}
		}else if( document.getElementById ){
			thisObj = document.getElementById(imgName)
			if( thisObj != null && thisObj.style.visibility=='hidden' ){
				thisObj.style.visibility = 'visible'
			}
		}else if( document.layers ){
			imgName = "nn" + imgName;
			thisObj = document.layers[imgName]
			if( thisObj != null && thisObj.visibility=='hide'){
				thisObj.visibility     = 'show'
			}
		}
	}

	function ImgOut(imgName){
	
		if( document.all ){
			thisObj = document.all(imgName)
			if( thisObj != null && thisObj.style.visibility=='visible' ){
				thisObj.style.visibility   = 'hidden'
			}
		}else if( document.getElementById ){
			thisObj = document.getElementById(imgName)
			if( thisObj != null && thisObj.style.visibility=='visible' ){
				thisObj.style.visibility = 'hidden'
			}
		}else if( document.layers ){
			imgName = "nn" + imgName;
			thisObj = document.layers[imgName]
			if( thisObj != null && thisObj.visibility=='show'){
				thisObj.visibility     = 'hide'
			}
		}
	}

	