// JavaScript Document
	function GLB(container,morelink){
		this.container = document.getElementById(container)
		this.morelink = document.getElementById(morelink)
		this.buttons = new Array();
		this.properties = new Array();
	}
	
	GLB.prototype.AddButton=function (relating,moreurl,currenticon,icon){
		this.properties.push([relating,moreurl,currenticon,icon]);
	}
	
	GLB.prototype.init=function (){
		var _bcs = this.container.getElementsByTagName("td");
		for(var i=0;i<_bcs.length;i++){
			var _button = _bcs[i].firstChild;
			this.buttons.push(_button);
			_button.icon = _button.firstChild;
			_button.relating = document.getElementById(this.properties[i][0]);
			_button.moreurl = this.properties[i][1];
			_button.currenticonurl = this.properties[i][2];
			_button.iconurl = this.properties[i][3];
			_button.m = this;
			_button.onmouseover = function (){
				this.m.show(this);
			}
		}
		if(_bcs.length)this.show(this.buttons[0]);
	}
	
	GLB.prototype.show=function (sender){
		for(var i=0;i<this.buttons.length;i++){
			this.buttons[i].icon.src = this.buttons[i].iconurl;
			this.buttons[i].relating.style.display="none";
			this.buttons[i].className="";
		}
		sender.icon.src=sender.currenticonurl;
		sender.className="CssCurrentLabelButton";
		sender.relating.style.display="";
		this.morelink.href=sender.moreurl;
	}