jQuery.noConflict();

jQuery(document).ready( 
  function(){ 

    jQuery('div#header ul').innerfade({ 
      type: 'sequence',
      speed: 2500, 
      timeout: 10000
    });

    jQuery('div.scrollable').scrollable({
      easing: 'swing',
      speed: 1500,
      items: '.news-list-container',
      vertical: true,
      circular: true
    }).autoscroll({ autoplay: true, autopause: true, interval: 10000 });

    jQuery('div#selectbox-text').html('Pauschale');
    jQuery('select#pauschale').change( function() {
      jQuery('div#selectbox-text').html(this.value);
    });

    // empty inputboxes on click
    jQuery('input#uid1').focus( function() {
      if ( this.value == 'Anreisetag' ) { this.value = '' }
    });
    jQuery('input#uid1').focusout( function() {
      if ( this.value == '' ) { this.value = 'Anreisetag' }
    });

    jQuery('input#uid2').focus( function() {
      if ( this.value == 'Abreisetag' ) { this.value = '' }
    });
    jQuery('input#uid2').focusout( function() {
      if ( this.value == '' ) { this.value = 'Abreisetag' }
    });

    jQuery('input#uid3').focus( function() {
      if ( this.value == 'Vor- und Nachname' ) { this.value = '' }
    });
    jQuery('input#uid3').focusout( function() {
      if ( this.value == '' ) { this.value = 'Vor- und Nachname' }
    });

    jQuery('input#uid4').focus( function() {
      if ( this.value == 'Anzahl Erwachsene' ) { this.value = '' }
    });
    jQuery('input#uid4').focusout( function() {
      if ( this.value == '' ) { this.value = 'Anzahl Erwachsene' }
    });

    jQuery('input#uid5').focus( function() {
      if ( this.value == 'Anzahl Kinder' ) { this.value = '' }
    });
    jQuery('input#uid5').focusout( function() {
      if ( this.value == '' ) { this.value = 'Anzahl Kinder' }
    });

    jQuery('input#uid6').focus( function() {
      if ( this.value == 'Email-Adresse' ) { this.value = '' }
    });
    jQuery('input#uid6').focusout( function() {
      if ( this.value == '' ) { this.value = 'Email-Adresse' }
    });

    jQuery('input#uid7').focus( function() {
      if ( this.value == 'Rückrufnummer' ) { this.value = '' }
    });
    jQuery('input#uid7').focusout( function() {
      if ( this.value == '' ) { this.value = 'Rückrufnummer' }
    });

    jQuery('input#uid10').focus( function() {
      if ( this.value == 'Anmerkung' ) { this.value = '' }
    });
    jQuery('input#uid10').focusout( function() {
      if ( this.value == '' ) { this.value = 'Anmerkung' }
    });

  } 
);


