// jQuery - Setting file

jQuery(document).ready(function($) {
	$('a[href^="http"], a.new').not('a[href^="http://'+ location.hostname +'"]').winOpen();
	$('#gNavi a img').rollover();
});


// ウインドウ開く
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

(function(a){a.GATracker=function(ga_code){var b=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");a.getScript(b+"google-analytics.com/ga.js",function(){var c=_gat._getTracker(ga_code);c._trackPageview()})};a.fn.winOpen=function(b){a(this).click(function(){if(b!=null){window.open(this.href,null,b)}else{window.open(this.href,null)}return false})};a.fn.rollover=function(b){b=(b!=null)?b:"_on";return this.not('[src*="'+b+'."]').each(function(){var c=a(this);var e=c.attr("src");var d=e.substr(0,e.lastIndexOf("."))+b+e.substring(e.lastIndexOf("."));a("<img>").attr("src",d);c.hover(function(){c.attr("src",d)},function(){c.attr("src",e)})})}})(jQuery);
