// JavaScript Document

function tgs(gc){
	var gcx = document.getElementById(gc);
	var status=gcx.style.visibility;

	if(status=="") status="visible";
	gcx.style.visibility= "visible";      
	gcx.style.display= "block"; 
	
	ef = new fx.Height(gcx, {duration: 400, onComplete: function(){
		if (status == "visible")	{
			gcx.style.visibility= "hidden";
			gcx.style.display= "none";
			//gcx.style.height="0px";
		}else{
			gcx.style.height="auto";
		}
	}}); 
	ef.toggle();
	
}
inte=Array();
intu=Array();
function autoscroll(gc){	
	var gcx = document.getElementById(gc);
	gcx.scrollTo=0;
	intu[gc]=0;
	/*inte[gc]=window.setInterval('inuty("'+gc+'")',1000);*/
}
function inuty(gc){
	/*var gcx = document.getElementById(gc);
	intu[gc]+=10;
	gcx.scrollTo==intu[gc];
		if(intu[gc]>=gcx.scrollHeight){
			gcx.scrollTo=0;
			clearInterval(inte[gc]);
		}*/
}
function stopscroll(gc){
	var gcx = document.getElementById(gc);
}
