
/* ROLL OUT */
var r_out=0;

function roll_out(rid)
{
	
	h_style=($(rid).getStyle("display"));
	//x_style=($("base_img").getStyle("display"));
	if (h_style=="none") {
		
		$(rid).hide();
		Effect.BlindDown(rid,{ queue: 'end' });
		if ($(rid+"_img")) {
			$(rid+"_img").hide();
			Effect.BlindDown(rid+"_img",{ queue: 'end' }); 
			r_out++;
			}
		}
	else {
		if ($(rid+"_img")) Effect.BlindUp(rid+"_img",{ queue: 'end' }); 
		Effect.BlindUp(rid,{ queue: 'end' });
		if (h_style!="none") r_out--;
		}
		
		return(false);
}

