/*
###########################################################################
# ÇÁ·Î±×·¥ID : 
# ÇÁ·Î±×·¥¸í : 
# ÀÛ¾÷ÀÚ : 
###########################################################################
*/


/* ÆäÀÌÁö ÀÌµ¿ */
function go_page_move(httpd) {
   location.href = httpd;
}

function OpenWindow(url,intWidth,intHeight) {
      window.open(url, "_blank", "width="+intWidth+",height="+intHeight+",resizable=0,scrollbars=1") ;
}


/* * * * * * * * * * * * *
 input ÀÌ¹ÌÁöÅ¸ÀÔ border ¾ø¾Ö±â
 * * * * * * * * * * * * */

function inputType_noBorder()
{
	// border ¾ø¾Ù type
	var notBorderType = ['checkbox', 'radio', 'image'];

	inputObj = document.body.all.tags("INPUT");
	inputLen = inputObj.length;
	for(i=0; i<inputLen; i++)
	{
		notBorderTypeCnt = notBorderType.length;
		for(j=0; j<notBorderTypeCnt; j++)
		{
			if(inputObj[i].type != notBorderType[j]) continue;
			inputObj[i].style.border = 0;
		}
	}
}


// ÇÃ·¡½Ã ÇÔ¼ö
function flash(w,h,u,t) {
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+w+"' height='"+h+"'><param name='movie' value='"+u+"'><param name='quality' value='high'>");
	if(t=="y"){
		document.write("<param name='wmode' value='transparent'>");
	}
	document.write("<embed src='"+u+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+w+"' height='"+h+"'></embed></object>");	
}
function flash_add(w,h,u,t,nm,vr) {
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' id='"+nm+"' name='"+nm+"' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+w+"' height='"+h+"'><param name='movie' value='"+u+"'><param name='quality' value='high'>");
	if(t=="y"){
		document.write("<param name='wmode' value='transparent'>");
	}
	if(vr) {
		document.write("<param name='FlashVars' value='"+vr+"'>");
	}
	document.write("<embed src='"+u+"' id='"+nm+"' name='"+nm+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+w+"' height='"+h+"'></embed></object>");	
}

/********************************************************************************
  WindowÀ» ¶ç¿î´Ù.(scroll bar ¾øÀ½)+
*********************************************************************************/
function js_open(file_name, win_name, size_widt, size_heig)
{
	vtop    = (screen.height - 60 - size_heig) / 2;
    vleft   = (screen.width -  size_widt) / 2 ;

    // Ã¢À§Ä¡ Á¶ÀýÇÏ´Â ·ÎÁ÷ ³¡
    var str = 'menubar=0,resizable=0,toolbar=0,location=0,status=0,scrollbars=0,top='+vtop+',left='+vleft+',width=' + size_widt + ',height=' + size_heig;
    var win = null;

    win = window.open(file_name, win_name, str);
    win.focus();
}

function openwinidpw()
{
	window.open("/mail/idpw_search1.asp","¾ÆÀÌµðºñ¹Ð¹øÈ£Ã£±â","toolbar=no,menubar=no,scrollbar=no,resizable=no,left=300,top=200,width=470,height=430").focus();
}

function imgResize(img) { 
    if(img.width > 600) { 
        img.width = 600; 
    } 
}

