
var CKFW_CLSID="clsid:27640517-0513-4d81-A61E-228DC51680F8";	

var CKFW_CODEBASE="/softforum/XecureWeb/CKFW.cab";	

var CKFW_VERSION="version=2,0,1,11";

var USING_CKFW = "1";

if (USING_CKFW == "1" && navigator.appName.indexOf("Microsoft")!=-1 && navigator.platform == "Win32" && navigator.appVersion.indexOf("4.")!=-1) 
{
			var Str="";

			Str+= '<object classid="' + CKFW_CLSID + '"';
			Str+= '\n\t codebase="' + CKFW_CODEBASE + '#' + CKFW_VERSION + '"';
			Str+= '\n\tvspace="0" hspace="0" width="0" id="CKFW" style="display:none;">';

			//*****************************************************************************************//
			// It can't be changed by user
			//*****************************************************************************************//
			Str+= '\n\t<param name="SecurityLevel" value="medium">';	//SecurityLevel - medium/high/low
			Str+= '\n\t<param name="Priority" value="user">';					//Priority - user/site
			//*****************************************************************************************//
			
      Str+= '\n\t<PARAM NAME="AV" VALUE="on">';									//whether use AntiVirus or not - on/off
      Str+= '\n\t<PARAM NAME="AVScanWhenStart" VALUE="on">';		// whether use real-scan when first loading - on/off
			Str+= '\n\t<param name="ProgressBarPolicy" value="2">';		//1 : always show UpdateBar
																																//2 : show UpdateBar when there is some update files (default)
																																//3 : always doesn't show UpdateBar
			
			// IP/PORT 에 대한 추가 (for 고객사)     
      Str+= '\n\t<PARAM NAME="RegIpPortLst" VALUE="1,25,25, , ,1,Simple Mail Transfer protocol,2;1,110,110, , ,1,Post Office Protocol - Version 3,2">';
			
			Str+= '\n</object>';
			
			document.write(Str);	
} 
else if (navigator.appName.indexOf("Netscape")!=-1) {
		USING_CKFW = "0";
		//alert("현재 고객님께서는 설치 불가능한 시스템을 사용하고 계십니다.\n\nCKFW를 사용하시려면 Windows 95이상 \n\nInternet Explorer 5.5이상이어야 합니다.");
}
