// This function called when your control is not installed. You can use this function for your installation process.
function installProcess(strType)
{

	// example code.
	if (strType.toLowerCase() == "applet")
	{
		noJavaCase.style.visibility = "visible";		// location.href = "ÀÚ¹Ù°¡ ¼³Ä¡µÇÁö ¾ÊÀº °æ¿ì.html";
	}
	else if (strType.toLowerCase() == "object")
		location.href = "xpsp2_autohelp/active_2.htm";
	else
		alert("incorrect type")
}

function checkInstall_sub(objInstall)
{
	var bHDNotInstalled = false;
	try {
		if (null == objInstall) {bHDNotInstalled = true;}
		else if (null == objInstall.object)
			bHDNotInstalled = true;
	} catch (HDNototInstalledE) {
		bHDNotInstalled = true;
	}

	if (bHDNotInstalled)		// if not installed 
	{
		try {
			if (null != noJavaCase)				// call install process. In case applet
				installProcess("applet");
		} catch (HDNotInstalledObject) {		// call install process. In case object
			installProcess("object");
		}
	}
}
