
//초록대표도에서의 서지, 전문보기
//flag-Y:서지사항
//flag-N:전문보기	  
function applicationView(applNo,applCode,dockind,flag){ 
	var url = "";
	var address = "http://175.115.53.177:8080/FASTEZ/jsp/common/detailView/wholeSentence.jsp";
	
	if(flag == "N")
		url = address + "?applNo="+applNo+"&applCode="+applCode+"&dockind="+dockind+"&isBibliography="+flag;
	else url = "bibliographyPopup.do?applNo="+applNo+"&applCode="+applCode+"&dockind="+dockind+"&isBibliography="+flag;
	
	window.open(url,"bi"+applNo,"dependent = yes, status = no,toolbar = no, scrollbars = yes,resizeable= no, menubar = no, width = 1024, height = 650");
}
     
// 기본리스트에서의 서지, 전문보기
// flag-Y:서지사항
// flag-N:전문보기
function applicationView2(applNo,applCode,dockind,flag){
	
	var url = "";   
	var address = "http://175.115.53.177:8080/FASTEZ/jsp/common/detailView/wholeSentence.jsp";		
	
	if(flag == "N")
		url = address + "?applNo="+applNo+"&applCode="+applCode+"&dockind="+dockind+"&isBibliography="+flag;
	else url = "bibliographyPopup.do?applNo="+applNo+"&applCode="+applCode+"&dockind="+dockind+"&isBibliography="+flag;
	
	window.open(url,"bi"+applNo,"dependent = yes, status = no,toolbar = no, scrollbars = yes,resizeable= no, menubar = no, width = 1024, height = 650");
}

//국가별 출원현황
function freePatentFind(){
	var form = document.UIForm;
    form.applNo.value = applNo.length>0 ? applNo : "' '";	 
    form.action = "freePatentFind.do";            		
    form.method = "post";
	form.target = "freePatent";
	window.open('',"freePatent", "dependent = yes, status = no,toolbar = no, scrollbars = yes, resizeable= no, menubar = no, width = 1024, height = 650");
	form.submit();	
}  	

function excel()
{  	   
    var form = document.UIForm;
    form.pageType.value = "excel";   
	form.method = "post";    
    form.action = "patentListView_action.do";
    form.submit();
}

function email()
{
	var form = document.UIForm;
	var buff = form.applNo.value;
	window.open("sendMail.do?applNo="+buff,"sendMail","dependent = yes, status = no,toolbar = no, scrollbars = yes,resizeable= no, menubar = no, width = 800, height = 600");
}