

function keyTip(tooltip) {
	Tip(tooltip, WIDTH, 250, OPACITY, 80, BGCOLOR, '#547920', FONTCOLOR, '#ffffff', FONTSIZE, '11px', FADEIN, 300, FADEOUT, 300, BORDERWIDTH, 0, DELAY, 1000, STICKY, true, CLICKCLOSE, true, DURATION, -3000);
}

function closeNewsBox() {
	var box = $('newsbox');
	
	var fx = new Fx.Styles(box, {duration:200, wait:true});
	fx.start({
				'opacity': 0
			});
	
	/*box.custom({
			'opacity': 10,
		}).addEvent('onComplete', function() { this.setStyles({'width': 50 + "px",'height': 50 + "px"}); }.bind(this));
	*/
}

function openNewsBox() {

	var box = $('newsbox').setStyles({'opacity': 0,'visibility': "visible",'display': "block"});
	
	var fx = new Fx.Styles(box, {duration:500, wait:true});
	fx.start({
				'opacity': 1
			});
}

function showNewsBox() {

	window.setTimeout("openNewsBox();",3000);

}





