/* 汎用ウィンドウオープン */
function openWin(url,name,property) {
	newwin =window.open(url,name,property);
	newwin.focus();
}

/* 各校オープン（for StepEngine） */
function comWin(url) {
	newwin =window.open(url,'com','toolbar=no,location=no,resizable=yes,status=no,scrollbars=yes,width=751,height=600,left=0,top=0');
	newwin.focus();
}

/* ブックマーク */
function bookmark(url,title) {
	if(navigator.userAgent.indexOf("MSIE") > -1){
		window.external.AddFavorite('http://www.gogo2.jp/','ゴーゴー！通信制高校');
	} else if(navigator.userAgent.indexOf("Firefox") > -1){
		window.sidebar.addPanel('ゴーゴー！通信制高校','http://www.gogo2.jp/','');
	}
}

/* ご意見＆ご質問オープン */
function cntWin() {
	newwin =window.open('http://help.zubat.net/tsushin-highschool/','cnt','');
	newwin.focus();
}

/* プライバシーポリシーオープン */
function privacyWin() {
    newwin =window.open('http://www.webcrew.co.jp/info/privacy_pop.html','privacy','toolbar=no,location=no,resizable=yes,status=no,scrollbars=yes,width=500,height=500,left=0,top=0');
    newwin.focus();
}

/* 利用規約 */
function termWin() {
	newwin =window.open('http://www.webcrew.co.jp/info/terms_pop.html','terms','toolbar=no,location=no,resizable=yes,status=no,scrollbars=yes,width=520,height=500,left=0,top=0');
	newwin.focus();
}

/* 会員規約 */
function memberWin() {
	newwin =window.open('http://www.webcrew.co.jp/info/member_pop.html','member','toolbar=no,location=no,resizable=yes,status=no,scrollbars=yes,width=500,height=500,left=0,top=0');
	newwin.focus();
}

/* ブラウザオープン */
function brwsWin(url) {
	newwin =window.open(url,'exp','toolbar=no,location=no,resizable=yes,status=no,scrollbars=yes,width=550,height=400,left=0,top=0');
	newwin.focus();
}

//郵便番号逆引き
function showZipRev(from) {
    window.open('/common/zip_reverse/index.html?from=' + from,'_blank','width=430,height=640,statusbar=no,menubar=no,resizable=yes');
}


//inputタグのロールオーバ
/* window.onload = function() {
	//【TOP】テキストフィールドをフォーカス
	if(document.body.className == "aaa"){
		document.forms[0].answer_Q_zip_A_1.focus();
	}
} */
