
function btnLogin( obj )
{
	if ( true == objForm.isSpace( obj.tfLoginEMail, "¾ÆÀÌµð¸¦ ÀÔ·ÂÇÏ¼¼¿ä." ) ) {
		objForm.initialize( obj.tfLoginEMail );
		return;
	}

	if ( true == objForm.isSpace( obj.tfLoginPWD, "ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇÏ¼¼¿ä." ) ) {
		objForm.initialize( obj.tfLoginPWD );	
		return;
	}
	
	var form = document.theForm;
	form.action = "../member/login.asp?returnURL=" + document.location.href;
	form.method = "post";
	form.submit();
}


function loginEnterkey( form ) 
{
	if ( event.keyCode==13 )
	{ 
		if ( true == objForm.isSpace( form.tfID, "¾ÆÀÌµð¸¦ ÀÔ·ÂÇÏ¼¼¿ä." ) ) {
			objForm.initialize( form.tfID );
			return;
		}
	
		if ( true == objForm.isSpace( form.tfPWD, "ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇÏ¼¼¿ä." ) ) {
			objForm.initialize( form.tfPWD );	
			return;
		}
			
		form.action = "../member/login.asp?returnURL=" + document.location.href;
		form.method = "post";
		form.submit();
	}	
}

/*
function btnDomainSearch( obj )
{
	if ( true == objForm.isSpace( obj.tfDomainQuery, "µµ¸ÞÀÎÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä" ) ) {
		objForm.initialize( obj.tfDomainQuery );
		return;
	}
	
	var strDomain			= obj.tfDomainQuery.value;
	var intTotalLength 		= obj.tfDomainQuery.value.length;
	var intKrDomainLength 	= 5;
	var intComDomainLength 	= 3;
	var domainType          = "";

	domainType =  strDomain.substring(intTotalLength-intKrDomainLength, intTotalLength )
	if ( domainType == "co.kr" ) {
		objEngine.whois( obj );
		return;	
	}	
		
	domainType =  strDomain.substring(intTotalLength-intComDomainLength, intTotalLength )		
	if ( domainType == "com" ) {
		objEngine.networksolutions( obj );	
		return;
	}
	
	domainType = strDomain.substring(intTotalLength-5, intTotalLength )
	if ( domainType != "co.kr" || domainType != "com" ) {
		objForm.showMSG( " ÇöÀç´Â co.kr°ú com¸¸ Á¶È¸°¡ °¡´ÉÇÕ´Ï´Ù. " );
		obj.tfDomainQuery.select();
		return;
	}
}


function btnBrand( obj )
{
	if ( true == objForm.isSpace( obj.tfBrandQuery, "»óÇ¥¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä" ) ) {
		objForm.initialize( obj.tfBrandQuery );
		return;
	}
	
	objEngine.brand( obj );
}

function btnEmpas( obj )
{
	if ( true == objForm.isSpace( obj.tfEmpasQuery, "°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä" ) ) {
		objForm.initialize( obj.tfEmpasQuery );
		return;
	}
	
	objEngine.empas( obj );
}
*/

if(document.images)
{

   z4on = new Image(27,27); z4on.src = "../images/common_image/help_icon_1_1.gif" ;
   z5on = new Image(27,27); z5on.src = "../images/common_image/help_icon_2_1.gif" ;
   z6on = new Image(27,27); z6on.src = "../images/common_image/help_icon_3_1.gif" ;
   z7on = new Image(27,27); z7on.src = "../images/common_image/help_icon_4_1.gif" ;
  
  
 
   z4off = new Image(27,27); z4off.src = "../images/common_image/help_icon_1.gif" ;
   z5off = new Image(27,27); z5off.src = "../images/common_image/help_icon_2.gif" ;
   z6off = new Image(27,27); z6off.src = "../images/common_image/help_icon_3.gif" ;
   z7off = new Image(27,27); z7off.src = "../images/common_image/help_icon_4.gif" ;

}
function flash(imageName,imageFile)
{
    if(!document.images)return;
    eval('document.images[imageName].src='+imageFile+'.src');
}

