/*------------------------------------------------------------------------------
	BEST BRASS Corp js_conf.js (configuration of javascript)
	URL: http://www.bestbrass.jp/
	Date: 2009-00-00
	Copyright (C) Best Brass Corp All Rights Reserved.
------------------------------------------------------------------------------*/

//ポップアップブロック回避用
var external = "";
if (window.navigator && navigator.userAgent && navigator.userAgent.indexOf("Gecko/") != -1){
	window.isGecko = true;
}
if (window.isGecko || window.ActiveXObject) {
	external = "true";
}



//treeviewの設定
$(document).ready(function(){
	$("#filetree1").treeview({//ターゲットとなる要素に付加するID
		animated: "fast", //アニメーション設定（削除するとアニメ無し）	
		collapsed: true,  //開閉設定（削除するとロード時にメニューを全開）
//		unique: true, //動作設定（削除すると自動的に閉じなくなる）
		persist: "cookie", //Cookie
	}); 
}); 
//treeviewの設定
$(document).ready(function(){
	$("#filetree2").treeview({//ターゲットとなる要素に付加するID
		animated: "fast", //アニメーション設定（削除するとアニメ無し）	
		collapsed: true,  //開閉設定（削除するとロード時にメニューを全開）
//		unique: true, //動作設定（削除すると自動的に閉じなくなる）
		persist: "cookie", //Cookie
	}); 
}); 

//treeviewの設定
$(document).ready(function(){
	$("#filetree3").treeview({//ターゲットとなる要素に付加するID
		animated: "fast", //アニメーション設定（削除するとアニメ無し）	
		collapsed: true,  //開閉設定（削除するとロード時にメニューを全開）
//		unique: true, //動作設定（削除すると自動的に閉じなくなる）
		persist: "cookie", //Cookie
	}); 
}); 



//treeviewの設定（サイトマップ）
$(document).ready(function(){
	$("#sitemap_tree1").treeview({//ターゲットとなる要素に付加するID
		animated: "fast", //アニメーション設定（削除するとアニメ無し）	
//		collapsed: true,  //開閉設定（削除するとロード時にメニューを全開）
//		unique: true, //動作設定（削除すると自動的に閉じなくなる）
		persist: "cookie", //Cookie
	}); 
}); 
//treeviewの設定（サイトマップ）
$(document).ready(function(){
	$("#sitemap_tree2").treeview({//ターゲットとなる要素に付加するID
		animated: "fast", //アニメーション設定（削除するとアニメ無し）	
//		collapsed: true,  //開閉設定（削除するとロード時にメニューを全開）
//		unique: true, //動作設定（削除すると自動的に閉じなくなる）
		persist: "cookie", //Cookie
	}); 
}); 
//treeviewの設定（サイトマップ）
$(document).ready(function(){
	$("#sitemap_tree3").treeview({//ターゲットとなる要素に付加するID
		animated: "fast", //アニメーション設定（削除するとアニメ無し）	
//		collapsed: true,  //開閉設定（削除するとロード時にメニューを全開）
//		unique: true, //動作設定（削除すると自動的に閉じなくなる）
		persist: "cookie", //Cookie
	}); 
}); 
//treeviewの設定（サイトマップ）
$(document).ready(function(){
	$("#sitemap_tree4").treeview({//ターゲットとなる要素に付加するID
		animated: "fast", //アニメーション設定（削除するとアニメ無し）	
//		collapsed: true,  //開閉設定（削除するとロード時にメニューを全開）
//		unique: true, //動作設定（削除すると自動的に閉じなくなる）
		persist: "cookie", //Cookie
	}); 
}); 

//マウスオーバーフェード img.jquery-hover (<img class="jquery-hover" >で)
$(document).ready(function(){
	$("img.jquery-hover").fadeTo(0,0.8);$("img.jquery-hover").hover(function(){
		$(this).fadeTo(100,1.0);
	},    
	function(){
		$(this).fadeTo(100,0.8);    
	});
});

//マウスオーバーフェード トランペットページdiv.tp_s_h_stamp img適用
$(document).ready(function(){
	$("div.tp_s_h_stamp img[src$='jpg']").fadeTo(0,0.8);$("div.tp_s_h_stamp img[src$='jpg']").hover(function(){
		$(this).fadeTo(100,1.0);
	},    
	function(){
		$(this).fadeTo(100,0.8);    
	});
});

//マウスオーバーフェード トランペットページdiv.tp_l_u img適用
$(document).ready(function(){
	$("div.tp_l_u img[src$='jpg']").fadeTo(0,0.8);$("div.tp_l_u img[src$='jpg']").hover(function(){
		$(this).fadeTo(100,1.0);
	},    
	function(){
		$(this).fadeTo(100,0.8);    
	});
});



//イメージスイッチ(STFページ)
$(document).ready(function(){ 
    $("div#trig_1 a").click(function(){ 

        $("#img_sw_1").ImageSwitch({Type:$(this).attr("class"), 

            NewImage:$(this).attr("rel")

        }); 
    }); 
});


//イメージスイッチ(STFページ)
$(document).ready(function(){ 
    $("div#trig_1 a").click(function(){ 

        $("#img_sw_1").ImageSwitch({Type:$(this).attr("class"), 

            NewImage:$(this).attr("rel")

        }); 
    }); 
});

//イメージスイッチ(STFページ)
$(document).ready(function(){ 
    $("div#trig_2 a").click(function(){ 

        $("#img_sw_2").ImageSwitch({Type:$(this).attr("class"), 

            NewImage:$(this).attr("rel")

            }); 
    }); 
});
//イメージスイッチ(STFページ)
$(document).ready(function(){ 
    $("div#trig_3 a").click(function(){ 

        $("#img_sw_3").ImageSwitch({Type:$(this).attr("class"), 

            NewImage:$(this).attr("rel")

            }); 
    }); 
});
//イメージスイッチ(STFページ)
$(document).ready(function(){ 
    $("div#trig_4 a").click(function(){ 

        $("#img_sw_4").ImageSwitch({Type:$(this).attr("class"), 

            NewImage:$(this).attr("rel")

            }); 
    }); 
});
//イメージスイッチ(STFページ)
$(document).ready(function(){ 
    $("div#trig_5 a").click(function(){ 

        $("#img_sw_5").ImageSwitch({Type:$(this).attr("class"), 

            NewImage:$(this).attr("rel")

            }); 
    }); 
});
//イメージスイッチ(STFページ)
$(document).ready(function(){ 
    $("div#trig_6 a").click(function(){ 

        $("#img_sw_6").ImageSwitch({Type:$(this).attr("class"), 

            NewImage:$(this).attr("rel")

            }); 
    }); 
});

