//Flash
function writeFlash( swf , width , height )
{
	var sourcehtml = ""
	htm+="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'"
	htm+=" codebase='http://download.macromedia.com/pub/shockwave/"
	htm+="cabs/flash/swflash.cab'"
	htm+=" width = " + width
	htm+=" height = " + height + ">"
	htm+="<param name = movie value=" + swf + ">"
	htm+="<param name = quality value=high>"
	htm+="<param name = scale value=noscale>"
	htm+="<param name = wmode value=transparent>"
	htm+="<embed src = " + swf + " "
	htm+=" quality = high "
	htm+=" width = "+ width
	htm+=" height = " + height
	htm+=" scale = noscale"
	htm+=" wmode = transparent"
	htm+=" type = 'application/x-shockwave-flash' "
	htm+=" pluginspage='http://www.macromedia.com/go/getflashplayer'>"
	htm+="</embed>"
	htm+="</object>"
	document.write(sourcehtml)
}


//jQuery　初期設定
$(document).ready(function() {
	//ロールオーバーの処理
	var image_cache = new Object();  
	$(".hover a img,a.hover img").not("[@src*='_on.']").each(function(i) {  
		var imgsrc = this.src;  
		var dot = this.src.lastIndexOf('.');  
		var imgsrc_on = this.src.substr(0, dot) + '_on' + this.src.substr(dot, 4);  
		image_cache[this.src] = new Image();  
		image_cache[this.src].src = imgsrc_on;  
		$(this).hover(  
			function() { this.src = imgsrc_on; },  
			function() { this.src = imgsrc; }  
		);  
	});

	//jQueryの基本機能
	$("#gNavi li:first,#footer li:first").addClass("first");
	$("#gNavi li:last,#footer li:last").addClass("last");
	$("ul.stripe li:even,table.stripe tr:even").addClass("even");
	
	//jQueryプラグイン設定
	
});


