
function jump(URL) {
	document.linkjump.url.value = URL;
	document.linkjump.submit();
}

function link(url_name) {
	window.open(url_name,"aboutLINK","TOOLBAR=0,HEIGHT=200,WIDTH=300");
}


function W01(url_name) {
	window.open(url_name,"information","TOOLBAR=0,height=320,width=380");
}

function W02(url_name) {
	window.open(url_name,"information","TOOLBAR=0,HEIGHT=320,WIDTH=380");
}




	function Wowarai(url_name) {
		window.open(url_name,"_blank","TOOLBAR=0,SCROLLBARS=1,RESIZABLE=1,HEIGHT=600,WIDTH=630");
	}



//	function Wpp(url_name) {
//		window.open(url_name,"_blank","TOOLBAR=0,SCROLLBARS=1,RESIZABLE=0,HEIGHT=410,WIDTH=510");
//	}



//ロールオーバー
function smartRollover() {
	if(document.getElementsByTagName) {

		var chacheImage = new Array();
		var ci = 0;

		function imageSet( img ){
			if(img.getAttribute("src").match("_off."))
			{
				img.onmouseover = function() {
					this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on."));
				}
				img.onmouseout = function() {
					this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off."));
				}

				//キャッシュする
				chacheImage[ ci ] = new Image();
				chacheImage[ ci ].src = img.getAttribute("src").replace("_off.", "_on.");
				ci++;
			}
		}


		var images = document.getElementsByTagName("img");

		for(var i=0; i < images.length; i++) 
			imageSet( images[i] );


		var inputs = document.getElementsByTagName("input");

		for( var i=0; i<inputs.length; i++ ){
			if( inputs[i].type == "image" )
				imageSet( inputs[i] );
		}


	}
}
if(window.addEventListener) {
	window.addEventListener("load", smartRollover, false);
}
else if(window.attachEvent) {
	window.attachEvent("onload", smartRollover);
} else {
	window.onload = smartRollover;
}
