$(function() {
	$('<input type="hidden" name="ContacteOS" value="'+RAND+'">').appendTo("form[name=Contact]");

	var D = document.createElement('input');
	if('placeholder' in D) {}else{
                var active = document.activeElement;
                $('input, textarea').focus(function () {
                   if ($(this).attr('placeholder') != '' && $(this).val() == $(this).attr('placeholder')) {
                      $(this).val('').removeClass('hasPlaceholder');
                   }
                }).blur(function () {
                   if ($(this).attr('placeholder') != '' && ($(this).val() == '' || $(this).val() == $(this).attr('placeholder'))) {
                      $(this).val($(this).attr('placeholder')).addClass('hasPlaceholder');
                   }
                });
                $('input,textarea').blur();
                $(active).focus();
                $('form:eq(0)').submit(function () {
                   $('.hasPlaceholder').val('');
             });
    }
});

