function toiawase(h){
	newWin=window.open(h,"","width=650,height=400,left=0,top=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,titlebar=1,channelmode=0")
}

function gaps(h){
	newWin=window.open(h,"","width=670,height=590,left=0,top=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,titlebar=1,channelmode=0")
}

function toiawase_e(h){
	newWin=window.open(h,"","width=650,height=450,left=0,top=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,titlebar=1,channelmode=0")
}


  // ポップアップウインドウ表示

function m_win(url,windowname,width,height) {
 var features="location=no, menubar=no, status=yes, scrollbars=no, resizable=no, toolbar=no";
 if (width) {
  if (window.screen.width > width)
   features+=", left="+(window.screen.width-width)/2;
  else width=window.screen.width;
  features+=", width="+width;
 }
 if (height) {
  if (window.screen.height > height)
   features+=", top="+(window.screen.height-height)/2;
  else height=window.screen.height;
  features+=", height="+height;
 }
 window.open(url,windowname,features);
} 
