jQuery (document).ready (function() {
	jQuery ('div.lexicon_menu').find ('a').each(function(){
		if(jQuery(this).attr('href') == location.href) {
			jQuery(this).addClass('active');
		}
															  
	})
})

jQuery (document).ready (function() {
	jQuery ('div.werkstatt_menu').find ('a').each(function(){
		if(jQuery(this).attr('href') == location.href) {
			jQuery(this).addClass('active');
		}
															  
	})
	
	
	
	jQuery('.product').click(function() {
		var location = jQuery(this).find('strong.h3 > a').attr('href');
		if(typeof location != 'undefined') document.location = location;
	});
})

jQuery(document).ready(function() {

		var newsletterform = jQuery("form[name=newsletterform]");
		jQuery(newsletterform).each(function(index,el) {
			jQuery(el).bind('submit', function() {
			
				jQuery('input[name=email]').val(jQuery('input#test_newsletterUserName').val());
				jQuery('input#test_newsletterUserName').attr('disabled', 'disabled');
				
			});
		});

});
