function change() { 
			
	var news2 = $('#box_news .box span:eq(2)').html();
	news2 = news2.replace(/\?/g, "&euro;");
	$('#box_news .box span:eq(2)').html(news2);

}
	$(document).ready(function (){ 
			
			$('#link_setPassword').click(
				function() {
           				 $('#input_setPassword').slideToggle('slow');               
					return false;
				}
			);
			
			$('#link_restaurantvorschlag').click(
				function() {
           				 $('#form_restaurantvorschlag').slideToggle('slow');               
					return false;
				}
			);
			
			$('#link_liste_drucken').click(
				function() {
           			window.print();               
					return false;
				}
			);
			
			$('#link_forgot_password').click(
				function() {
           			$('#form_forgot_password').slideToggle('slow');              
					return false;
				}
			);
			
			$('#link_restaurantfinder').click(
				function() {
           				 $('#form_restaurantfinder').slideToggle('slow');               
					if($('img#image_restaurantfinder').attr('src') == '/images/buttons/restaurantfinder_closed.gif'){
							$("img#image_restaurantfinder").attr('src', '/images/buttons/restaurantfinder_open.gif');
							$("img#image_restaurantfinder").attr('width', '172');
							$("img#image_restaurantfinder").attr('height', '27');
					} else {
						$('img#image_restaurantfinder').attr('src', '/images/buttons/restaurantfinder_closed.gif')
						$("img#image_restaurantfinder").attr('width', '172');
						$("img#image_restaurantfinder").attr('height', '27');
					}
					
					this.blur();
					return false;
				}
			);
			
				$('#link_newsletter').click(
				function() {
           			$('#form_newsletter').slideToggle('slow');               
					if($('img#image_newsletter').attr('src') == '/images/buttons/newsletter_closed.gif'){
							$("img#image_newsletter").attr('src', '/images/buttons/newsletter_open.gif');
							$("img#image_newsletter").attr('width', '143');
							$("img#image_newsletter").attr('height', '12');
					} else {
						$('img#image_newsletter').attr('src', '/images/buttons/newsletter_closed.gif')
						$("img#image_newsletter").attr('width', '143');
						$("img#image_newsletter").attr('height', '12');
					}
					this.blur();
					return false;
				}
				
			);
			$('#newsletter').click(
				function() {
           				$(this).attr('value', '');
					}
			);

			$('.email').click(
				function() {
					if ($('.email').val() == 'E-Mail-Adresse') {
           				$(this).attr('value', '');
           				}
					}
			);
				
			$('div.cont_faq a').click(
				function() {
           				//$(this).attr('value', '');
						var faq = $(this).attr('id');
						$('span.span_'+faq).slideToggle('slow');
						
						if ($(this).attr('class') != 'return_true') {
						return false;
						}
					}
			);
			$('form#contactform input').focus(
				function() {
						$(this).attr('style', 'background: #D9D3EA');
					}
			);
			$('form#contactform input').blur(
				function() {
						$(this).attr('style', 'background: #E9ECF4');
					}
			);
			
			
			$('form#contactform textarea').focus(
				function() {
						$(this).attr('style', 'background: #D9D3EA');
					}
			);
			$('form#contactform textarea').blur(
				function() {
						$(this).attr('style', 'background: #E9ECF4');
					}
			);
			
			$('form.contactform_restaurant input').focus(
				function() {
						$(this).attr('style', 'background: #FCD08B');
					}
			);
			$('form.contactform_restaurant input').blur(
				function() {
						$(this).attr('style', 'background: #E9ECF4');
					}
			);
			
			$('form#form_forgot_password input').focus(
				function() {
						$(this).attr('style', 'background: #FCD08B');
					}
			);
			
			$('form#form_forgot_password input.form_image').focus(
				function() {
						$(this).attr('style', 'background: #FFFFFF');
					}
			);
			
			$('form#form_forgot_password input').blur(
				function() {
						$(this).attr('style', 'background: #E9ECF4');
					}
			);
			
			$('form#form_forgot_password input.form_image').blur(
				function() {
						$(this).attr('style', 'background: #FFFFFF');
					}
			);
			
			$('form#form_login input').focus(
				function() {
						$(this).attr('style', 'background: #FCD08B');
					}
			);
			$('form#form_login input').blur(
				function() {
						$(this).attr('style', 'background: #E9ECF4');
					}
			);
			
			$('form.contactform_restaurant textarea').focus(
				function() {
						$(this).attr('style', 'background: #FCD08B');
					}
			);
			$('form.contactform_restaurant textarea').blur(
				function() {
						$(this).attr('style', 'background: #E9ECF4');
					}
			);
			 
			 
			$('form#form_restaurantvorschlag input').focus(
				function() {
						$(this).attr('style', 'background: #EDEEB2');
					}
			);
			$('form#form_restaurantvorschlag input').blur(
				function() {
						$(this).attr('style', 'background: #E9ECF4');
					}
			);
			
			
			$('form#form_restaurantvorschlag textarea').focus(
				function() {
						$(this).attr('style', 'background: #EDEEB2');
					}
			);
			$('form#form_restaurantvorschlag textarea').blur(
				function() {
						$(this).attr('style', 'background: #E9ECF4');
					}
			); 
			 
			
			$('#form_login input').focus(
				function() {
						$(this).attr('style', 'background: #FCD08B');
					}
			);
			$('#form_login input').blur(
				function() {
						$(this).attr('style', 'background: #E9ECF4');
					}
			);  
			$('#form_login input.form_image').focus(
				function() {
						$(this).attr('style', 'background: none');
					}
			);
			$('#form_login input.form_image').blur(
				function() {
						$(this).attr('style', 'background: none');
					}
			);  
			 
			$('#form_restaurant_data input').focus(
				function() {
						$(this).attr('style', 'background: #FCD08B');
					}
			);
			$('#form_restaurant_data input').blur(
				function() {
						$(this).attr('style', 'background: #E9ECF4');
					}
			);   
			 
			$('#form_restaurant_data select').focus(
				function() {
						$(this).attr('style', 'background: #FCD08B');
					}
			);
			$('#form_restaurant_data select').blur(
				function() {
						$(this).attr('style', 'background: #E9ECF4');
					}
			);   
			 
			$('#form_restaurant_data textarea').focus(
				function() {
						$(this).attr('style', 'background: #FCD08B');
					}
			);
			$('#form_restaurant_data textarea').blur(
				function() {
						$(this).attr('style', 'background: #E9ECF4');
					}
			);    
			 
			 $('#form_restaurant_data input.form_image').focus(
				function() {
						$(this).attr('style', 'background: none');
					}
			);
			$('#form_restaurant_data input.form_image').blur(
				function() {
						$(this).attr('style', 'background: none');
					}
			);   
			 
			$('#form_upload input').focus(
				function() {
						$(this).attr('style', 'background: #FCD08B');
					}
			);
			
			$('#form_upload input').blur(
				function() {
						$(this).attr('style', 'background: #E9ECF4');
					}
			);    
			
			
			$('#link_karte_vergroessern').click(function () {
				if ($('#preview_restaurant_map').height() == '110') {
					$('#preview_restaurant_map').height('400px');
					initialize();
					$(this).text('Karte verkleinern');
				} else {
					$('#preview_restaurant_map').height('110px');
					initialize();
					$(this).html('Karte vergr&ouml;&szlig;ern');
				}
				return false;
			});
			
			$('#preview_restaurant_link_speisekarte a:eq(0)').attr('target', '_blank');
			
			$('#form_upload a').each(function() {
				if ($(this).text() == 'Speisekarte.pdf') {
					$(this).attr('target', '_blank');
				}
			});
			
			$('#preview_restaurant_images a').wrap('<div class="preview_pic"></div>');
			
			$('.preview_pic:eq(0)').css('margin-right', '5px');
			
			if ($('.preview_pic').length == 1) {
				$('.preview_pic:eq(0)').after('<br class="clear" />');
			} else {
				$('.preview_pic:eq(1)').after('<br class="clear" />');	
			}
			$('.box_oben').html('&nbsp;');
			$('.box_unten').html('&nbsp;');
			$('#streifen_beige').html('&nbsp;');  
			
			$('#preview_restaurant_buttons a').each(function(){
				    hrefButton = $(this).attr('href');
				
				if (hrefButton == '/cgi-ticket-restaurant/index.pl') {
				    $(this).attr('href' , 'javascript:history.back()');
				}
    
			});
			
			setTimeout("change()", 50);
			
		});	