function winOpen(){ window.open("http://arise.work"); }
function winOpen2(url){ window.open(url,"","width=640,height=480,top=0,left=0"); }
function winCenter(){ //別窓の左と上の余白を求める var w = ( screen.width-640 ) / 2; var h = ( screen.height-480 ) / 2; //オプションパラメーターleftとtopに余白の値を指定 window.open("http://www.google.co.jp","","width=640,height=480" +",left="+w+",top="+h); }