// Browser Detection
isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? true : false;
NS4 = (document.layers) ? true : false;
IEmac = ((document.all)&&(isMac)) ? true : false;
IE4plus = (document.all) ? true : false;
IE4 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 4.")!=-1)) ? true : false;
IE5 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 5.")!=-1)) ? true : false;
ver4 = (NS4 || IE4plus) ? true : false;
NS6 = (!document.layers) && (navigator.userAgent.indexOf('Netscape')!=-1)?true:false;

// UpdateForm
function UpdateForm(htmlStr,objId)
{
	if (IE4plus)
	{
		eval('document.all.'+objId+'.innerHTML = htmlStr;');
	}
	else if (NS4)
	{
		eval('document.'+objID+'.document.open();');
		eval('document.'+objID+'.document.write(htmlStr);');
		eval('document.'+objID+'.document.close();');
	}
	else if (NS6)
	{	
		document.getElementById(objID).innerHTML = htmlStr;
	}
}

