// JavaScript Document

function popWin()
{
   var p=popWin.arguments;//　引数の配列オブジェクトをｐに代入
   var n=p.length;//　引数の数を取得
   if(n==1){window.open(p[0]);}
   if(n==3){window.open(p[0],"","width="+p[1]+",height="+p[2]);}
   if(n==5){window.open(p[0],"","width="+p[1]+",height="+p[2]+",left="+p[3]+",top="+p[4]);}
   if(n==6){window.open(p[0],"","width="+p[1]+",height="+p[2]+",left="+p[3]+",top="+p[4]+","+p[5]);}
}