/* ˾  */
///////////////////////////////////////////////
function view_detail( filename,width,height ) 
{
        window.open(filename ,'','width='+width+',height='+height+',resizable=no,scrollbars=yes,left=100,top=100'); 
}
///////////////////////////////////////////////

/* ̹˾  */
///////////////////////////////////////////////
function view_detail_img( filename,width,height ) 
{
        window.open('../css/view_detail.php?image=' + filename ,'','width='+width+',height='+height+',resizable=no,left=50,top=50'); 
}
/////////////////////////////////////////////////
/* 
view_detall.php κ
<script language="javascript">

function notice_closeWin() 
{ 
   self.close();
} 
</script>
<head>
<title>  ̹ </title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<center><a href="#" onclick="notice_closeWin()"><img src="<?=$image?>" border=0 alt="̹ Ŭϸ â ϴ."></a></center>
</body>
=/


/* 
view_detall.asp κ
<script language="javascript">

function notice_closeWin() 
{ 
   self.close();
} 
</script>
<head>
<title>  ̹ </title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<center><a href="#" onclick="notice_closeWin()"><img src="<%=image%>" border=0 alt="̹ Ŭϸ â ϴ."></a></center>
</body>
=/

/* ¥˾    onload="view_detail_php()" */ 
///////////////////////////////////////////////
function view_detail_pop( filename,width,height) 
{
        window.open('../css/view_detail_pop.asp?image=' + filename ,'','width='+width+',height='+height+',resizable=no,left=0,top=0'); //ϴ ⺻ 30px
}
/////////////////////////////////////////////////

/*
ũƮ 
<script>
	window.onload=function(){
		view_detail_pop("../images/main/main_link01.jpg",500,500);
	}
</script>




Ϸ翭 ʴ ũƮ view_detall_pop.asp

<html>
<head>
<title>ȯմϴ.</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
<script language="JavaScript"> 
<!-- JavaScript 
function notice_setCookie( name, value, expiredays ) 
    { 
        var todayDate = new Date(); 
        todayDate.setDate( todayDate.getDate() + expiredays ); 
        document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" 
        } 


function notice_closeWin() 
{ 
        if ( document.forms[0].Notice.checked ) 
                notice_setCookie( "Notice", "done" , 1); // 1=Ϸ â   
		opener.window.location.href="../customer/customer02.asp"
        self.close(); 
} 

function notice_close() 
{ 
        if ( document.forms[0].Notice.checked ) 
                notice_setCookie( "Notice", "done" , 1); // 1=Ϸ â   
        self.close(); 
} 
-->
</script>
</head>
<% 
image2		= Trim(Request("image"))
%>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="400" border="0" cellspacing="0" cellpadding="0" height="400">
	<tr>
		<td><img src="<%=image2%>" border="0" usemap="#Map" ></td>
  </tr>	
	<tr align="center" bgcolor="73BC10"> 
	    
		<td height="25" valign="bottom" bgcolor="#006666"> 
		<form name="form1">
			<table border="0" cellspacing="0" cellpadding="0" height="14">
				<tr>
				  <td height="5" colspan="2" align="right"></td>
			  </tr>
				<tr> 
					<td width="196" align="right"> <p style="font-size:12px">	<input type="checkbox" name="Notice"><span class="style1"> â ٽ  </span></td>
					<td width="55" align="center" valign="middle"> <input name="close22" type="image" onClick="notice_close()" src="close.gif" width="44" height="21"></td>
				</tr>
			</table>
		  </form>
	  </td>
	</tr>
 </table>

<map name="Map">
  <area shape="rect" coords="223,342,393,363" href="javascript:notice_closeWin()">
</map></body>
</html>
</body>

*/




/* ÷   */

///////////////////////////////////////////////////
// IE Embed patch
//
// @author iezn@iezn.com
// @homepage http://iezn.com
// @create date 2006.04.19
// @last modify 2006.04.25
// @version 0.41
//////////////////////////////////////
/** 
* ̳ Ϻ 忡 Ұ ش  id  ԷϽ  ֽϴ
* )
* var __embed_target_id = "contents";
*  óѰ body  <± id="contents">÷,...</±>
* ȿ 뿡 ġ ˴ϴ
*/
if(typeof(__embed_target_id)=='undefined'){
	var __embed_target_id = null;
}

