// JavaScript Document

function autoFill(id, v){
	$(id).css({ color: "#C4C4C4" }).attr({ value: v }).focus(function(){
		if($(this).val()==v){
			$(this).val("").css({ color: "#4F4F4F" });
		}
	}).blur(function(){
		if($(this).val()==""){
			$(this).css({ color: "#C4C4C4" }).val(v);
		}
	});
}

$(function() {
	$('input.ms-long').css({backgroundColor:"#FFFFFF"});
	$('input.ms-long').focus(function(){
		$(this).css({backgroundColor:"#B9ECFF"});
	});
	$('input.ms-long').blur(function(){
		$(this).css({backgroundColor:"#FFFFFF"});
	});
});

function isValidEmail(email) {
	strSearch = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,5})+$/
	if (strSearch.test(email)) return true;
	else return false;
}

function isNumeric(string) {
	if (string.search) {
		if (( string.search(/\D/) != -1)) return false;
	}
	return true;
}

function isPhone(string)
{
	var valid = "0123456789-+() ";

	for (var i=0; i < string.length; i++) {
		//put in temp variable each character, one at a time.
		temp = "" + string.substring(i, i+1);
		//check index of a phone character in the "valid" variable.
		// if temp contains a character which is not in "valid" variable,
		//then valid.indexOf(temp) will be -1, otherwise it may be 0.1.2.3.4.5.6.7.8 or 9
	
		if (valid.indexOf(temp) == "-1") {
			//alert("Invalid characters in your phone. Please try again.")
			return false;
		}
	}
	//if all conditions are passed, then return true
	return true
}


