// JavaScript Document
function pageprint(){
	if(document.getElementById || document.layers){
		window.print();		//印刷をします
	}
}

var imgdir = "/common/images/";
var gion = new Array(
	new Image(),new Image(),new Image(),new Image(),new Image(),new Image()
);
gion[0].src = imgdir + "global01_on.gif";
gion[1].src = imgdir + "global02_on.gif";
gion[2].src = imgdir + "global03_on.gif";
gion[3].src = imgdir + "global04_on.gif";
gion[4].src = imgdir + "global05_on.gif";
gion[5].src = imgdir + "global06_on.gif";


var gioff = new Array(
	new Image(),new Image(),new Image(),new Image(),new Image(),new Image()
);
gioff[0].src = imgdir + "global01_off.gif";
gioff[1].src = imgdir + "global02_off.gif";
gioff[2].src = imgdir + "global03_off.gif";
gioff[3].src = imgdir + "global04_off.gif";
gioff[4].src = imgdir + "global05_off.gif";
gioff[5].src = imgdir + "global06_off.gif";

var pre = new Array();
pre.push( new Image().src = imgdir + "top/ico_ind01_on.gif" );
pre.push( new Image().src = imgdir + "top/ico_ind02_on.gif" );
pre.push( new Image().src = imgdir + "top/ico_ind03_on.gif" );
pre.push( new Image().src = imgdir + "top/ico_ind04_on.gif" );
pre.push( new Image().src = imgdir + "top/ico_tro01_on.gif" );
pre.push( new Image().src = imgdir + "top/ico_tro02_on.gif" );
pre.push( new Image().src = imgdir + "top/ico_tro03_on.gif" );
pre.push( new Image().src = imgdir + "top/ico_tro04_on.gif" );

function gshover( n , t ){
	$(t).src = gion[n].src;
}
function gsout( n , t ){
	$(t).src = gioff[n].src;
}
function bnrswap( t , f ){
	$(t).src = f;
}