/**
* embed ġ  ±׸ մϴ
* ⺻ object,eembed,appelt ±Դϴ
* false ΰ ġ ܵ˴ϴ
*/
if(typeof(__embed_tags)=='undefined'){
	var __embed_tags = {object:true,embed:true,applet:false}
}

/**
* ÷ flashvars  Ұ ش ÷ Ʈ̵:true  object  ּ
*/
var __flash_force_objs = {};

if(document.attachEvent){
	document.write('<style type="text/css">');
	document.write('object,embed{display:none;}');
	document.write('</style>');
	document.attachEvent('onreadystatechange',
		function (){
			
			if(__embed_target_id===null){
				var __target = document;
			}else{
				var __target = document.getElementById(__embed_target_id);
			}
			if (document.readyState == "complete"){
				function _replace(obj){
					var obj_re = document.createElement(obj.outerHTML);					
					obj_re.style.display='inline';
					obj.parentNode.replaceChild(obj_re,obj);
				}
				function _inner(obj){
					obj.style.display='inline';					
					var html = obj.outerHTML;
					var classid = obj.classid.toLowerCase();
					if(classid=='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' && typeof(__flash_force_objs[obj.id])=='undefined'){//flash ΰ
						obj.insertAdjacentHTML('beforeBegin',html);
						obj.parentNode.removeChild(obj);
					}else{						
						//ϰϴ ActiveX classid  ߰Ͻñ ٶϴ
						if(classid=='clsid:6bf52a52-394a-11d3-b153-00c04f79faa6' || //media 7
						classid=='clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95' || //6.4
						classid=='clsid:6bf52a52-394a-11d3-b153-00c04f79faa6' ||
						classid=='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'	
						){//media player 10
							embed_pos = html.indexOf('embed');
							if(embed_pos!=-1){//embed  ϴ°
								var embed = '<'+html.substr(embed_pos);
								embed = embed.substr(0,embed.length-9);
								obj.insertAdjacentHTML('beforeBegin',embed);
								obj.parentNode.removeChild(obj);
							}else{
								//objectθ Ǿ ִ°  κи ġѴ
								var embed = document.createElement('embed');
								var total = obj.childNodes.length;
								embed.setAttribute('autostart',0);
								if(obj.width){
									embed.setAttribute('width',obj.width);
								}
								if(obj.height){
									embed.setAttribute('height',obj.height);
								}
								for(var k=0;k<total;k++){
									n = obj.childNodes.item(k).getAttribute("name");
									v = obj.childNodes.item(k).getAttribute("value");
									if(n=='URL' || n=='url' || n=='FileName'){
										n = 'src';
									}
									embed.setAttribute(n,v);
								}
								if(embed.getAttribute('src')){
									embed.style.display = 'inline';
									obj.parentNode.replaceChild(embed,obj);
								}else{
									//Ͽ object ƴѰ Ѵ								
								}
							}
						}
					}
				}

				if(__embed_tags.object===true){
					var objs = __target.getElementsByTagName('object');
					var i = objs.length;
					while(i-->0){
						_inner(objs[i]);
					}
				}
				if(__embed_tags.embed===true){
					var objs = __target.getElementsByTagName('embed');
					var i = objs.length;
					while(i-->0){
						_replace(objs[i])
					}
				}

				if(__embed_tags.applet===true){
					var objs = __target.getElementsByTagName('applet');
					var i = objs.length;
					while(i-->0){
						_replace(objs[i])
					}
				}
			}
		}
	);
}

////////////////////////////////////////////////////////////////




/* â  */
///////////////////////////////////////////////
      function war()
     {  
         alert("غ Դϴ.");
         //  ּ.
      }
/////////////////////////////////////////////////
/*
1 = onclick="javascript:war()"
2 = javascript:war();
*/


/*α α׾ƿ ũƮ */
///////////////////////////////////////////////
	function clear_txt(txt){
		txt.style.backgroundImage="";
	}
	function getBlur(frm,num){
		if (num==1){
			frm.style.backgroundImage="url(../images/main/loginBox_id.gif)";
		}
		
		if (num==2){
			frm.style.backgroundImage="url(../images/main/loginBox_pw.gif)";
		}
		
	}
