function fnLoadPngs() {
    // ÀÌ¹ÌÁö Åõ¸íÇÏ°Ô ¸¸µé±â
    var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
    var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5);

    for (var i = document.images.length - 1, img = null; (img = document.images[i]); i--) {
	if (itsAllGood && img.src.match(/\.png$/i) != null) {
	    var src = img.src;
	    img.style.width = img.width + "px";
	    img.style.height = img.height + "px";
	    img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='scale')"
	    img.src = "/cima/lib/spacer.gif";
	}
	
	img.style.visibility = "visible";
    }
}


function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
    toolbar_str = toolbar ? 'yes' : 'no';
    menubar_str = menubar ? 'yes' : 'no';
    statusbar_str = statusbar ? 'yes' : 'no';
    scrollbar_str = scrollbar ? 'yes' : 'no';
    resizable_str = resizable ? 'yes' : 'no';
    window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

<!-- ¹®ÀÚ¿­ ºñ±³ -->
<!-- search ÇÔ¼ö´Â ÆÐÅÏÀÌ ¹ß°ßµÇ¸é, ¹ß°ßµÈ °÷ÀÇ À§Ä¡¸¦ ¸®ÅÏÇÑ´Ù. ±×·¯¹Ç·Î Ã¹¹øÂ°¿¡ ¹ß°ßµÇ¸é 0À» ¸®ÅÏÇÑ´Ù. Ã£Áö ¸øÇÏ¸é -1À» ¸®ÅÏÇÑ´Ù. -->
function compareTwoString(source_str, str) {
    if(source_str.search(str) == 0 && source_str.length == str.length)
        return true;
    else
        return false;
}

//ÇÃ·¡½Ã È°¼ºÈ­ÇÏ±â
function embededFlash() {
    var args = embededFlash.arguments;
    var argc = args.length;
    
    var myObjectElement;
    var myParamElement = new Array(argc);
    
    myObjectElement = document.createElement('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="100%"></object>');
    
    for(var paramOrder = 1; paramOrder < argc; paramOrder++) {
        myParamElement[paramOrder] = document.createElement(args[paramOrder]);
        myObjectElement.appendChild(myParamElement[paramOrder]);
    }

    args[0].appendChild(myObjectElement);
}

<!--
	function goURL( url, target ){
		if( typeof(target) == "undefined" )
			location.href = url;
		else
			eval(target).location.href = url;
	}
	function replaceURL( url, target ){
		if( typeof(target) == "undefined" )
			location.replace(url);
		else
			eval(target).location.replace(url);
	}
	function PageMove( part, sub, target ){
		if ( part == 'home' )
		{
			if( typeof(target) == "undefined" )
				location.href = "/eng/home.php";
			else
				eval(target).location.href= "/eng/home.php";
		} 
		else 
		{
			if( typeof(target) == "undefined" )
				location.href = "/eng/sub.php?gid=" + part + "&th=" + sub;
			else{
				eval(target).location.href = "/eng/sub.php?gid=" + part + "&th=" + sub;
			}
		}

	}
	function on_resize()
	{
		try 
		{ 
			if ( parent.document.board_frame == '[object]' )
				parent.resize_frame( parent.document.board_frame.name ); 
		}
		catch(e) { }
	}
	function resize_frame(name){
		try	{ 
			var oBody = document.frames(name).document.body;
			var oFrame = document.all(name);

			oFrame.style.width 	= oBody.scrollWidth + (oBody.offsetWidth-oBody.clientWidth);
			oFrame.style.height = oBody.scrollHeight + (oBody.offsetHeight-oBody.clientHeight);

			if (oFrame.style.height == "0px" || oFrame.style.width == "0px")
			{
				oFrame.style.width = "800";
				oFrame.style.height = "300px"; 
				window.status = 'iframe resizing fail.';
			}
			else
			{
				window.status = '';
			}
		}
		catch(e) {
			window.status = 'Error: ' + e.number + '; ' + e.description;
		}
	}

	function WebLink( src ){
		window.open(src);
	}
	function show_div( ID){
		Obj = document.getElementById(ID);
		Obj.style.setAttribute('display', 'block');
	}
	function hide_div( ID){
		Obj = document.getElementById(ID);
		Obj.style.setAttribute('display', 'none');
	}
	/**** ÇÁ¸°Æ® ÆäÀÌÁö ****/
	/**** frame ID·Î PrintTempArea°¡ ÀÖ¾î¾ß ÇÏ¸ç DIV ID·Î PrintArea¸¦ ÁöÁ¤ÇØ¾ß ÇÔ **/
	function PrintPage(){
		PA = document.getElementById("PrintArea");
		PTA = document.frames("PrintTempArea").document;

		PTA.open();
		PTA.writeln("<html><head><title>(ÁÖ)ÇÇ¾ÆÀÌÇÇ - pipeinpipe</title><meta http-equiv='Content-Type' content='text/html; charset=euc-kr'><link href='/chca/lib/common.css' rel='stylesheet' type='text/css'><link href='/chca/skin/product/sub2/style.css' rel='stylesheet' type='text/css'></head><body>"); //½ºÅ¸ÀÏµîÀ» ÁöÁ¤
		PTA.writeln("<table width=550 align=center><tr><td>"); // º»¹® Ãâ·Â
		PTA.writeln(PA.innerHTML); // º»¹® Ãâ·Â
		PTA.writeln("</td></tr></table></body></html>");
		PTA.close();
		PTA.execCommand('Print');
	}


	function viewPic(img){ 
	  foto1= new Image(); 
	  foto1.src=(img); 
	  contImg(img); 
	} 
	function contImg(img){ 
	  if((foto1.width!=0)&&(foto1.height!=0)){ 
		viewImg(img); 
	  } 
	  else{ 
		funzione="contImg('"+img+"')"; 
		intervallo=setTimeout(funzione,20); 
	  } 
	} 
	function viewImg(img){ 
	  largh=foto1.width; 
	  altez=foto1.height; 

	  var winl = (screen.width-largh)/2;
	  var wint = (screen.height-altez)/2;
	  
	  stringa="width="+largh+",height="+altez+",top="+wint+",left="+winl+",leftmargin=0";
	  if ( altez > (screen.height-100)) {
		altez = screen.height-100; 
		largh += 20;
		var wint = (screen.height-100-altez)/2;
		stringa="width="+largh+",height="+altez+",top="+wint+",left="+winl+",leftmargin=0,scrollbars=yes";
	  }
	  if ( largh > (screen.width-20)) {
		largh = screen.width-20; 
		altez += 20;
		var winl = (screen.width-20-largh)/2;
		stringa="width="+largh+",height="+altez+",top="+wint+",left="+winl+",leftmargin=0,scrollbars=yes";
	  }

	  finestra=window.open("","viewpic",stringa); 
	  finestra.document.write("<html><head><title>Image Viewer</title></head><body leftmargin=0 topmargin=0><a href=# onclick=\"self.close();\"><img border=0 src='"+img+"' alt='ÀÌ¹ÌÁö¸¦ Å¬¸¯ÇÏ½Ã¸é Ã¢ÀÌ ÀÚµ¿À¸·Î ´ÝÈü´Ï´Ù'></a></body></html>");
	} 
-->