$(document).ready(function(){

	$("div#content div.container-region-two-per-row").each(function(){
		new ch.postfinance.ContainerRegion($(this), 2, 302);
	});
	
	$("div#content div.container-region-three-per-row").each(function(){
		new ch.postfinance.ContainerRegion($(this), 3, 201);
	});	
	
	new ch.postfinance.FAQ($("div#content"));
	
	$("div#content table.table-title.hoverable, div#content table.table-notitle.hoverable, div#content table.table-total.hoverable, div#content table.table-subtotal.hoverable, div#content table.table-indication.hoverable").each(function(){
		new ch.postfinance.HighlightTable($(this));
	});	
	
  if(!($.browser.mozilla && $.browser.version.search(/^1\.9/) === 0)) {
	  $("p.buttons").each(function() {
	  	new ch.postfinance.ButtonParagraph($(this));
	  });
  }
  
  	// initialize dynamic LeftNavigation
	$("ul.left-navigation-js").each(function(){
		new ch.postfinance.LeftNavigation($(this));
	});
	
	$("form label.hasLink").each(function() {
		new ch.postfinance.LabelLink($(this));
	});
	
	$("textarea#messageArea").each(function(){
		new ch.postfinance.MessageArea($(this));
	});
	
	$("fieldset.enableable").each(function(){
		new ch.postfinance.Enableable($(this));
	});
	
	if($.browser.msie && $.browser.version == "6.0") {
		$("p.buttons + *").addClass("buttons-following-sibling");
	}
  
});
