var ua;

unganhorig = function() {
	var ua = this; // for use in events
	ua.ajax_url = '/wp-content/themes/unganhorig/ajax.php';
	
	ua.construct = function() {	
		$('#search-form input').click(function() {
			$(this).val('');
		});
		
		$('.spotlight ul li a').click(function() {
			$('.spotlight .content').hide();
			$('#spotlight'+ $(this).attr('href')).show();
			return false;
		});
	}
	
	ua.construct();
}

// initialize class
$(document).ready(function() {
	ua = new unganhorig();
	$(document).pngFix();
});

var addthis_config = {
     ui_cobrand: "Unganhörig",
	 services_compact: 'email, facebook, twitter'
}
