// onload, page ready
$( document ).ready( function()
{
  // Alle Links die die Klasse "nyro" besitzen werden über nyroModal dargestellt
  $( 'a.nyro' ).nyroModal();
  $('.nyroModal').nyroModal();
  
  $( ".showhidetab" ).toggle( function()
  {
    $( this ).removeClass( "up" );
    $( ".content-holder" ).animate({
      height: "25px"
    }, { duration: 500, queue: false });
    $( ".content-pad" ).hide();
  }, function()
  {
    $( this ).addClass( "up" );
    $( ".content-holder" ).animate({
      height: "430px"
    }, { duration: 500, queue: false });
    $( ".content-pad" ).show();
  } );
  
} );



function checkInputValue( iv, defVal )
{
  if ( iv.value == defVal )
  {
    iv.value = '';
  }
}

function checkInputValueOut( iv, defVal )
{
  if ( iv.value == '' )
  {
    iv.value = defVal;
  }
}
