function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}


function MoveOpen(url,ld,td,w,h,s) {

			var heightspeed = 14; //¸®»çÀÌÁî ¼¼·Î ¼Óµµ
			var widthspeed = 15; //¸®»çÀÌÁî °¡·Î ¼Óµµ
			var leftdist = ld;
			var topdist = td;

			var winwidth = w;
			var winheight = h;
			var sizer = window.open("","","left=" + leftdist + ",top=" + topdist + ",width=1,height=1,scrollbars=" + s );
			
			for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed) {
			sizer.resizeTo("1", sizeheight);
			}
			
			for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed) {
			sizer.resizeTo(sizewidth, sizeheight);
			}
			
			sizer.location = url;
		}	


 var cnj_img_view = null; 
             function cnj_win_view(img){
             img_conf1= new Image();
             img_conf1.src=(img);
             cnj_view_conf(img);
             }

             function cnj_view_conf(img){
             if((img_conf1.width!=0)&&(img_conf1.height!=0)){
             cnj_view_img(img);
             } else {
             funzione="cnj_view_conf('"+img+"')";
             intervallo=setTimeout(funzione,20);
             }
             }

             function cnj_view_img(img){
               if(cnj_img_view != null) {
                 if(!cnj_img_view.closed) { cnj_img_view.close(); }
                 }
             cnj_width=img_conf1.width+20;
             cnj_height=img_conf1.height+20;
             str_img="width="+cnj_width+",height="+cnj_height;
             cnj_img_view=window.open(img,"cnj_img_open",str_img);
             cnj_img_view.focus();
             return;
             }
