var hMenu = Object();
var hmenuTime = null;

hMenu.clickAccess = function()
{
	this.obj = getObject('linksite');
	
	if(this.obj.style.display == 'none' || this.obj.style.display ==''){
	   this.step = -10; 
       this.obj.style.display = 'block';
    }
	else {this.step = 10;}
	
	if(hmenuTime) window.clearTimeout(hmenuTime);
	hmenuTime = window.setTimeout("hMenu.process()",10);
}

hMenu.process = function()
{
	this.step += this.step;
	if(this.step > 0)
	{
		var _f = 100 - this.step;
		if (_f <= 0) 
		{
			this.obj.style.display = 'none';
			window.clearTimeout(hmenuTime);
			_f = 0;
		}
		this.obj.style.filter = "alpha(opacity="+_f+")";
		this.obj.style.opacity = _f / 100;	
	}
	else 
	{
		var _f = -this.step;
		if(_f >= 100)
		{			
			_f = 100;
			window.clearTimeout(hmenuTime);
		}
		this.obj.style.filter = "alpha(opacity="+_f+")";
		this.obj.style.opacity = _f / 100;
	}
	
	hmenuTime = window.setTimeout("hMenu.process()",100);
}
