/* 汎用ウィンドウオープン */
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('https://www.gogo2.jp/step/gg2/contact.htm','cnt','toolbar=no,location=no,resizable=yes,status=no,scrollbars=yes,width=500,height=500,left=0,top=0');
	newwin.focus();
}

/* プライバシーポリシーオープン */
function privacyWin() {
    newwin =window.open('http://www.wc-a.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.wc-a.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();
}