<!-- EUCなんだってば -->

var flash;
var agt=navigator.userAgent.toLowerCase(); 

var is_major = parseInt(navigator.appVersion); 
var is_minor = parseFloat(navigator.appVersion); 

var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) 
			&& (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) 
			&& (agt.indexOf('webtv')==-1)); 
var is_nav2 = (is_nav && (is_major == 2)); 
var is_nav3 = (is_nav && (is_major == 3)); 
var is_nav4 = (is_nav && (is_major == 4)); 
var is_nav4up = (is_nav && (is_major >= 4)); 
var is_navonly = (is_nav && ((agt.indexOf(";nav") != -1) || 
				(agt.indexOf("; nav") != -1)) ); 
var is_nav5 = (is_nav && (is_major == 5)); 
var is_nav5up = (is_nav && (is_major >= 5)); 
var is_nav6up = (is_nav && (is_major >= 5)); 

var is_ie = (agt.indexOf("msie") != -1); 
var is_ie3 = (is_ie && (is_major < 4)); 
var is_ie4 = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")==-1) ); 
var is_ie4up = (is_ie  && (is_major >= 4)); 
var is_ie5up = (is_ie  && !is_ie3 && !is_ie4); 


if(is_ie5up && navigator.platform.indexOf('Win') > -1){
	document.write('<style type="text/css"><!--TD{font-size:10pt; color: #5a5a5a;;}.path {position:relative;color: #5a5a5a;font-size: 12pt}.nav_date{font-size: 8pt; color: #ffffff}.caption{font-size: 8pt; color: #000000}--></style>')
}
else if(is_ie5up && navigator.platform.indexOf('Mac') > -1){
	document.write('<style type="text/css"><!--TD{font-size:12pt; color: #5a5a5a;;}.path {position:relative;color: #5a5a5a;font-size: 12pt}.nav_date{font-size: 10pt; color: #ffffff}.caption{font-size: 10pt; color: #000000}--></style>')
}
else if(is_ie4up && navigator.platform.indexOf('Win') > -1){
	document.write('<style type="text/css"><!--TD{font-size:9pt; color: #5a5a5a}.path {position:relative;color: #5a5a5a;font-size: 9pt}.nav_date{font-size: 8pt; color: #ffffff}.caption{font-size: 8pt; color: #000000}--></style>')
}
else if(is_ie4up && navigator.platform.indexOf('Mac') > -1){
	document.write('<style type="text/css"><!--TD{font-size:11pt; color: #5a5a5a}.path {position:relative;color: #5a5a5a;font-size: 11pt}.nav_date{font-size: 7pt; color: #ffffff}.caption{font-size: 7pt; color: #000000}--></style>')
}
else if(is_nav4 && navigator.platform.indexOf('Win') > -1){
	document.write('<style type="text/css"><!--TD{font-size:9pt; color: #5a5a5a}.path {position:relative;color: #5a5a5a;font-size: 9pt}.nav_date{font-size: 6pt; color: #ffffff}.caption{font-size: 6pt; color: #000000}--></style>')
}
else if(is_nav6up){
	document.write('<style type="text/css"><!--TD{font-size:9pt; color: #5a5a5a}.path {position:relative;color: #5a5a5a;font-size: 9pt}.nav_date{font-size: 8pt; color: #ffffff}.caption{font-size: 6pt; color: #000000}--></style>')
}
else if(is_nav4 && navigator.platform.indexOf('Mac') > -1){
	document.write('<style type="text/css"><!--TD{font-size:12pt; color: #5a5a5a;}.path {position:relative;color: #5a5a5a;font-size: 12pt}.nav_date{font-size: 8pt; color: #ffffff}.caption{font-size: 8pt; color: #000000}--></style>')
}
else{
	document.write('<style type="text/css"><!--TD{font-size:12pt; color: #5a5a5a;}.path {position:relative;color: #5a5a5a;font-size: 12pt}.nav_date{font-size: 8pt; color: #ffffff}.caption{font-size: 8pt; color: #000000}--></style>')
}

function test(x) {
	if(navigator.appName == 'Microsoft Internet Explorer')
		x.blur();
}


function winopen(wurl,w_width,w_height,w_scroll,w_menu,w_resize,w_status){
	w = screen.availWidth;
	h = screen.availHeight;
	
	var w_horiz = (w-w_width)/2;
	var w_vert = (h-w_height)/2;
	
	new_win = window.open(wurl,"popup","toolbar=0,menubar="+w_menu+",resize="+w_resize+",location=0,scrollbars="+w_scroll+",status="+w_status+",width="+w_width+",height="+w_height+",top="+w_vert+",left="+w_horiz+"");
	
	new_win.focus();
}

<!-- ADD 2003/03/14 by Nozomi -->
function helpwin_open(str_URL){
	w = screen.availWidth;
	h = screen.availHeight;
	
	var w_horiz = (w-670)/2;
	var w_vert = (h-500)/2;
	
	window.open(str_URL, "help", "toolbar=0,menubar=no,resize=0,location=0,scrollbars=1,status=0,width=670,height=500,top=w_vert,left=w_horiz");

}

function orderwin_open(str_URL){
	w = screen.availWidth;
	h = screen.availHeight;
	
	var w_horiz = (w-470)/2;
	var w_vert = (h-500)/2;
	
	window.open(str_URL, "order", "toolbar=0,menubar=1,resizable=no,location=0,scrollbars=1,status=1,width=600,height=500,top=w_vert,left=w_horiz");

}

<!-- ADD 2004/02/26 by Nozomi -->
//function MM_checkPlugin(plgIn, autoGo) { //v4.0
function MM_checkPlugin(){
/*	var fl_flash = false;
	document.MM_returnValue = false;
	with (navigator) if( appName.indexOf( 'Microsoft' ) == -1 || ( plugins && plugins.length ) ){
		fl_flash = ( plugins && plugins[plgIn] );
	}
	else if( appVersion.indexOf('3.1') == -1 ){ //not Netscape or Win3.1
	    if( plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null ){
			fl_flash = window.MM_flash;
			
		}
		else if( plgIn.indexOf("Director")!=-1 && window.MM_dir!=null ){
			fl_flash = window.MM_dir;
		}
	    else{
			fl_flash = autoGo;
		}
	}
	*/
	
	brVersion = navigator.appVersion.charAt(0);
	brName = navigator.appName.charAt(0);
	
	
	theName  = "fl_flash";
	theDay   = 7;
	setDay = new Date();
	setDay.setTime(setDay.getTime()+(theDay*1000*60*60*24));
	expDay = setDay.toGMTString();
	
//	if( !fl_flash ){
	if( brVersion >=4 && (brName == "M") ){
		theValue = "FLASH";
		flash = 1;
	}
	else if( brVersion >=4.07 && (brName == "N") ){
		theValue = "FLASH";
		flash = 1;
	}
	else{
	theValue = "NON-FLASH";
		flash = 0;
	}
	
	document.cookie = theName + "="+escape(theValue)+";expires="+expDay;
	
}


