<!--
{

	/*var current_y;
	var increment=1;
	var e_pause=20;	//pause between timer
	var max_y=100;		//max Y % (when it's fully hidden)
	var min_y=30;		//min Y % (when it's fully displayed)*/
	
	//opacity
	var r_speed=8;
	
	function rfade(p_obj,p_alpha,p_speed)
	{
		//this will cause the object to fade / appear.  p_alpha is the current opacity, the speed is the interval amount.  negative amount will cause it to fade, pos. will cause it to appear.
		//0 is nothing, 100 is full
		
		//this r_spring makes the speed go exponential, making it "springy" (change the speed each time by multiplying it
		var r_spring=1.15;	
		var robj;
		var r_speed=p_speed*r_spring;
		var r_alpha=p_alpha+p_speed;
		
		//just in case
		if(r_alpha>=100)
		{
			r_alpha=100;
		}else if(r_alpha<=0){
			r_alpha=0;
		}
		
		robj=document.getElementById(p_obj);
		
		//safari / mozilla
		robj.style.opacity=(r_alpha/100);
		//IE
		robj.style.filter = 'alpha(opacity=' + r_alpha + ')';
			
		if(((r_alpha<100) && (r_speed>0)) || ((r_alpha>0) && (r_speed<0)))
		{
			setTimeout('rfade("'+robj.id+'",('+r_alpha+'),'+r_speed+');',100);	
		}else{
			if(r_speed>0)
			{
				//robj.style.zIndex=10;
			}else if(r_speed<0){
				//robj.style.zIndex=1;
				changepic(p_obj);
			}
		}
	}
	
	function rfade90(p_obj,p_alpha,p_speed)
	{
		//this will cause the object to fade / appear.  p_alpha is the current opacity, the speed is the interval amount.  negative amount will cause it to fade, pos. will cause it to appear.
		//0 is nothing, 90 is full (alpha 90, not 100)
		
		//this r_spring makes the speed go exponential, making it "springy" (change the speed each time by multiplying it
		var r_spring=1.30;	
		var robj;
		var r_speed=p_speed*r_spring;
		var r_alpha=p_alpha+p_speed;
		
		//just in case
		if(r_alpha>=90)
		{
			r_alpha=90;
		}else if(r_alpha<=0){
			r_alpha=0;
		}
		
		robj=document.getElementById(p_obj);
		
		//safari / mozilla
		robj.style.opacity=(r_alpha/100);
		//IE
		robj.style.filter = 'alpha(opacity=' + r_alpha + ')';
			
		if(((r_alpha<90) && (r_speed>0)) || ((r_alpha>0) && (r_speed<0)))
		{
			setTimeout('rfade90("'+robj.id+'",('+r_alpha+'),'+r_speed+');',100);	
		}else{
			if(r_speed>0)
			{
				//robj.style.zIndex=10;
			}else if(r_speed<0){
				//robj.style.zIndex=1;
				changepic(p_obj);
			}
		}
	}

}
// -->

	
	
	

	

