function pa(webhost,sno,u1)  //display document Docket
{	if(sno!='')xx=window.open(webhost+'/pop/researchDocket.asp?sno='+sno+'&u1='+u1,'','menubar=no,width=518,height=500,scrollbars=yes,resizable=yes')
}

function da(webhost,sno,u1,searchstring)  //display document Content
{	if(sno==''){alert('\n若是會員，請先進行會員登錄\n\n若非會員請\n --進行入會申請   或\n --申請免費試閱\n\n If you are a member, \n please login as a member. \n If you are not yet a member, \n please fill out the membership application \n form or apply for a free trial account.\n');}
	else
	{	if(sno!='')xx=window.open(webhost+'/pop/researchDisplay.asp?sno='+sno+'&u1='+u1+'&searchstring='+searchstring,'','width=700,height=600,menubar=no,scrollbars=yes,resizable=yes')
	}
}
function fa1(obj)  //download document
{today= new Date();
if(obj!='')xx=window.open('/pop/researchDownLoad.asp?sno='+obj,'','menubar=no,width=10,height=10')
}


function fa2(obj)  //download document版權說明視窗的出現處
{	var CopyRight="-智財權聲明-"
					+"\n1.請勿轉寄或轉載所下載之研究報告!"
					+"\n2.文件檔案不可複製於公司內部伺服器,並透過內部INTRANET機制分享!"
					+"\n3.MIC授權會員於內部流通使用,外部引用發表需取得授權同意書!"
					+"\n4.非授權之合法使用者,請勿使用其它公司帳號密碼登錄!";
	var temp=confirm(CopyRight);
	if(temp==true)
	{
		today= new Date();
		if(obj!='')	xx=window.open('/pop/researchDownLoad.asp?sno='+obj,'','menubar=no,width=10,height=10')
	}
}

function fa(obj,obj1,obj2,obj3,obj4)  //download document
{	if(obj1!='') 
	//xx=window.open(obj+'/reports/copyrightmsg.asp?docid='+obj1,'copyrightmsg','toolbar=1,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=0,width=450,height=250')
	xx=window.open(obj+'intelligence/reports/researchDownLoad.asp?docid='+obj1,'copyrightmsg','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=450,height=250')	
	//由researchdownload1.asp轉至aispreport/researchdownload.asp
	//xx=window.open(obj+'intelligence/reports/researchDownLoad1.asp?docid='+obj1+'&cate='+obj4+'&sesd='+obj2+'&tt='+obj3,'copyrightmsg','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=450,height=250')	
}
//add by lyw for itdb
function fa_itdb(obj,obj1)  //download document
{	if(obj1!='') 
	//xx=window.open(obj+'/reports/copyrightmsg.asp?docid='+obj1,'copyrightmsg','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=450,height=250')
	xx=window.open(obj+'/reports/researchDownLoad_itdb.asp?docid='+obj1,'copyrightmsg','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=450,height=250')	
}

function commend(obj)  //recommend document
{today=new Date();
	if(obj!=''){location.href='researchCommend.asp?sno='+obj+'&t='+today.getTime();}
}

function chkSearch(obj){document.MicWeb.submit();}

function da_spdo(webhost,sno,spdoctysno,searchstring)  //display document Content
{	if(sno!='')
		xx=window.open(webhost+'/pop/researchDisplay_spdo.asp?sno='+sno+'&spdoctysno='+spdoctysno+'&searchstring='+searchstring,'','width=700,height=600,menubar=no,scrollbars=yes,resizable=yes')
	
}
