// Roll Over ----------------------------------------------------------------------
function rollover(imgid, path) {
	if ( ! document.images ) return;
	document.images[imgid].src = path;
}
function rollout(imgid, path) {
	if ( ! document.images ) return;
	document.images[imgid].src = path;
}
// ---------------------------------------------------------------------------------
function open_wn_win(el) {
	var wn_win = window.open(el.href);
	wn_win.focus();
	return false;
}

function open_win_size(el, w, h) {
	var win = window.open(el.href, 'win', 'width=' + w + 'px,height=' + h + 'px,toolbar=yes,directories=no,resizable=yes,scrollbars=yes');
	win.focus();
	return false;
}

function open_benri_win(el) {
	var benri_win = window.open(el.href, 'bw', 'width=1040px,height=800px,toolbar=yes,directories=no,resizable=yes,scrollbars=yes');
	benri_win.focus();
	return false;
}

function open_advisor_win(el) {
	var advisor_win = window.open(el.href, 'aw', 'width=1024px,height=800px,toolbar=no,directories=no,resizable=yes,scrollbars=yes');
	advisor_win.focus();
	return false;
}

function open_tokutoku_win(el) {
	var url  = el.href;
	var size = url.substr(url.length-1,1);
	if ( 's' == size ) {
		var tokutoku_win = window.open(el.href, 'tw', 'width=500px,height=500px,toolbar=no,directories=no,resizable=yes,scrollbars=no');
	} else {
		var tokutoku_win = window.open(el.href, 'tw', 'width=1020px,height=800px,toolbar=no,directories=no,resizable=yes,scrollbars=yes');
	}
	tokutoku_win.focus();
	return false;
}
// ---------------------------------------------------------------------------------
function go_backnumber() {
	var fno = document.forms['frm_bn'].no.options[document.forms['frm_bn'].no.selectedIndex].value;
	location.href = ( 0 == fno ) ? '' : '?no=' + fno;
}
// ---------------------------------------------------------------------------------
