// JavaScript Document
// ウィンドウオープン
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// 文字サイズ変更
var Default = 2;
var tags = new Array('div','td','tr');
var sizing = new Array('xx-small','x-small','small','medium','large','x-large','xx-large');

function FontChange(target,tarF){
	if (!document.getElementById) return
	var dore = document,tarS = null,fontSize = Default,value,su,cTags;
	if (tarF == 0) {
		fontSize = 2;
	}else{
		fontSize += tarF;
	}
	if (fontSize < 0) fontSize = 0;
	if (fontSize > 6) fontSize = 6;
	Default = fontSize;
	if (!(tarS = dore.getElementById(target))) tarS = dore.getElementsByTagName(target)[0];
	tarS.style.fontSize = sizing[fontSize];
	for (value = 0 ; value < tags.length ; value++) {
		cTags = tarS.getElementsByTagName(tags[value]);
		for (su = 0 ; su < cTags.length ; su++) cTags[su].style.fontSize = sizing[fontSize];
	}
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
