function bluring(){ 
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") 

document.body.focus(); 
} 
document.onfocusin=bluring; 

function isFieldBlank (t)	
{
	if (t.length == 0)
		return true;
	else
		return false;
}

function loginChk(form) 
{
			
	if (isFieldBlank(document.frm.id.value)) 
	{
		alert("ID¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		document.frm.id.focus();
		return false;
	}
	if (isFieldBlank(document.frm.pass.value)) 
	{
		alert("PassWord¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		document.frm.pass.focus();
		return false;
	}
	return true;
}
function go_ContratChk()
{
	if(document.frm.ContractChk.checked != true)
	{
		alert("¾à°ü¿¡ µ¿ÀÇÇÏ¼Å¾ß ´ÙÀ½´Ü°è·Î ÁøÇàÇÒ ¼ö ÀÖ½À´Ï´Ù.");
		return false;
	}
		alert("¾à°ü¿¡ µ¿ÀÇÇØ ÁÖ¼Å¼­ °¨»çÇÕ´Ï´Ù.");
		return true;
		//location.href="../member/join_JuminChk.asp";
}
function go_AsProduct(dm_serial, dmp_product, dmp_productSerial)
{
	//alert ("MemberProductDel.asp?dm_serial="+dm_serial+"&dmp_product="+dmp_product+"&dmp_productSerial="+dmp_productSerial+"&inputType="+inputType);
	targetPage = "/callcenter/repair.asp?dm_serial="+dm_serial+"&dmp_product="+dmp_product+"&dmp_productSerial="+dmp_productSerial;
	window.open(targetPage, '', 'width=640, height=640, scrollbars=yes, resizable=yes')
}

function _ws_(id) 
{ 
        var _object = id.innerHTML; 
        _object = _object.replace("<!--", ""); 
        _object = _object.replace("-->" , ""); 
        document.write(_object); id.id=""; 
}