/*--------------------------------------------*/
// 外部HTML読み込み用JS
/*--------------------------------------------*/
function my_include(id, file) {
document.open();
document.write('<div id="' + id + '"></div>');
document.close();

var options = {};
options.method = "get";
options.asynchronous = false;
new Ajax.Updater(id, file, options);
}

/*--------------------------------------------*/
//　ロールオーバー
/*--------------------------------------------*/
function smartRollover() {
if(document.getElementsByTagName) {
var images = document.getElementsByTagName("img");

for(var i=0; i < images.length; i++) {
	if(images[i].getAttribute("src").match("_off."))
	{
		images[i].onmouseover = function() {
			this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on."));
		}
		images[i].onmouseout = function() {
			this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off."));
		}
	}
}
}
}

if(window.addEventListener) {
	window.addEventListener("load", smartRollover, false);
}
else if(window.attachEvent) {
	window.attachEvent("onload", smartRollover);
}


// 別ウィン（メニューバーあり）
function openWin(myLink,wNo){
	var winNo;winNo="mLink"+wNo;
	var scriptmLink=window.open(myLink,winNo,"top=0,left=0,location=no,menubar=yes,status=no,titlebar=no,toolbar=no,resizable=yes,scrollbars=yes,width=640px");
	}

// 別ウィン（メニューバーなし）
function openWin2(myLink,wNo){
	var winNo;winNo="mLink"+wNo;
	var scriptmLink=window.open(myLink,winNo,"top=0,left=0,location=no,menubar=no,status=no,titlebar=no,toolbar=no,resizable=yes,scrollbars=yes,width=640px");
	}

// 別ウィン（s-winもくじ）
function openWin3(myLink,wNo){
	var winNo;winNo="mLink"+wNo;
	var scriptmLink=window.open(myLink,winNo,"top=0,left=0,location=no,menubar=no,status=no,titlebar=no,toolbar=no,resizable=yes,scrollbars=yes,width=500px");
	}


/*--------------------------------------------*/
//　li ストライプ使用
/*--------------------------------------------*/
function(){  
	('.stripe li:odd').addClass('odd');
	('.stripe li:even').addClass('even');
	}




