// Slidebar (C) Junon
if((window.opera && window.opera.version() > 7) || !/msie 5.0|msie 4/i.test(navigator.userAgent)) {
	bytefx.$event(window, "onload", function() {
		var	bg = "backgroundColor",	switcher = $("sliderButton");
			$("slide-box").style.display = "none";
			bytefx.$event(switcher, "onmouseover", function(){bytefx.color(this, bg, "#3d3d3d", "#BBB", 1)});
			bytefx.$event(switcher, "onmouseout", function(){bytefx.color(this, bg, "#BBB", "#3d3d3d", 1)});
			bytefx.$event(switcher, "onclick", function() {
				var	check = this.clicked;
				if(!this.bar) {
					this.bar = $("slide-box");
					this.bar.style.display = "block";
					this.realwidth = bytefx.$size(this.bar).width;
					this.realheight = bytefx.$size(this.bar).height;
					this.bar.style.height = "1px";
					this.bar.style.display = "none";
				};
				if(!check) {
					this.bar.style.display = "block";
					bytefx.size(this.bar, {width:this.realwidth, height:this.realheight}, 24);
					$('sliderButton').innerHTML = "Hide Bar";
				} else {
					bytefx.size(this.bar, {width:this.realwidth, height:0}, 24, function(){this.style.display = "none";});
					$('sliderButton').innerHTML = "Open Bar";
				}
				this.clicked = !this.clicked;
				return false;
			});
	});
};
