<!--
	function TOOLTIP()
	{
		this.previewWindow = null;
		this.activedObject = null;
		this.mouseoutFunc = null;
		this.mouseoverFunc = null;
		this.help = "";

		var self = this;

		this.setPreviewWindow = function(id_)
		{
			this.previewWindow = document.getElementById(id_);
			if(this.previewWindow)
			{
				this.previewWindow.style.padding = "0px 0px 0px 0px"; 
				this.previewWindow.style.position = "absolute";
			}
		}

		this.createPriviewWindow = function(id_, css)
		{
			var spanObj = document.createElement("SPAN");
			this.previewWindow = document.createElement("DIV");
			if(this.previewWindow)
			{
				this.previewWindow.setAttribute("id",id_);
				this.previewWindow.style.cssText = css;
				this.previewWindow.style.padding = "0px 0px 0px 0px"; 
				this.previewWindow.style.position = "absolute";
				spanObj.appendChild(this.previewWindow);
			}
		}

		this.attachEvent_ = function(obj, evt, fuc, useCapture)
		{
			if(!useCapture) useCapture=false;
			if(obj.addEventListener) 
			{ 
				// W3C DOM Áö¿ø ºê¶ó¿ìÀú
				return obj.addEventListener(evt,fuc,useCapture);
			} 
			else if(obj.attachEvent) 
			{ 
				// MSDOM Áö¿ø ºê¶ó¿ìÀú
				return obj.attachEvent("on"+evt, fuc);
			} 
			else 
			{ 
				// NN4 ³ª IE5mac µî ºñ È£È¯ ºê¶ó¿ìÀú
				this.MyAttachEvent(obj, evt, fuc);
				obj['on'+evt]=function() { this.MyFireEvent(obj,evt) };
			}
		}

		this.detachEvent_ = function(obj, evt, fuc, useCapture)
		{
			if(!useCapture) useCapture=false;
			if(obj.removeEventListener) 
			{
				return obj.removeEventListener(evt,fuc,useCapture);
			} 
			else if(obj.detachEvent) 
			{
				return obj.detachEvent("on"+evt, fuc);
			} 
			else 
			{
				this.MyDetachEvent(obj, evt, fuc);
				obj['on'+evt]=function() { this.MyFireEvent(obj,evt) };
			}
		}

		this.MyAttachEvent = function(obj, evt, fuc) 
		{
			if(!obj.myEvents) obj.myEvents= {};
			if(!obj.myEvents[evt]) obj.myEvents[evt]=[];
			var evts = obj.myEvents[evt];
			evts[evts.length]=fuc;
		}

		this.MyFireEvent = function(obj, evt) 
		{
			if(!obj.myEvents || !obj.myEvents[evt]) return;
			var evts = obj.myEvents[evt];
			for (var i=0;i<len;i++) 
			{
				len=evts.length;
				evts[i]();
			}
		}

		this.previewHelp = function(obj, helpString, pv) 
		{
			if(helpString!=undefined && helpString!="") this.help = helpString;
			if(pv!=undefined && pv!="")
			{
					this.setPreviewWindow(pv);
			}
			this.activedObject = obj;

			if(this.mouseoverFunc) this.mouseoverFunc(this.activedObject, this.previewWindow, this.help);
			
			this.attachEvent_(obj, "mousemove", this.previewMove, false);
			this.attachEvent_(obj, "mouseout", this.previewHide, false);

		}

		this.previewShow = function(obj, pv) 
		{
			if(pv!=undefined && pv!="")
			{
					this.setPreviewWindow(pv);
			}
			this.activedObject = obj;

			if(this.mouseoverFunc) this.mouseoverFunc(this.activedObject, this.previewWindow);

			this.attachEvent_(obj, "mousemove", this.previewMove, false);
			this.attachEvent_(obj, "mouseout", this.previewHide, false);

		}

		this.previewMove = function(e) 
		{
			if(self.previewWindow.parentElement) 
			{
				self.previewWindow.parentElement.style.display="block";
			}
			else 
			{
				self.previewWindow.parentNode.style.display="block";
			}

			var evt = e ? e : window.event;
			var posx=0;
			var posy=0;

			if (evt.pageX || evt.pageY) 
			{ 
				// pageX/Y Ç¥ÁØ °Ë»ç
				posx = evt.pageX +8;
				posy = evt.pageY +16;
			} 
			else if (evt.clientX || evt.clientY) 
			{ 
				//clientX/Y Ç¥ÁØ °Ë»ç Opera
				posx = evt.clientX +10;
				posy = evt.clientY +20;
				if (window.event) 
				{ 
					// IE ¿©ºÎ °Ë»ç
					posx += document.body.scrollLeft;
					posy += document.body.scrollTop;
				}
			}
			//alert(posx+" | "+posy);
			self.previewWindow.style.left = posx + "px";
			self.previewWindow.style.top = posy + "px";
		}

		this.previewHide = function() 
		{		
			if(self.mouseoutFunc) 
			{
				self.mouseoutFunc(self.activedObject, self.previewWindow);
			}

			if(self.previewWindow.parentElement) 
			{
				self.previewWindow.parentElement.style.display="none";
			}
			else 
			{
				self.previewWindow.parentNode.style.display="none";
			}

			self.detachEvent_(self.activedObject, "mousemove", self.previewMove, false);
		}

	}

//-->
