function verify(){var msg = document.getElementById('msg').value;var mail = document.getElementById('mail').value;var err = '';var c = false;if(msg=='' || msg==null){err = '- Mesaj kısmını doldurunuz\n';c=true;}if(mail=='' || mail==null || validateEmail(mail)==false){err = err+'- Mail adresini giriniz\n';c=true;	}if(c){	alert(err);	}else{document.getElementById('loading').style.display='';document.contactform.submit();	}} function validateEmail(email) {  var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; if(re.test(email)==false){document.getElementById('mail').style.color='red';}else{document.getElementById('mail').style.color='black';	}return re.test(email);} $(document).ready(function(){$( "#datepicker" ).datepicker( "option", "firstDay", 0 );});$(function(){$('#datepicker').datepicker({		inline: true,		firstDay: 1,		dayNames:['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'],		dayNamesMin:['Pzr', 'Pzts', 'Salı', 'Çarş', 'Perş', 'Cuma', 'Cts'],		minDate:new Date(),		dateFormat: 'dd-MM-yy' ,		monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran','Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'],		nextText:'Sonraki Ay',		prevText:'Önceki Ay'	});	$('#dialog_link, ul#icons li').hover(		function() { $(this).addClass('ui-state-hover'); }, 		function() { $(this).removeClass('ui-state-hover'); }	);	});function checkint(){		$('#phone').bind('keyup', function(e) {		this.value = this.value.replace(/[^0-9]/g,'');});}
function showmore(){
$('#more').slideToggle('slow');
}
