	function libFindObject(n, d) {
		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=libFindObject(n,d.layers[i].document);
		if(!x && document.getElementById) x=document.getElementById(n);
		return x;
	}
	
		
	
	
	function libShowAttr(obj) {
		for(attr in obj) { 
			document.write("<br>");
			document.write(attr + ' = ' + obj[attr]);
		}
	}



	var obj;
	var pl = 0;
	var pt = 0;
	var interval = 100000;
	var isMSIE                 = 0;
	var nVersion               = 3;
	var dupl				   = 0;
	function libScrollObject(objectName,positionLeft,positionTop,scrollAmount) {

		if(dupl == 0) {

			obj			=	libFindObject(objectName);
			pl			=	positionLeft;
			pt			=	positionTop;
			interval	=	scrollAmount;
			nVersion	=	parseInt (navigator.appVersion);
			dupl		=	1;

			if (navigator.appName == "Microsoft Internet Explorer") {
				isMSIE  = 1;
				if (navigator.userAgent.indexOf ("MSIE 5") != -1) {	nVersion = 5;	}
				obj.style.position	=	"absolute";
				obj.style.visibility=	"visible";
			} else {
				isMSIE  = 0;
				if (nVersion >= 4) {
					obj.position	=	"absolute";
					obj.visibility	=	"show";
				}
			}
		}

		if(nVersion <4) {
				alert(' ºê¶ó¿ìÀú[ÀÍ½ºÇÃ·Î·¯][³×½ºÄÉÀÌÇÁ] ¹öÀü 4.0 ÀÌ»ó¿¡¼­¸¸ °¡´ÉÇÕ´Ï´Ù ');
				return;
		} else {
			setInterval ("libMoveObject2();", interval);
		}
	}



	function libMoveObject2() {

		if (isMSIE) {
			obj.style.pixelLeft	= pl;
			nAdCornerOriginY	= pt;
			nAdCornerOriginY	+=	document.body.scrollTop;
			obj.style.pixelTop       = nAdCornerOriginY;
		} else {

			nAdCornerOriginY        = window.innerHeight + window.pageYOffset - obj.clip.height - 5;
			if (window.scrollbars.visible == true) {
				nAdCornerOriginY        -= 16;
			}
			obj.left	= pl;
			obj.top     = nAdCornerOriginY;
		} 
	}


//<?php
///*----------------------------------------------------------------
//ÆÄ  ÀÏ  ¸í	:	jsObject.js
//------------------------------------------------------------------
//»ç ¿ë ¿ä ¾à	:	ÀÚ¹Ù½ºÅ©¸³Æ® °´Ã¼ °ü·Ã ·çÆ¾
//------------------------------------------------------------------
//°³  ¹ß  ÀÚ	:	±è¿ìÇö
//------------------------------------------------------------------
//µð  ÀÚ  ÀÎ	:	
//------------------------------------------------------------------
//Á¦ÀÛ ½ÃÀÛÀÏ	:	2002/08/29
//------------------------------------------------------------------
//Âü °í »ç Ç×	:	libShowAttr(this) : °´Ã¼ÀÇ ¼Ó¼º ¸î°ú °ªÀ» º¸±â
//					libFindObject(n, d) : n = °´Ã¼¸í, d = Ã£À» document
//					libScrollObject(objectName,positionLeft,positionTop,scrollAmount)
//------------------------------------------------------------------
//¼ö Á¤ ³» ¿ë	:	¼öÁ¤ÀÏ : 
//					¼öÁ¤ÀÚ : 
//					³»  ¿ë :
//------------------------------------------------------------------*/ 
//?>


