 function fileUpload(type, module, file_count, callback) {
 	popupWindow("/visit2008service/common/fileUpload.do?method=select&Module=" + module + "&Type=" + type + "&file_count=" + file_count + "&callback=" + callback, 'fileupload', "");
 }

 
 function popupWindow(Url, windowName, scroll){
   if((scroll==null) || (scroll=="")){
	   scroll = "no";
   }

   //var win = window.open(Url,windowName,"toolbar=no,location=no,directory=no,status=no,menubar=no,scrollbars="+ scroll +",resizable=no,top=200,left=300,width="+ Width +",height="+ Height);
   //var win = window.open(Url, windowName, "toolbar=no, location=no");
   var win = window.open(Url, windowName, "status=no,toolbar=no,resizable=no,scrollbars="+scroll+",menubar=no, width=500, height=150, left=300, top=200"); 
   win.focus();
   //win.opener.self;
}


 function popupWindow_size(Url, windowName, width, height, scroll){
   if((scroll==null) || (scroll=="")){
	   scroll = "no";
   }

   //var win = window.open(Url,windowName,"toolbar=no,location=no,directory=no,status=no,menubar=no,scrollbars="+ scroll +",resizable=no,top=200,left=300,width="+ Width +",height="+ Height);
   //var win = window.open(Url, windowName, "toolbar=no, location=no");
   var win = window.open(Url, windowName, "status=no,toolbar=no,resizable=no,scrollbars="+scroll+",menubar=no, width=" + width + ", height=" + height + ", left=300, top=200"); 
   win.focus();
   //win.opener.self;
}



function print_article()
{
	var pop = window.open("/visit2008jp/article/print.jsp", "print", "toolbar=no,location=no,directory=no,scrollbars=yes,status=no,menubar=no,width=800,height=600");
}

function email_article(art_id)
{
	var pop = window.open("/visit2008jp/article/email.jsp?art_id=" + art_id, "email", "toolbar=no,location=no,directory=no,status=no,menubar=no,width=470,height=500");
}


