/*
 * SimpleModal Basic Modal Dialog
 * http://www.ericmmartin.com/projects/simplemodal/
 * http://code.google.com/p/simplemodal/
 *
 * Copyright (c) 2010 Eric Martin - http://ericmmartin.com
 *
 * Licensed under the MIT license:
 *   http://www.opensource.org/licenses/mit-license.php
 *
 * Revision: $Id: basic.js 254 2010-07-23 05:14:44Z emartin24 $
 */

//jQuery(function ($) {
	// Load dialog on page load
	//$('#basic-modal-content').modal();

	// Load dialog on click
//	$('#basic-modal .basic').click(function (e) {
//		$('#basic-modal-content').modal();

//		return false;
//	});
//});
/*
if $('#SicilSorgu').click(function() {
var url = "http://www.cananevrensigorta.com.tr/Teklif-Alin/Baro-Basvuru-Formu.aspx";    
$(location).attr('href',url);

} */

function VeriKontrol() {

var httpUrl=false;
if (jQuery('#SclNo').val() == '') {
HataGoster("Lutfen Sicil No alanini bos birakmayiniz.");
httpUrl=false;
return false;
} else


if (jQuery('#SclAdi').val() == '') {
HataGoster("Lutfen Adi alanini bos birakmayiniz.");
httpUrl=false;
return false;

} else

if (jQuery('#SclSoyAdi').val() == '') {
HataGoster("Lutfen Soyadi alanini bos birakmayiniz.");
httpUrl=false;
return false;
} else 
{ window.location.href = "http://www.cananevrensigorta.com.tr/Baro-Uye-Girisi.aspx";

}

function HataGoster(mesaj) {
alert(mesaj);
} 

}
