/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

function ContactFormularDefaultText(akce)
{
    if(akce==1)
    {
        if($('#ContactFormularText').val()=='text vaší zprávy')
        {
            $('#ContactFormularText').val('');
            $('#ContactFormularText').addClass('WithText');
        }
    }
    if(akce==2)
    {
        if($('#ContactFormularText').val()=='')
        {
            $('#ContactFormularText').val('text vaší zprávy');
            $('#ContactFormularText').removeClass('WithText');
        }
        if($('#ContactFormularText').val()=='text vaší zprávy')
        {
            $('#ContactFormularText').removeClass('WithText');
        }
    }
    
}

