(function($) {
	
	// make faqs 2 columns
	// add a classes to identify first
	var faqName = '',
		faqList = $('.faqList');
		
	$(faqList).each(function(index) {
		// find .faqList H2 and add class
		faqName = $(this).find('h2').text().replace(/[^a-zA-Z0-9\s]/g,'').replace(/\s/g,'').toLowerCase();
		// add class to .faqList
		$(this).addClass(faqName);
	});
	
	// create the first column
	$('.urlauber').nextUntil('.inseratsbearbeitung').andSelf().wrapAll('<div class="leftCol" />');
	// create the second column
	$('.inseratsbearbeitung').nextAll().andSelf().wrapAll('<div class="rightCol" />');
	
	//set the custom css to our new overrides (css/custom.css)
	jQuery(function($) {
		$('#custom-css').attr('href', '/webdav/site/de/shared/hilfe/fewo-direkt-faq.css');
	});
 
})(jQuery);
