if ((app == "N") && (saf == -1)) {
		document.write('<link rel="stylesheet" type="text/css" charset="Shift_JIS" href="../css/icon_ns.css">');
	} else if  ((app == "N") && (saf >= 0)){
		document.write('<link rel="stylesheet" type="text/css" charset="Shift_JIS" href="../css/icon_saf.css">');
	} else  {
		document.write('<link rel="stylesheet" type="text/css" charset="Shift_JIS" href="../css/icon_ie.css">');
}

// ポップアップウインドのセット
function iconpop(name)
{
	pageaname="../tokucho.html#" + name;
	window.open(pageaname,'tokucho','scrollbars=yes,width=616,height=610');
}

// テキストエリアのセット
function SetIcon()
{
	document.icon_copy.icon_copy.value = "";
}

//レイヤーの位置調整
function icon_view(icon_name,pos){
//NN
	if (app=="N"){
		if(document.layers) {
			// パンツなし
			if (pos =="1s"){
				document.iconLay.top = 148;
				document.iconLay.height = 100;
			}
			if (pos =="2s"){
				document.iconLay.top = 168;
				document.iconLay.height = 100;
			}
			// パンツあり
			if (pos =="1"){
				document.iconLay.top = 148;
				document.iconLay.height = 200;
			}
			if (pos =="2"){
				document.iconLay.top = 168;
				document.iconLay.height = 200;
			}
			if (pos =="3"){
				document.iconLay.top = 188;
				document.iconLay.height = 200;
			}
			// プロテクター達の位置
			if (pos =="1p"){
				document.iconLay.top = 228;
				document.iconLay.height = 100;
			}
			if (pos =="2p"){
				document.iconLay.top = 248;
				document.iconLay.height = 100;
			}
			if (pos =="3p"){
				document.iconLay.top = 263;
				document.iconLay.height = 100;
			}
			// パンツなし用　プロテクターの位置
			if (pos =="1ps"){
				document.iconLay.top = 228;
				document.iconLay.height = 50;
			}
			// パンツなし用　プロテクターの位置2
			if (pos =="2ps"){
				document.iconLay.top = 248;
				document.iconLay.height = 50;
			}
		} else {
			// パンツなし
			if (pos =="1s"){
				document.getElementById("iconLay").style.top = 150;
				document.getElementById("iconLay").style.height = 100;
			}
			if (pos =="2s"){
				document.getElementById("iconLay").style.top = 170;
				document.getElementById("iconLay").style.height = 100;
			}
			// パンツあり
			if (pos =="1"){
				document.getElementById("iconLay").style.top = 150;
				document.getElementById("iconLay").style.height = 200;
			}
			if (pos =="2"){
				document.getElementById("iconLay").style.top = 170;
				document.getElementById("iconLay").style.height = 200;
			}
			if (pos =="3"){
				document.getElementById("iconLay").style.top = 190;
				document.getElementById("iconLay").style.height = 200;
			}
			// プロテクター達の位置
			if (pos =="1p"){
				document.getElementById("iconLay").style.top = 230;
				document.getElementById("iconLay").style.height = 100;
			}
			if (pos =="2p"){
				document.getElementById("iconLay").style.top = 250;
				document.getElementById("iconLay").style.height = 100;
			}
			if (pos =="3p"){
				document.getElementById("iconLay").style.top = 265;
				document.getElementById("iconLay").style.height = 100;
			}
			// パンツなし用プロテクターの位置
			if (pos =="1ps"){
				document.getElementById("iconLay").style.top = 230;
				document.getElementById("iconLay").style.height = 70;
			}
			// パンツなし用プロテクターの位置2
			if (pos =="2ps"){
				document.getElementById("iconLay").style.top = 250;
				document.getElementById("iconLay").style.height = 70;
			}
		}
	}

//IE		
	if (document.all){
		// パンツなし
		if (pos =="1s"){
			iconLay.style.top = 150;
			iconLay.style.height = 100;

		}
		if (pos =="2s"){
			iconLay.style.top = 170;
			iconLay.style.height = 100;

		}
		// パンツあり
		if (pos =="1"){
			iconLay.style.top = 150;
			iconLay.style.height = 200;
		}
		if (pos =="2"){	
			iconLay.style.top = 170;
			iconLay.style.height = 200;
		}
		if (pos =="3"){	
			iconLay.style.top = 190;
			iconLay.style.height = 200;
		}
		// プロテクター達の位置
		if (pos =="1p"){
			iconLay.style.top = 230;
			iconLay.style.height = 100;
		}
		if (pos =="2p"){	
			iconLay.style.top = 250;
			iconLay.style.height = 100;
		}
		if (pos =="3p"){	
			iconLay.style.top = 265;
			iconLay.style.height = 100;
		}
		// パンツなし用プロテクターの位置
		if (pos =="1ps"){
			iconLay.style.top = 230;
			iconLay.style.height = 50;
		}
		// パンツなし用プロテクターの位置
		if (pos =="2ps"){
			iconLay.style.top = 240;
			iconLay.style.height = 50;
		}
	}

//表示するコピー		
	if (icon_name=="goretex_armacor"){
		document.icon_copy.icon_copy.value = "ゴアテックス(R) アーマコール\n3 層ラミネートに加工されたゴアテックス(R) の耐摩耗性素材。転倒時のダメージに強く、温度調節機能に優れています。";
	}
	if (icon_name=="airtex"){
		document.icon_copy.icon_copy.value = "エアテックス\n優れた耐摩耗性のあるダイナフィルを風通しの良いメッシュ状に加工した素材。";
	}
	if (icon_name=="cordura"){
		document.icon_copy.icon_copy.value = "コーデュラ(R) 300/500/700\n優れた耐摩耗性や耐裂性を備えたアウター素材。快適な着心地です。";
	}
	if (icon_name=="schoeller_pcm"){
		document.icon_copy.icon_copy.value = "シェラー(R) PCM(TM)\n宇宙工学技術で開発された素材。温度の変動を調節します。";
	}
	if (icon_name=="dynatec"){
		document.icon_copy.icon_copy.value = "ダイナテック\n極めて優れた耐裂性と耐摩耗性を備え、融点が高い。";
	}
	if (icon_name=="inotex"){
		document.icon_copy.icon_copy.value = "イノテックス\nコットン、ライクラ(R) 、ケブラー(R)、ダイナフィルの混紡繊維。ジーンズの外観で、耐摩耗性に優れています。";
	}
	if (icon_name=="kevlar"){
		document.icon_copy.icon_copy.value = "ケブラー(R) \n鋼鉄の5 倍の強度がある繊維素材。融点は450℃。";
	}
	if (icon_name=="tfl"){
		document.icon_copy.icon_copy.value = "TFL\nクールテクノロジー。ダークカラーのウェアの過熱を防ぎます。";
	}
	if (icon_name=="carbon"){
		document.icon_copy.icon_copy.value = "カーボン\n軽くて融点の極めて高い、耐裂性、耐摩耗性に非常に優れた素材。";
	}
	if (icon_name=="aramid_fibre"){
		document.icon_copy.icon_copy.value = "アラミド繊維(R)\n高性能のポリアミド繊維（ケブラー(R)、ノーメックス(R) など）で、高い剛性と耐熱性に優れています";
	}
	if (icon_name=="venturi"){
		document.icon_copy.icon_copy.value = "ベンチュリ\n通気性のあるフィルムで高いクライメートコンフォートをもたらします。";
	}
	if (icon_name=="cats_eye"){
		document.icon_copy.icon_copy.value = "猫の目のマーク\n反射性素材。";
	}
	if (icon_name=="leather"){
		document.icon_copy.icon_copy.value = "レザー*\n厚さ1.2 mm 以上。\n*レザーを洗う場合は、BMW Motorrad レザー専用洗剤を使用してください。";
	}
	if (icon_name=="goretex"){
		document.icon_copy.icon_copy.value = "ゴアテックス(R)\n防水性、防風性、透湿性、通気性に優れ、高度のクライメートコンフォートを実現。";
	}
	if (icon_name=="goretex_xcr"){
		document.icon_copy.icon_copy.value = "ゴアテックス(R) XCR(R)\n防風性、防水性と同時に最大限の透湿性、通気性を実現した3 層ラミネート。";
	}
	if (icon_name=="sun"){
		document.icon_copy.icon_copy.value = "太陽のマーク\n気温が高いときに適しています。";
	}
	if (icon_name=="cold"){
		document.icon_copy.icon_copy.value = "結晶のマーク\n気温が低いときに適しています。";
	}
	if (icon_name=="wind_waterproof"){
		document.icon_copy.icon_copy.value = "防風防水性";
	}
	if (icon_name=="waterproof_bag"){
		document.icon_copy.icon_copy.value = "防水ポケット";
	}
	if (icon_name=="thermoinsert_body"){
		document.icon_copy.icon_copy.value = "上半身用のサーモライナー";
	}
	if (icon_name=="thermoinsert_jacket_trousers"){
		document.icon_copy.icon_copy.value = "ジャケットおよびパンツ用のサーモライナー";
	}
	if (icon_name=="scratchproof_buttons"){
		document.icon_copy.icon_copy.value = "傷のつきにくいラバーコーティングのボタン";
	}
	if (icon_name=="zipper_short"){
		document.icon_copy.icon_copy.value = "短いジッパー";
	}
	if (icon_name=="zipper_long"){
		document.icon_copy.icon_copy.value = "長いジッパー";
	}
	if (icon_name=="women_cut"){
		document.icon_copy.icon_copy.value = "女性専用デザインです。";
	}
	if (icon_name=="washable"){
		document.icon_copy.icon_copy.value = "洗濯機で洗うことができます（BMW 洗剤を使用してください）。";
	}
	if (icon_name=="c_change"){
		document.icon_copy.icon_copy.value = "c_change(TM)\n温度調節に優れ、伸縮性に富む3層ラミネート。";
	}
	if (icon_name=="red_circle"){
		document.icon_copy.icon_copy.value = "不明不明不明不明";
	}
	if (icon_name=="protector_01"){
		document.icon_copy.icon_copy.value = "着脱式プロテクターやバックプロテクターが標準で付いている箇所を示します。";
	}
	if (icon_name=="protector_02"){
		document.icon_copy.icon_copy.value = "別売のプロテクター用のポケットの位置を示します。";
	}
	if (icon_name=="protector_03"){
		document.icon_copy.icon_copy.value = "高さ調整式ニープロテクターを装備しています。";
	}
	if (icon_name=="protector_15"){
		document.icon_copy.icon_copy.value = "着脱式プロテクターをジャケットに装備しています。";
	}
	if (icon_name=="ct"){
		document.icon_copy.icon_copy.value = "CT：説明不明";
	}
}

// レイヤ表示
function Start(strLayer, fType){
	//NNの場合
	if (document.layers)
	{
		if (fType)
		{
			//表示
			document.layers[strLayer].visibility = "show";
		}
		else
		{
			//非表示
			document.layers[strLayer].visibility = "hide";	
		}
	}
	//IEとNC6の場合
	if (document.getElementById)
	{	
		if (fType)
		{	
			//表示
			document.getElementById(strLayer).style.visibility="visible";
		}
		else
		{
			//非表示
			document.getElementById(strLayer).style.visibility="hidden";
		}
	}
	
}
