function newopen(url,id,scr,sta,res,fulls,width,height,name){
	var url_value=url+id;
	nopen=window.open(url_value,name,'scrollbars='+scr+',status='+sta+',resizable='+res+',fullscreen='+fulls+',width='+width+',height='+height+',left=0,top=0');
}

function go_category(form){
	document.search_form.cate_no.value=form.change_category.value;
	document.search_form.cate_noU.value=form.change_categoryU.value;
	document.search_form.submit();
	return true;
}

function image_open(url){
	newopen=window.open(url,'','scrollbars=no,resizable=yes,width=600,height=600,left=10,top=10');
}

function selectSample(idName)
{
	var doc = document.body.createTextRange();
	doc.moveToElementText(document.all(idName));
	doc.select();
	doc.execCommand("Copy");
}

/********************************************************************
** ÀÌ¹ÌÁö »çÀÌÁî Á¶ÀýÇÔ¼ö
********************************************************************/
function image_open(img){ 
            foto1= new Image(); 
            foto1.src=(img); 
            contImg(img); 
} 
function contImg(img){ 
            if((foto1.width!=0)&&(foto1.height!=0)){ 
                        viewImg(img); 
            }
            else{ 
                        funzione="contImg('"+img+"')"; 
                        intervallo=setTimeout(funzione,20); 
            } 
} 
function viewImg(img){
            var sv="no";
            var imgW=foto1.width; 
            var imgH=foto1.height; 
            if(imgW>screen.width-10){imgW=screen.width-10;sv="yes";}
            if(imgH>screen.height-30){imgH=screen.height-30;sv="yes";}
            stringa="scrollbars="+sv+",resizable=yes,width="+imgW+",height="+imgH+",left=0,top=0"; 
            finestra=window.open("execute/image.asp?image="+img,"",stringa); 
}
/********************************************************************/

