// Png24
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 MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->


<!-- FAQ
function makefaqstyle(objid){
 
	// FAQ ½ºÅ¸ÀÏ ¸¸µé±â
	// http://www.psyonline.kr
 
	this.titletype='text';
	this.titleonclass='on';
	this.titleonimagename='';
	this.closeothers=true;
	this.autoopen=0;
 
	var obj=document.getElementById(objid);
	var titles=new Array(),contents=new Array();
 
	this.initialize=function(){
		var nodeno=0,childs=obj.childNodes;
		for(var i=0,max=childs.length; i<max; i++){
			if(childs[i].nodeType==1){
				if((nodeno%2)==0){
					childs[i].myno=nodeno/2;
					mousesetting(childs[i]);
					childs[i].onclick=function(){
						eval(objid).action(this.myno);
						return false;
					}
					childs[i].style.cursor='pointer';
					titles.push(childs[i]);
					this.setclassoff(childs[i]);
				}else{
					childs[i].style.display='none';
					contents.push(childs[i]);
				}
				nodeno++;
			}
		}
		if(this.autoopen) this.action(this.autoopen-1);
	}
 
	this.setclasson=function(target){
		var classes,exist=false;
		if(this.titletype=='image'){
			var titleimg=target.getElementsByTagName('img')[0];
			var titleimgexp=titleimg.src.substring(titleimg.src.lastIndexOf('.'));
			titleimg.src=(titleimg.src.indexOf(this.titleonimagename+titleimgexp)==-1)? titleimg.src.replace(titleimgexp,this.titleonimagename+titleimgexp) : titleimg.src;
		}
		classes=target.className.split(' ');
		for(var j=0; j<classes.length; j++) if(classes[j]==this.titleonclass) exist=true;
		if(!exist) target.className=target.className+' '+this.titleonclass;
	}
 
	this.setclassoff=function(target){
		if(this.titletype=='image'){
			var titleimg=target.getElementsByTagName('img')[0];
			var titleimgexp=titleimg.src.substring(titleimg.src.lastIndexOf('.'));
			titleimg.src=titleimg.src.replace(this.titleonimagename+titleimgexp,titleimgexp);
		}
		if(target.className.indexOf(this.titleonclass)!=-1){
			if(target.className.indexOf(' ')==-1) target.className=target.className.replace(this.titleonclass,'');
			else{
				classes=target.className.split(' ');
				for(var j=0; j<classes.length; j++) if(classes[j]==this.titleonclass) classes[j]='';
				target.className=classes.join(' ');
			}
		}
	}
 
	var mousesetting=function(target,remove){
		if(remove){
			target.onmouseover=null;
			target.onmouseout=null;
		}else{
			target.onmouseover=function(){
				eval(objid).setclasson(this);
			}
			target.onmouseout=function(){
				eval(objid).setclassoff(this);
			}
		}
	}
 
	this.action=function(no){
		for(var i=0,max=titles.length; i<max; i++){
			if(i==no){
				mousesetting(titles[i],true);
				this.setclasson(titles[i]);
				if(contents[i].style.display=='none') contents[i].style.display='';
				else{
					this.setclassoff(titles[i]);
					contents[i].style.display='none';
				}
			}else{
				if(this.closeothers){
					this.setclassoff(titles[i]);
					contents[i].style.display='none';
				}
			}
			if(contents[i].style.display=='none') mousesetting(titles[i]);
		}
	}
 
}
//-->

<!-- ¸Þ´º¸¸µé±â
function layer(layerid,target,xpos,ypos,isoverevent){
	var layer=document.getElementById(layerid);
	layer.style.position='absolute';
	if(!layer.style.display || layer.style.display=='none'){
		var tginfo=[target.offsetWidth,target.offsetHeight,0,0];
		for(var i=0,optg=target; i<1; i++){
			tginfo[2]+=optg.offsetLeft;
			tginfo[3]+=optg.offsetTop;
			optg=optg.offsetParent;
			if(!optg.tagName.match(/body|html/i)) i--;
		}
		layer.style.left='-10000px';
		layer.style.display='block';
		var layerinfo=[layer.offsetWidth,layer.offsetHeight];
		if(!isNaN(xpos)) setleft(xpos);
		else if(xpos){
			var xpospm;
			if(xpospm=xpos.match(/([a-z-]+)(\-|\+)([0-9]+)/)) xpos=xpospm[1];
			if(xpos=='left') setleft(tginfo[2]-layerinfo[0]);
			else if(xpos=='justify-left') setleft(tginfo[2]);
			else if(xpos=='right') setleft(tginfo[2]+tginfo[0]);
			else if(xpos=='justify-right') setleft((tginfo[2]+tginfo[0])-layerinfo[0]);
			else if(xpos=='center') setleft((tginfo[2]+(tginfo[0]/2))-(layerinfo[0]/2));
		}
		if(!isNaN(ypos)) settop(ypos);
		else if(ypos){
			var ypospm;
			if(ypospm=ypos.match(/([a-z-]+)(\-|\+)([0-9]+)/)) ypos=ypospm[1];
			if(ypos=='top') settop(tginfo[3]-layerinfo[1]);
			else if(ypos=='justify-top') settop(tginfo[3]);
			else if(ypos=='bottom') settop(tginfo[3]+tginfo[1]);
			else if(ypos=='justify-bottom') settop((tginfo[3]+tginfo[1])-layerinfo[1]);
			else if(ypos=='middle') settop((tginfo[3]+(tginfo[1]/2))-(layerinfo[1]/2));
		}
		layer.style.display='block';
	}else if(!isoverevent) layer.style.display='none';
	function setleft(value){
		if(xpospm) value=eval('value'+xpospm[2]+xpospm[3]);
		layer.style.left=value+'px';
	}
	function settop(value){
		if(ypospm) value=eval('value'+ypospm[2]+ypospm[3]);
		layer.style.top=value+'px';
	}
	if(isoverevent){
		layer.onmouseover=function(){
			clearTimeout(layer.closetimer);
		}
		target.onmouseout=layer.onmouseout=function(){
			layer.closetimer=setTimeout("document.getElementById('"+layerid+"').style.display='none'",50);
		}
		clearTimeout(layer.closetimer);
	}
}
//-->