///////////////////////////////////////////////
/* Ժκ
<input name="id" type="text" class="style_box01" size="17" value="" style="background:url(../images/main/loginBox_id.gif) no-repeat 3px 3px #FFFFFF" onfocus="clear_txt(this)" onblur="getBlur(this,1)" />  ---> α

<input name="password" type="password" class="style_box01" id="pw"  value="" style="background:url(../images/main/loginBox_pw.gif) no-repeat 3px 3px #FFFFFF" onfocus="clear_txt(this)" onblur="getBlur(this,2)" size="17" /> ---> α׾ƿ



/* ޴ ũ */
//////////////////////////////////////////////
/*var bExplorer4plus = (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.substring(0,1) >= "4");

function CheckUIElements()
{
        var yMenuFrom, yMenuTo, yButtonFrom, yButtonTo, yOffset, timeoutNextCheck;

        if ( bExplorer4plus ) {  // IE  
                //yButtonFrom = parseInt (divLinkButton.style.top, 10);
                //yButtonTo   = document.body.scrollTop + document.body.clientHeight - 55;
                yMenuFrom   = parseInt (quickmenu.style.top, 10);
                yMenuTo     = document.body.scrollTop + 0; //  ġ 91
        }

        timeoutNextCheck = 0;

        if ( Math.abs (yButtonFrom - (yMenuTo + 152)) < 6 && yButtonTo < yButtonFrom ) {
                setTimeout ("CheckUIElements()", timeoutNextCheck);
                return;
        }


        if ( yButtonFrom != yButtonTo ) {
                yOffset = Math.ceil( Math.abs( yButtonTo - yButtonFrom ) / 10 );
                if ( yButtonTo < yButtonFrom )
                        yOffset = -yOffset;

                if ( bExplorer4plus )
                        divLinkButton.style.top = parseInt (divLinkButton.style.top, 10) + yOffset;

                timeoutNextCheck = 10;
        }
        if ( yMenuFrom != yMenuTo ) {
                yOffset = Math.ceil( Math.abs( yMenuTo - yMenuFrom ) / 20 );
                if ( yMenuTo < yMenuFrom )
                        yOffset = -yOffset;

                if ( bExplorer4plus )
                        quickmenu.style.top = parseInt (quickmenu.style.top, 10) + yOffset;

                timeoutNextCheck = 10;
        }

        setTimeout ("CheckUIElements()", timeoutNextCheck);
}

function Slide()
{
        var y;

        // 信 ε 
        if ( bExplorer4plus ) {
                quickmenu.style.top = document.body.scrollTop + 235;
                quickmenu.style.visibility = "visible";
        }

        CheckUIElements();
        
        return true;
}*/

///////////////////////////////////////////////







/* 
---> ޴  κ 
<SCRIPT language=javascript src="css/******.js"></SCRIPT>

<!-- ޴ -->
<div id="shop" style="position:absolute; width:60px; height:197px; z-index:1; left: 926px; top: 272px;"> 
  <table width="69" height="183" border="0" cellpadding="0" cellspacing="0">
    <tr> 
      <td>Ժκ</td>
      <SCRIPT>Slide();</SCRIPT>
    </tr>
  </table>
</div>
<!-- ޴  -->
*/







/* ÷   */

///////////////////////////////////////////////////
// IE Embed patch
//
// @author iezn@iezn.com
// @homepage http://iezn.com
// @create date 2006.04.19
// @last modify 2006.04.25
// @version 0.41
//////////////////////////////////////
/** 
* ̳ Ϻ 忡 Ұ ش  id  ԷϽ  ֽϴ
* )
* var __embed_target_id = "contents";
*  óѰ body  <± id="contents">÷,...</±>
* ȿ 뿡 ġ ˴ϴ
*/
if(typeof(__embed_target_id)=='undefined'){
	var __embed_target_id = null;
}

/**
* embed ġ  ±׸ մϴ
* ⺻ object,eembed,appelt ±Դϴ
* false ΰ ġ ܵ˴ϴ
*/
if(typeof(__embed_tags)=='undefined'){
	var __embed_tags = {object:true,embed:true,applet:false}
}

/**
* ÷ flashvars  Ұ ش ÷ Ʈ̵:true  object  ּ
*/
var __flash_force_objs = {};
