
//ÇÃ·¡½Ã¸¦ »ðÀÔÇÏ´Â ½ºÅ©¸³Æ®.
function flash(c,d,e) {
 var flash_tag = "";
 flash_tag = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
 flash_tag +='codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ';
 flash_tag +='WIDTH="'+c+'" HEIGHT="'+d+'" >';
 flash_tag +='<param name="movie" value="'+e+'">';
 flash_tag +='<param name="quality" value="high">';
 flash_tag +='<param name="wmode" value="transparent">';
 flash_tag +='<embed src="'+e+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
 flash_tag +='type="application/x-shockwave-flash"  WIDTH="'+c+'" HEIGHT="'+d+'" wmode="transparent"></embed></object>'

 document.write(flash_tag);

}


//png¸¦ Åõ¸íÇÏ°Ô ÇÏ´Â ½ºÅ©¸³Æ®
function setPng24(obj) { 
  obj.width=obj.height=1; 
  obj.className=obj.className.replace(/\bpng24\b/i,''); 
  obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');" 
  obj.src='';  
  return ''; 
}


function init() {
 

BaseClientheight = document.body.clientHeight-40;//»ç¿ëÀÚº¸¿©Áö´ÂÈ­¸é¿µ¿ª ¿¡¼­ div³ôÀÌ »«³ôÀÌ
 document.all.content.style.pixelTop = document.body.scrollTop + document.body.scrollTop+BaseClientheight //ÃÊ±â À§Ä¡ Àâ±â 
  if(document.layers) { // IE°¡ ¾Æ´Ò¶§ ÀÌºÎºÐÀº Ä¿½ºÅÍ¸¶ÀÌÂ¡ÀÌ ÇÊ¿äÇÔ.
    document.content.top = window.pageYOffset 
    setTimeout("init()", 111);
  }
  else if(document.all) 
    window.onscroll = new Function("document.all.content.style.pixelTop = document.body.scrollTop+BaseClientheight");  
 
}

// ÀÌ¸ÞÀÏ Ã¼Å© 
function CheckMail(strMail) { 
   /** Ã¼Å©»çÇ× 
     - @°¡ 2°³ÀÌ»óÀÏ °æ¿ì 
     - .ÀÌ ºÙ¾î¼­ ³ª¿À´Â °æ¿ì 
     -  @.³ª  .@ÀÌ Á¸ÀçÇÏ´Â °æ¿ì 
     - ¸ÇÃ³À½ÀÌ.ÀÎ °æ¿ì 
     - @ÀÌÀü¿¡ ÇÏ³ªÀÌ»óÀÇ ¹®ÀÚ°¡ ÀÖ¾î¾ß ÇÔ 
     - @°¡ ÇÏ³ªÀÖ¾î¾ß ÇÔ 
     - Domain¸í¿¡ .ÀÌ ÇÏ³ª ÀÌ»ó ÀÖ¾î¾ß ÇÔ 
     - Domain¸íÀÇ ¸¶Áö¸· ¹®ÀÚ´Â ¿µ¹®ÀÚ 2~4°³ÀÌ¾î¾ß ÇÔ **/ 

    var check1 = /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/;  

    var check2 = /^[a-zA-Z0-9\-\.\_]+\@[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4})$/; 
     
    if ( !check1.test(strMail) && check2.test(strMail) ) { 
        return true; 
    } else { 
        return false; 
    } 
} 
