﻿/* 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 event_open(url) {
  eventWin = window.open(url,'eventWin','width=1000,height=1500,menubar=no,scrollable=yes,resizable=yes,scrollbars=yes');
  eventWin.focus();
}

/* メカニズム */
function mecha_open(url) {
  newWin = window.open(url,'mechaWin','width=600,height=665,menubar=no,scrollable=no,resizable=yes,scrollbars=no');
  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();
}
