//‰æ‘œƒ[ƒ‹ƒI[ƒo[
(function(onLoad) {
	try {
			window.addEventListener('load', onLoad, false);
	} catch (e) {
			window.attachEvent('onload', onLoad);
	}
})(function() {
	var tags = ["img","input"];
	for( var i=0, len=tags.length; i<len; i++ ) {
		var over = function() { this.src = this.src.replace('_off.', '_on.'); };
		var out	= function() { this.src = this.src.replace('_on.', '_off.'); };
		var el = document.getElementsByTagName(tags[i]);
		for (var j=0, len2=el.length; j<len2; j++) {
			var attr = el[j].getAttribute('src');
			if (!el[j].src.match(/_off\./)&&attr) continue;
			el[j].onmouseover = over;
			el[j].onmouseout = out;
		}
	}
});

//ˆóücssØ‘Ö
function txtPrint( file ){
	var link = document.createElement('link');  
	with( link ) {  
		href = file;  
		type = 'text/css';  
		rel = 'stylesheet';  
		media = 'print';  
	}  
	
	var head = document.getElementsByTagName('head');  
	head.item(0).appendChild(link); 

	window.print();
	
}
function disp(url){
	window.open(url, "pop", "width=590,height=400,scrollbars=yes");
}
function mapWin(url){
	window.open(url, "pop", "width=860,height=500,scrollbars=yes");
}


