//<script language="javascript" src="style.js" type="text/javascript"></script>

function Is() {
   var agent = navigator.userAgent.toLowerCase();
   this.major = parseInt(navigator.appVersion);
   this.minor = parseFloat(navigator.appVersion);
   this.ns = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible') == -1)));
   this.ns2 = (this.ns && (this.major == 2));
   this.ns3 = (this.ns && (this.major == 3));
   this.ns4 = (this.ns && (this.major == 4));
   this.ns5 = (this.ns && (this.major > 4));
   this.ns6 = (this.ns && (agent.indexOf('netscape6')!=-1) );
   this.ns7 = (this.ns && (agent.indexOf('netscape/7')!=-1) );
   this.ns7pr = (this.ns && (agent.indexOf('netscape/7.0b1')!=-1) );
   this.ie = (agent.indexOf("msie") != -1);
   this.ie3 = (this.ie && (this.major == 2));
   this.ie4 = (this.ie && (this.major >= 4));
   this.op3 = (agent.indexOf("opera") != -1);
   this.pc  = (agent.indexOf("win") != -1);

   if (!(this.ie4 || this.ns5)) {
      isFlat = true;
   }
}

var is = new Is();

if (is.ie) {
	if (is.pc) {
//win.ieでの設定
		document.writeln('<style type="text/css"><!--');
		document.write( "table { text-decoration: none; font-size: 12px; line-height: 150%; }" );
		document.write( ".small { text-decoration: none; font-size: 10px; line-height: 150%; }" );
		document.write( "body { color:#281F1C; }" );
		document.write( ".white { color:#ffffff; }" );
		document.write( ".green { color:#7B8261; }" );
		
		document.write( "a:link { text-decoration:underline ;color:#FF6600;}" );
		document.write( "a:visited { text-decoration:underline ;color:#FF6600;}" );
		document.write( "a:hover { text-decoration:none ;color:#FF6600;}" );
		document.write( "a:active { text-decoration:underline ;color:#FF6600;}" );
		document.writeln('--></style>');
  }else{
//mac.ieでの設定
		document.writeln('<style type="text/css"><!--');
		document.write( "table { text-decoration: none; font-size: 12px; line-height: 150%; }" );
		document.write( ".small { text-decoration: none; font-size: 10px; line-height: 150%; }" );
		document.write( "body { color:#281F1C; }" );
		document.write( ".white { color:#ffffff; }" );
		document.write( ".green { color:#7B8261; }" );
		
		document.write( "a:link { text-decoration:underline ;color:#FF6600;}" );
		document.write( "a:visited { text-decoration:underline ;color:#FF6600;}" );
		document.write( "a:hover { text-decoration:none ;color:#FF6600;}" );
		document.write( "a:active { text-decoration:underline ;color:#FF6600;}" );
		document.writeln('--></style>');
  }
}
if (is.ns4) { 
   if (is.pc) {
//netscape4での設定
		document.writeln('<style type="text/css"><!--');
		document.write( "table { text-decoration: none; font-size: 12px; line-height: 150%; }" );
		document.write( ".small { text-decoration: none; font-size: 10px; line-height: 150%; }" );
		document.write( "body { color:#281F1C; }" );
		document.write( ".white { color:#ffffff; }" );
		document.write( ".green { color:#7B8261; }" );
		
		document.write( "a:link { text-decoration:underline ;color:#FF6600;}" );
		document.write( "a:visited { text-decoration:underline ;color:#FF6600;}" );
		document.write( "a:hover { text-decoration:none ;color:#FF6600;}" );
		document.write( "a:active { text-decoration:underline ;color:#FF6600;}" );
		document.writeln('--></style>');
   } else { 
//netscape4での設定
		document.writeln('<style type="text/css"><!--');
		document.write( "table { text-decoration: none; font-size: 12px; line-height: 150%; }" );
		document.write( ".small { text-decoration: none; font-size: 10px; line-height: 150%; }" );
		document.write( "body { color:#281F1C; }" );
		document.write( ".white { color:#ffffff; }" );
		document.write( ".green { color:#7B8261; }" );
		
		document.write( "a:link { text-decoration:underline ;color:#FF6600;}" );
		document.write( "a:visited { text-decoration:underline ;color:#FF6600;}" );
		document.write( "a:hover { text-decoration:none ;color:#FF6600;}" );
		document.write( "a:active { text-decoration:underline ;color:#FF6600;}" );
		document.writeln('--></style>');
   }
}
if (is.ns5){
//netscape5での設定
		document.writeln('<style type="text/css"><!--');
		document.write( "table { text-decoration: none; font-size: 12px; line-height: 150%; }" );
		document.write( ".small { text-decoration: none; font-size: 10px; line-height: 150%; }" );
		document.write( "body { color:#281F1C; }" );
		document.write( ".white { color:#ffffff; }" );
		document.write( ".green { color:#7B8261; }" );
		
		document.write( "a:link { text-decoration:underline ;color:#FF6600;}" );
		document.write( "a:visited { text-decoration:underline ;color:#FF6600;}" );
		document.write( "a:hover { text-decoration:none ;color:#FF6600;}" );
		document.write( "a:active { text-decoration:underline ;color:#FF6600;}" );
		document.writeln('--></style>');
}


//ロールオーバーの設定
var imgA=new Array();
imgA[0]=new Image(); imgA[0].src="../images/m01.gif";
imgA[1]=new Image(); imgA[1].src="../images/m01a.gif";
imgA[2]=new Image(); imgA[2].src="../images/m02.gif";
imgA[3]=new Image(); imgA[3].src="../images/m02a.gif";
imgA[4]=new Image(); imgA[4].src="../images/m03.gif";
imgA[5]=new Image(); imgA[5].src="../images/m03a.gif";
imgA[6]=new Image(); imgA[6].src="../images/m04.gif";
imgA[7]=new Image(); imgA[7].src="../images/m04a.gif";
imgA[8]=new Image(); imgA[8].src="../images/m05.gif";
imgA[9]=new Image(); imgA[9].src="../images/m05a.gif";
imgA[10]=new Image(); imgA[10].src="../images/m06.gif";
imgA[11]=new Image(); imgA[11].src="../images/m06a.gif";
imgA[12]=new Image(); imgA[12].src="../images/m07.gif";
imgA[13]=new Image(); imgA[13].src="../images/m07a.gif";

function Ain(nam,num){
		document.images[nam].src=imgA[num].src;
}
function Aout(nam,num){
		document.images[nam].src=imgA[num].src;
}
//<a href="index.html" onMouseOut="Aout('m01',0)" onMouseOver="Ain('m01',1)"></a>


//ポップアップの設定
function OpenWin1(url,title,xsize,ysize){
	window.open(url,title,"toolbar=no,location=no,menubar=no,status=yes,resizable=yes,scrollbars=yes,width="+[xsize]+",height="+[ysize]);
	}
//<a href="javascript:OpenWin1('size.html','page','450','600');">GOODS サイズ表</a>