/* //////////////////////////////////////////////////////////

　　※プリロード画像の配列は2種類あるので注意。

　　?プリロード2（変更・差替えのあるボタン）
　　?プリロード1（共通のボタン）
　　?ロールオーバー

////////////////////////////////////////////////////////// */

// No SSL Page
var SitePath = "http://www.st-breath.co.jp/";

// ?プリロード2（変更・差替えのあるボタン）
function VariablePreload(){
	
	IMGdata2 = new Array(
	// ▼トップ右ナビ
	SitePath + "img/button/topnavi_fullorder.gif", //フルオーダー off … 0
	SitePath + "img/button/topnavi_fullorder_on.gif", //on … 1
	SitePath + "img/button/topnavi_semiorder.gif", //セミオーダー off … 2
	SitePath + "img/button/topnavi_semiorder_on.gif", //on … 3
	SitePath + "img/button/topnavi_floorguide.gif", //フロアーガイド off … 4
	SitePath + "img/button/topnavi_floorguide_on.gif", //on … 5
	SitePath + "img/button/topnavi_staff.gif", //スタッフ off … 6
	SitePath + "img/button/topnavi_staff_on.gif", //on … 7
	// ▼ブランド
	SitePath + "img/button/brand_01.jpg", //off … 8
	SitePath + "img/button/brand_01_on.jpg", //on … 9
	SitePath + "img/button/brand_02.jpg", //off … 10
	SitePath + "img/button/brand_02_on.jpg", //on … 11
	SitePath + "img/button/brand_03.jpg", //off … 12
	SitePath + "img/button/brand_03_on.jpg", //on … 13
	SitePath + "img/button/brand_04.jpg", //off … 14
	SitePath + "img/button/brand_04_on.jpg" //on … 15
	);

	ImgButton2 = new Array();
	for(i=0;i<IMGdata2.length;i++){
		ImgButton2[i] = new Image();
		ImgButton2[i].src = IMGdata2[i];
	}
}


// ?プリロード1（共通のボタン）
function CommonPreload(){
	
	IMGdata1 = new Array(
	SitePath + "img/button/logo.gif", //ロゴoff … 0
	SitePath + "img/button/logo_on.gif", //on … 1
	// ▼左ナビ
	SitePath + "img/button/left_navi_01.gif", //ホームページ制作off … 2
	SitePath + "img/button/left_navi_01_on.gif", //on … 3
	SitePath + "img/button/left_navi_02.gif", //現状分析・診断off … 4
	SitePath + "img/button/left_navi_02_on.gif", //on … 5
	SitePath + "img/button/left_navi_03.gif", //運営管理off … 6
	SitePath + "img/button/left_navi_03_on.gif", //on … 7
	SitePath + "img/button/left_navi_s_01.gif", //ブログサイトoff … 8
	SitePath + "img/button/left_navi_s_01_on.gif", //on … 9
	SitePath + "img/button/left_navi_s_02.gif", //ショッピングサイト off … 10
	SitePath + "img/button/left_navi_s_02_on.gif", //on … 11
	SitePath + "img/button/left_navi_s_03.gif", //モバイルサイトoff … 12
	SitePath + "img/button/left_navi_s_03_on.gif", //on … 13
	SitePath + "img/button/left_navi_s_04.gif", //商品撮影・素材撮影off … 14
	SitePath + "img/button/left_navi_s_04_on.gif", //on … 15	
	
	SitePath + "img/button/lc_navi2_01.gif", //よくあるご質問off … 16
	SitePath + "img/button/lc_navi2_01_on.gif", //on … 17
	SitePath + "img/button/lc_navi2_02.gif", //制作理念off … 18
	SitePath + "img/button/lc_navi2_02_on.gif", //on … 19
	
	SitePath + "img/button/lc_contact.gif", //ご相談・お問合せoff … 20
	SitePath + "img/button/lc_contact_on.gif", //on … 21
	
	SitePath + "img/button/lc_banner_staffblog.gif", //スタッフブログoff … 22
	SitePath + "img/button/lc_banner_staffblog_on.gif", //on … 23
	
	SitePath + "img/button/cc_new.gif", //初めて・新しくoff … 24
	SitePath + "img/button/cc_new_on.gif", //on … 25
	SitePath + "img/button/cc_renewal.gif", //リニューアルoff … 26
	SitePath + "img/button/cc_renewal_on.gif", //on … 27
	
	SitePath + "img/button/cap_srss.gif", //RSSボタン off … 28
	SitePath + "img/button/cap_srss_on.gif", //on … 29
	
	SitePath + "img/button/contact.gif", //ご相談・お問合せボタン off … 30
	SitePath + "img/button/contact_on.gif", //on … 31
	
	// ▼左ナビ（サービス案内ページ）
	SitePath + "img/button/left_navi_01_b.gif", //ホームページ制作（サービス案内ページ）off … 32
	SitePath + "img/button/left_navi_01_b_on.gif", //on … 33
	
	// ▼お問合せ
	SitePath + "img/contact/b_kakunin.gif", //確認ボタンoff … 34
	SitePath + "img/contact/b_kakunin_on.gif", //on … 35
	
	// ▼サービス案内
	SitePath + "img/button/service_blog.gif", //ブログサイトoff … 36
	SitePath + "img/button/service_blog_on.gif", //on … 37
	SitePath + "img/button/service_ec.gif", //ショッピングサイトoff … 38
	SitePath + "img/button/service_ec_on.gif", //on … 39
	SitePath + "img/button/service_mob.gif", //モバイルサイトoff … 40
	SitePath + "img/button/service_mob_on.gif", //on … 41
	SitePath + "img/button/service_cam.gif", //撮影off … 42
	SitePath + "img/button/service_cam_on.gif", //on … 43
	
	// ▼左ナビ（ホームページ制作内訳）
	SitePath + "img/button/ln_ser_01.gif", //初めてoff … 44
	SitePath + "img/button/ln_ser_01_on.gif", //on … 45
	SitePath + "img/button/ln_ser_02.gif", //リニューアルoff … 46
	SitePath + "img/button/ln_ser_02_on.gif", //on … 47
	SitePath + "img/button/ln_ser2_01.gif", //ブログoff … 48
	SitePath + "img/button/ln_ser2_01_on.gif", //on … 49
	SitePath + "img/button/ln_ser2_02.gif", //ショッピングoff … 50
	SitePath + "img/button/ln_ser2_02_on.gif", //on … 51
	SitePath + "img/button/ln_ser2_03.gif", //モバイルoff … 52
	SitePath + "img/button/ln_ser2_03_on.gif", //on … 53
	SitePath + "img/button/ln_ser2_04.gif", //撮影off … 54
	SitePath + "img/button/ln_ser2_04_on.gif" //on … 55
	);

	ImgButton1 = new Array();
	for(i=0;i<IMGdata1.length;i++){
		ImgButton1[i] = new Image();
		ImgButton1[i].src = IMGdata1[i];
	}
}



// ?ロールオーバー
function Roll(ID,Num){
	document.images[ID].src= ImgButton1[Num].src;
}
function Roll2(ID,Num){
	document.images[ID].src= ImgButton2[Num].src;
}

