﻿/* Base Size */
function new_open(url) {
	newWin = window.open(url,'newWin','width=620,height=650,menubar=no,scrollable=no,resizable=yes,scrollbars=no');
	newWin.focus();
}
/* Large Size */
function new_openL(url) {
	newWin = window.open(url,'newWin','width=1000,height=650,menubar=no,scrollable=no,resizable=yes,scrollbars=yes');
	newWin.focus();
}

/* ヘア美容液のメカニズム */
function liquid_mecha(url) {
	newWin = window.open(url,'newWin','width=640,height=665,menubar=no,scrollable=no,resizable=yes,scrollbars=no');
	newWin.focus();
}

/* Style Chart */
function stylechart(url) {
	newWin = window.open(url,'stylechart','width=1000,height=680,menubar=no,toolbar=no,location=no,scrollable=no,resizable=yes,scrollbars=no,status=no');
	newWin.focus();
}

/* モテ髪選挙 */
function campOpen(path) {
	if ( path==1 ) {
		newWin = window.open('../sala-mote/index.html','salacampaign','width=1000,height=680,menubar=no,toolbar=no,location=no,scrollable=no,resizable=yes,scrollbars=no,status=no');
	}else {
		newWin = window.open('./sala-mote/index.html','salacampaign','width=1000,height=680,menubar=no,toolbar=no,location=no,scrollable=no,resizable=yes,scrollbars=no,status=no');
	}
	newWin.focus();
}

/* 3つの髪キャン */
function kamicamOpen(path) {
	if ( path==1 ) {
		newWin = window.open('../campaign/index.html','kamicam','width=1090,height=690,menubar=no,toolbar=no,location=no,scrollable=no,resizable=yes,scrollbars=no,status=no');
	}else {
		newWin = window.open('./campaign/index.html','kamicam','width=1090,height=690,menubar=no,toolbar=no,location=no,scrollable=no,resizable=yes,scrollbars=no,status=no');
	}
 	newWin.focus();
}