$(document).ready(function()
{
	document.aspnetForm.ctl00$Content$g_3cd24759_d710_494d_91d3_4f3ae9755701$ff5_new$ctl00$RadioButtons[0].disabled = true;
	
	if(document.getElementById("g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff1_new_ctl00_ctl00_TextField")) {
		autoFill($("#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff1_new_ctl00_ctl00_TextField"), "Your Full Name");
	}
	if(document.getElementById("g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff2_new_ctl00_ctl00_TextField")) {
		autoFill($("#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff2_new_ctl00_ctl00_TextField"), "Your Email Address");
	}
	if(document.getElementById("g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff3_new_ctl00_ctl00_TextField")) {
		autoFill($("#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
	}
	if(document.getElementById("g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff4_new_ctl00_ctl00_TextField")) {
		autoFill($("#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff4_new_ctl00_ctl00_TextField"), "Company Name");
	}
	
	if(document.getElementById("g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff1_new_ctl00_ctl00_TextField")) {
		document.getElementById('g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff1_new_ctl00_ctl00_TextField').select();
		document.getElementById('g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff1_new_ctl00_ctl00_TextField').blur();
	}
	
	//
	
	if(document.getElementById("g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff1_new_ctl00_ctl00_TextField")) {
		autoFill($("#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff1_new_ctl00_ctl00_TextField"), "Your Full Name");
	}
	if(document.getElementById("g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff2_new_ctl00_ctl00_TextField")) {
		autoFill($("#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff2_new_ctl00_ctl00_TextField"), "Your Email Address");
	}
	if(document.getElementById("g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff3_new_ctl00_ctl00_TextField")) {
		autoFill($("#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
	}
	if(document.getElementById("g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff4_new_ctl00_ctl00_TextField")) {
		autoFill($("#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff4_new_ctl00_ctl00_TextField"), "Your Web Address");
	}
	
	if(document.getElementById("g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff1_new_ctl00_ctl00_TextField")) {
		document.getElementById('g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff1_new_ctl00_ctl00_TextField').select();
		document.getElementById('g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff1_new_ctl00_ctl00_TextField').blur();
	}
	
	//
	
	if(document.getElementById("g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff1_new_ctl00_ctl00_TextField")) {
		autoFill($("#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff1_new_ctl00_ctl00_TextField"), "Your Full Name");
	}
	if(document.getElementById("g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff2_new_ctl00_ctl00_TextField")) {
		autoFill($("#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff2_new_ctl00_ctl00_TextField"), "Your Email Address");
	}
	if(document.getElementById("g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff3_new_ctl00_ctl00_TextField")) {
		autoFill($("#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
	}
	if(document.getElementById("g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff4_new_ctl00_ctl00_TextField")) {
		autoFill($("#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff4_new_ctl00_ctl00_TextField"), "Company Name");
	}
	
	if(document.getElementById("g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff1_new_ctl00_ctl00_TextField")) {
		document.getElementById('g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff1_new_ctl00_ctl00_TextField').select();
		document.getElementById('g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff1_new_ctl00_ctl00_TextField').blur();
	}
	
	//
	// obrazec na novi strani
	//
	
	if(document.getElementById("ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff1_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff1_new_ctl00_ctl00_TextField"), "Your Full Name");
	}
	if(document.getElementById("ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff2_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff2_new_ctl00_ctl00_TextField"), "Your Email Address");
	}
	if(document.getElementById("ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff6_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff6_new_ctl00_ctl00_TextField"), "Position");
	}
	if(document.getElementById("ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff3_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
	}
	if(document.getElementById("ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff4_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff4_new_ctl00_ctl00_TextField"), "Company Name");
	}
	if(document.getElementById("ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff7_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff7_new_ctl00_ctl00_TextField"), "VAT Number");
	}
	if(document.getElementById("ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff8_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff8_new_ctl00_ctl00_TextField"), "Address");
	}
	if(document.getElementById("ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff9_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff9_new_ctl00_ctl00_TextField"), "City");
	}
	if(document.getElementById("ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff10_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff10_new_ctl00_ctl00_TextField"), "ZIP Code");
	}
	if(document.getElementById("ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff11_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff11_new_ctl00_ctl00_TextField"), "Country");
	}
	
	if(document.getElementById("ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff1_new_ctl00_ctl00_TextField")) {
		document.getElementById('ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff1_new_ctl00_ctl00_TextField').select();
		document.getElementById('ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff1_new_ctl00_ctl00_TextField').blur();
	}
	
	//
	
	if(document.getElementById("ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff1_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff1_new_ctl00_ctl00_TextField"), "Your Full Name");
	}
	if(document.getElementById("ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff2_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff2_new_ctl00_ctl00_TextField"), "Your Email Address");
	}
	if(document.getElementById("ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff3_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
	}
	if(document.getElementById("ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff4_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff4_new_ctl00_ctl00_TextField"), "Company Name");
	}
	
	if(document.getElementById("ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff1_new_ctl00_ctl00_TextField")) {
		document.getElementById('ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff1_new_ctl00_ctl00_TextField').select();
		document.getElementById('ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff1_new_ctl00_ctl00_TextField').blur();
	}
	
	//
	
	if(document.getElementById("ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff1_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff1_new_ctl00_ctl00_TextField"), "Your Full Name");
	}
	if(document.getElementById("ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff2_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff2_new_ctl00_ctl00_TextField"), "Your Email Address");
	}
	if(document.getElementById("ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff3_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
	}
	if(document.getElementById("ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff4_new_ctl00_ctl00_TextField")) {
		autoFill($("#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff4_new_ctl00_ctl00_TextField"), "Your Web Address");
	}
	
	if(document.getElementById("ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff1_new_ctl00_ctl00_TextField")) {
		document.getElementById('ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff1_new_ctl00_ctl00_TextField').select();
		document.getElementById('ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff1_new_ctl00_ctl00_TextField').blur();
	}

});


