function show_box(n)
	{
//		document.getElementById('text_box_def').style.display = "none";
		document.getElementById('text_box_sub').style.display = "block";
		document.getElementById('text_box_' + n).style.display = "block";
		document.getElementById('title_box_' + n).className = "link_cell_a";
	}

	function hide_box(n)
	{
		document.getElementById('text_box_sub').style.display = "none";
		document.getElementById('text_box_' + n).style.display = "none";
//		document.getElementById('text_box_def').style.display = "block";
		document.getElementById('title_box_' + n).className = "link_cell";
	}
	
component['frgSubHead'] = Class.create({

  initialize: function(arrInstVars, arrParams, arrLang)
  {

    this.EXEC_UID     = arrInstVars.EXEC_UID;
	this.arrBanners = $$('*[name="banner"]');
	this.intAct = 0;
    
	if(this.arrBanners.length>0)
	{
		new PeriodicalExecuter(this._trigger.bind(this), 7);	
	}
  },
  
  _trigger: function()
  {
	this.arrBanners.invoke('hide');
	this.intAct = (++this.intAct >= this.arrBanners.length) ? 0 : this.intAct;
	this.arrBanners[this.intAct].show();
  }
 
});
arrJsLoaded['component.frgSubHead.js']=true;init.jsLoaded("component.frgSubHead.js");