



//■指定したフォームパーツが存在すれば、フォーカスを移す
function my_focus(form_name, obj_name) {
	for( i = 0; document[i]; i++ ) {
		if( document[i].name == form_name ) {
			for( j = 0; document[i][j]; j++ ) {
				if( document[i][j].name == obj_name ) {
					document[i][j].focus();
					return;
				}
			}
		}
	}
	return;
}

//■読むカフェBlog用
function cblog_what_open() {
	window.open('../static/cblog-what.html','popup','width=500,height=370,scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0');
	return;
}

//■別ウィンドウ
function my_open(url, width, height) {
	if( width  == null ) width  = 500;
	if( height == null ) height = 370;
	window.open(url,'popup','width=' + width + ',height=' + height + ',scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0');
	return;
}