function submitPreregistration() {
	
	var name = $("input#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff1_new_ctl00_ctl00_TextField").val();
	if (name == "" || name == "Your Full Name" || name.length < 3) {
		autoFill($("#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff1_new_ctl00_ctl00_TextField"), "Your Full Name");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Full Name!');
		var success = 'no';
		$("input#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff1_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var email = $("input#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff2_new_ctl00_ctl00_TextField").val();
	if (email == "" || email == "Your Email Address") {
		autoFill($("#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff2_new_ctl00_ctl00_TextField"), "Your Email Address");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Email Address!');
		var success = 'no';
		$("input#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff2_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var email = $("input#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff2_new_ctl00_ctl00_TextField").val();
	if (!isValidEmail(email)) {
		//autoFill($("#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff2_new_ctl00_ctl00_TextField"), "Your Valid Email Address");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Valid Email Address!\ne.g.: your.name@domain.com');
		var success = 'no';
		$("input#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff2_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var phone = $("input#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff3_new_ctl00_ctl00_TextField").val();
	if (phone == "" || phone == "Your Phone Number" || phone.length < 6) {
		autoFill($("#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Phone Number!\nOnly numeric, +, -, (, ) and space values are allowed!\ne.g.: +386 (01) 123 45 67');
		var success = 'no';
		$("input#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff3_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var phone = $("input#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff3_new_ctl00_ctl00_TextField").val();
	if (!isPhone(phone)) {
		//autoFill($("#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Phone Number!\nOnly numeric, +, -, (, ) and space values are allowed!\ne.g.: +386 (01) 123 45 67');
		var success = 'no';
		$("input#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff3_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var company = $("input#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff4_new_ctl00_ctl00_TextField").val();
	if (company == "" || company == "Your Company Name" || company.length < 3) {
		autoFill($("#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff4_new_ctl00_ctl00_TextField"), "Company Name");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Company Name!');
		var success = 'no';
		$("input#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff4_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	
	return true;
};


function submitSpeaker() {
	
	var name = $("input#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff1_new_ctl00_ctl00_TextField").val();
	if (name == "" || name == "Your Full Name" || name.length < 3) {
		autoFill($("#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff1_new_ctl00_ctl00_TextField"), "Your Full Name");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Full Name!');
		var success = 'no';
		$("input#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff1_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var email = $("input#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff2_new_ctl00_ctl00_TextField").val();
	if (email == "" || email == "Your Email Address") {
		autoFill($("#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff2_new_ctl00_ctl00_TextField"), "Your Email Address");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Email Address!');
		var success = 'no';
		$("input#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff2_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var email = $("input#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff2_new_ctl00_ctl00_TextField").val();
	if (!isValidEmail(email)) {
		//autoFill($("#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff2_new_ctl00_ctl00_TextField"), "Your Valid Email Address");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Valid Email Address!\ne.g.: your.name@domain.com');
		var success = 'no';
		$("input#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff2_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var phone = $("input#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff3_new_ctl00_ctl00_TextField").val();
	if (phone == "" || phone == "Your Phone Number" || phone.length < 6) {
		autoFill($("#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Phone Number!\nOnly numeric, +, -, (, ) and space values are allowed!\ne.g.: +386 (01) 123 45 67');
		var success = 'no';
		$("input#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff3_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var phone = $("input#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff3_new_ctl00_ctl00_TextField").val();
	if (!isPhone(phone)) {
		//autoFill($("#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Phone Number!\nOnly numeric, +, -, (, ) and space values are allowed!\ne.g.: +386 (01) 123 45 67');
		var success = 'no';
		$("input#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff3_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var web = $("input#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff4_new_ctl00_ctl00_TextField").val();
	if (web == "" || web == "Your Web Address" || web.length < 3) {
		autoFill($("#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff4_new_ctl00_ctl00_TextField"), "Your Web Address");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Web Address!');
		var success = 'no';
		$("input#g_0128942b_7bc6_4ea0_b863_9bf390f2bbec_ff4_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	
	return true;
};


function submitSponsor() {
	
	var name = $("input#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff1_new_ctl00_ctl00_TextField").val();
	if (name == "" || name == "Your Full Name" || name.length < 3) {
		autoFill($("#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff1_new_ctl00_ctl00_TextField"), "Your Full Name");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Full Name!');
		var success = 'no';
		$("input#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff1_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var email = $("input#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff2_new_ctl00_ctl00_TextField").val();
	if (email == "" || email == "Your Email Address") {
		autoFill($("#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff2_new_ctl00_ctl00_TextField"), "Your Email Address");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Email Address!');
		var success = 'no';
		$("input#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff2_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var email = $("input#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff2_new_ctl00_ctl00_TextField").val();
	if (!isValidEmail(email)) {
		//autoFill($("#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff2_new_ctl00_ctl00_TextField"), "Your Valid Email Address");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Valid Email Address!\ne.g.: your.name@domain.com');
		var success = 'no';
		$("input#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff2_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var phone = $("input#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff3_new_ctl00_ctl00_TextField").val();
	if (phone == "" || phone == "Your Phone Number" || phone.length < 6) {
		autoFill($("#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Phone Number!\nOnly numeric, +, -, (, ) and space values are allowed!\ne.g.: +386 (01) 123 45 67');
		var success = 'no';
		$("input#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff3_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var phone = $("input#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff3_new_ctl00_ctl00_TextField").val();
	if (!isPhone(phone)) {
		//autoFill($("#g_987af6ed_f55d_4f1c_8ef8_35839097089d_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Phone Number!\nOnly numeric, +, -, (, ) and space values are allowed!\ne.g.: +386 (01) 123 45 67');
		var success = 'no';
		$("input#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff3_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var company = $("input#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff4_new_ctl00_ctl00_TextField").val();
	if (company == "" || company == "Your Company Name" || company.length < 3) {
		autoFill($("#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff4_new_ctl00_ctl00_TextField"), "Company Name");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Company Name!');
		var success = 'no';
		$("input#g_ca017524_c8d8_462b_89d6_17671f10f8ed_ff4_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	
	return true;
};

function submitRegistration() {
	
	var name = $("input#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff1_new_ctl00_ctl00_TextField").val();
	if (name == "" || name == "Your Full Name" || name.length < 3) {
		autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff1_new_ctl00_ctl00_TextField"), "Your Full Name");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Full Name!');
		var success = 'no';
		$("input#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff1_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var email = $("input#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff2_new_ctl00_ctl00_TextField").val();
	if (email == "" || email == "Your Email Address") {
		autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff2_new_ctl00_ctl00_TextField"), "Your Email Address");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Email Address!');
		var success = 'no';
		$("input#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff2_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var email = $("input#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff2_new_ctl00_ctl00_TextField").val();
	if (!isValidEmail(email)) {
		//autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff2_new_ctl00_ctl00_TextField"), "Your Valid Email Address");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Valid Email Address!\ne.g.: your.name@domain.com');
		var success = 'no';
		$("input#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff2_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var phone = $("input#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff3_new_ctl00_ctl00_TextField").val();
	if (phone == "" || phone == "Your Phone Number" || phone.length < 6) {
		autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Phone Number!\nOnly numeric, +, -, (, ) and space values are allowed!\ne.g.: +386 (01) 123 45 67');
		var success = 'no';
		$("input#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff3_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var phone = $("input#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff3_new_ctl00_ctl00_TextField").val();
	if (!isPhone(phone)) {
		//autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Phone Number!\nOnly numeric, +, -, (, ) and space values are allowed!\ne.g.: +386 (01) 123 45 67');
		var success = 'no';
		$("input#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff3_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var company = $("input#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff4_new_ctl00_ctl00_TextField").val();
	if (company == "" || company == "Your Company Name" || company.length < 3) {
		autoFill($("#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff4_new_ctl00_ctl00_TextField"), "Company Name");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Company Name!');
		var success = 'no';
		$("input#ctl00_Content_g_3cd24759_d710_494d_91d3_4f3ae9755701_ff4_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	
	return true;
};


function submitTheSponsor() {
	
	var name = $("input#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff1_new_ctl00_ctl00_TextField").val();
	if (name == "" || name == "Your Full Name" || name.length < 3) {
		autoFill($("#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff1_new_ctl00_ctl00_TextField"), "Your Full Name");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Full Name!');
		var success = 'no';
		$("input#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff1_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var email = $("input#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff2_new_ctl00_ctl00_TextField").val();
	if (email == "" || email == "Your Email Address") {
		autoFill($("#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff2_new_ctl00_ctl00_TextField"), "Your Email Address");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Email Address!');
		var success = 'no';
		$("input#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff2_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var email = $("input#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff2_new_ctl00_ctl00_TextField").val();
	if (!isValidEmail(email)) {
		//autoFill($("#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff2_new_ctl00_ctl00_TextField"), "Your Valid Email Address");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Valid Email Address!\ne.g.: your.name@domain.com');
		var success = 'no';
		$("input#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff2_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var phone = $("input#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff3_new_ctl00_ctl00_TextField").val();
	if (phone == "" || phone == "Your Phone Number" || phone.length < 6) {
		autoFill($("#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Phone Number!\nOnly numeric, +, -, (, ) and space values are allowed!\ne.g.: +386 (01) 123 45 67');
		var success = 'no';
		$("input#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff3_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var phone = $("input#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff3_new_ctl00_ctl00_TextField").val();
	if (!isPhone(phone)) {
		//autoFill($("#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Phone Number!\nOnly numeric, +, -, (, ) and space values are allowed!\ne.g.: +386 (01) 123 45 67');
		var success = 'no';
		$("input#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff3_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var company = $("input#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff4_new_ctl00_ctl00_TextField").val();
	if (company == "" || company == "Company Name" || company.length < 3) {
		autoFill($("#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff4_new_ctl00_ctl00_TextField"), "Company Name");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Company Name!');
		var success = 'no';
		$("input#ctl00_Content_g_d8eb4f65_8d77_4891_bc6b_c621922a2757_ff4_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	
	return true;
};


function submitTheSpeaker() {
	
	var name = $("input#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff1_new_ctl00_ctl00_TextField").val();
	if (name == "" || name == "Your Full Name" || name.length < 3) {
		autoFill($("#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff1_new_ctl00_ctl00_TextField"), "Your Full Name");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Full Name!');
		var success = 'no';
		$("input#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff1_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var email = $("input#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff2_new_ctl00_ctl00_TextField").val();
	if (email == "" || email == "Your Email Address") {
		autoFill($("#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff2_new_ctl00_ctl00_TextField"), "Your Email Address");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Email Address!');
		var success = 'no';
		$("input#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff2_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var email = $("input#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff2_new_ctl00_ctl00_TextField").val();
	if (!isValidEmail(email)) {
		//autoFill($("#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff2_new_ctl00_ctl00_TextField"), "Your Valid Email Address");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Valid Email Address!\ne.g.: your.name@domain.com');
		var success = 'no';
		$("input#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff2_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var phone = $("input#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff3_new_ctl00_ctl00_TextField").val();
	if (phone == "" || phone == "Your Phone Number" || phone.length < 6) {
		autoFill($("#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Phone Number!\nOnly numeric, +, -, (, ) and space values are allowed!\ne.g.: +386 (01) 123 45 67');
		var success = 'no';
		$("input#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff3_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var phone = $("input#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff3_new_ctl00_ctl00_TextField").val();
	if (!isPhone(phone)) {
		//autoFill($("#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff3_new_ctl00_ctl00_TextField"), "Your Phone Number");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Phone Number!\nOnly numeric, +, -, (, ) and space values are allowed!\ne.g.: +386 (01) 123 45 67');
		var success = 'no';
		$("input#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff3_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	var web = $("input#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff4_new_ctl00_ctl00_TextField").val();
	if (web == "" || web == "Your Web Address" || web.length < 3) {
		autoFill($("#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff4_new_ctl00_ctl00_TextField"), "Your Web Address");
		$(this).css({Color:"#FF0000"});
		alert('Please enter: Your Web Address!');
		var success = 'no';
		$("input#ctl00_Content_g_13bdcae9_e36b_46b7_9795_9e5e52754bc0_ff4_new_ctl00_ctl00_TextField").focus();
		return false;
	}
	
	return true;
};
