/* + --------------------------------------------------------------------------
 * behaviours.js
 * (c) 2009, amovisp.ch
 */
$(document).ready(function() {
	if ($('#accordion').length) {	$("#accordion").accordion({ active: false, clearStyle: true, autoHeight: false }); }
	if ($('#accordion1').length) { $("#accordion1").accordion({ active: false, clearStyle: true, autoHeight: false }); }
	if ($('#accordion2').length) { $("#accordion2").accordion({ active: false, clearStyle: true, autoHeight: false }); }
	if ($('#accordion3').length) { $("#accordion3").accordion({ active: false, clearStyle: true, autoHeight: false }); }
	if ($('#accordion4').length) { $("#accordion4").accordion({ active: false, clearStyle: true, autoHeight: false }); }
	if ($('#accordion5').length) { $("#accordion5").accordion({ active: false, clearStyle: true, autoHeight: false }); }
	if ($('#gallery').length) { $('#gallery a').lightBox(); }
	if ($('#gallery1').length) { $('#gallery1 a').lightBox({ txtImage:'Bild', txtOf:'von' }); }
	if ($('#gallery2').length) { $('#gallery2 a').lightBox({ txtImage:'Bild', txtOf:'von' }); }
	if ($('#gallery3').length) { $('#gallery3 a').lightBox({ txtImage:'Bild', txtOf:'von' }); }
	if ($('#gallery4').length) { $('#gallery4 a').lightBox({ txtImage:'Bild', txtOf:'von' }); }
	if ($('#gallery5').length) { $('#gallery5 a').lightBox({ txtImage:'Bild', txtOf:'von' }); }
})
