
$(document).ready(function(){



$('.zemText, .zemTextarea').each(function() {
    var default_value = this.value;
    $(this).css('color', '#666'); // this could be in the style sheet instead
    $(this).css('font-style', 'italic');
    $(this).focus(function() {
        if(this.value == default_value) {
            this.value = '';
            $(this).css('color', '#333');
            $(this).css('font-style', 'normal');
        }
    });
    $(this).blur(function() {
        if(this.value == '') {
        $(this).css('color', '#666');
        $(this).css('font-style', 'italic');
            this.value = default_value;
        }
    });
});



  //control headlinespaces
  /*$("h2").prev("h1").css("padding", "0 0 0 0");*/

  $('.datum:first').addClass('noborder');

  $('#product_addinfo h2:first').addClass('noborder');

   $('#service-icons td:first-child li:nth-child(1)').css('background','url(images/6.png) left center no-repeat');

    $('#service-icons td:first-child li:nth-child(2)').css('background','url(images/10.png) left center no-repeat');

     $('#service-icons td:first-child li:nth-child(3)').css('background','url(images/7.png) left center no-repeat');

      $('#service-icons td:nth-child(2) li:nth-child(1)').css('background','url(images/9.png) left center no-repeat');

    $('#service-icons td:nth-child(2) li:nth-child(2)').css('background','url(images/8.png) left center no-repeat');

     $('#service-icons td:nth-child(2) li:nth-child(3)').css('background','url(images/11.png) left center no-repeat');

     $("#product_addinfo tr:odd").css("background-color", "#cdcdcd");
     $("#product_addinfo td:first-child").css("text-align", "left");


   /*

    $('#main .kurzinfo li:nth-child(1) a').css('background','url(../images/6.png) left center no-repeat');
    $('#main .kurzinfo li:nth-child(2) a').css('background','url(../images/10.png) left center no-repeat');
    $('#main .kurzinfo li:nth-child(3) a').css('background','url(../images/7.png) left center no-repeat');
         $('#main .kurzinfo li:nth-child(4) a').css('background','url(../images/9.png) left center no-repeat');
          $('#main .kurzinfo li:nth-child(5) a').css('background','url(../images/11.png) left center no-repeat');
  */
//Wechsel der Zeilenfarbe bei Messekalender
//$("tr.expocolumn:even",this).addClass("even");


 //$(".messekalender tr td").parentsUntil(".monthbreak")
  //.css("background-color", "red");



});
