function try_submit(){
		var org = document.the_form.company.value;
		var fname = document.the_form.first_name.value;
		var lname= document.the_form.last_name.value;
		var email = document.the_form.email.value;
		var postal_code = document.the_form.postal_code.value;
		var phone_number = document.the_form.phone_number.value;
		var captcha = document.the_form.check.value;

		if(org.length == 0 || fname.length == 0 || lname.length == 0 || email.length == 0 || postal_code.length == 0 || phone_number.length == 0){
			//not all required fileds are filled
			$('msg_row').style.display = "";
			document.getElementById('demo_msg_div').innerHTML = "Please complete all fields!";
			new Effect.Highlight('demo_msg_div',{ startcolor: '#d53c28', endcolor: '#f6f3a1' });
		}else if (captcha.length == 0){
			//not all required fileds are filled
			$('msg_row').style.display = "";
			document.getElementById('demo_msg_div').innerHTML = "Please enter the image text into the text box provided.";
			new Effect.Highlight('demo_msg_div',{ startcolor: '#d53c28', endcolor: '#f6f3a1' });
		}else{
			//submit the form
			document.the_form.submit();
		}
	}

	function timezone_change( a ) {
		if ( a == 1 )
		{
			if ( document.the_form['time_zone1'].options[document.the_form['time_zone1'].selectedIndex].value == '' )
			{
				document.getElementById('timezones_other').style.display = "";
				document.the_form['time_zone'].value = document.the_form['time_zone2'].options[document.the_form['time_zone2'].selectedIndex].value ;
			}
			else
			{
				document.getElementById('timezones_other').style.display = 'none' ;
				document.the_form['time_zone'].value = document.the_form['time_zone1'].options[document.the_form['time_zone1'].selectedIndex].value ;
			}
		}
		else
		{
			document.the_form['time_zone'].value = document.the_form['time_zone2'].options[document.the_form['time_zone2'].selectedIndex].value ;
		}
	}
	function update_footer(){
		$('footer_img').src = "web_images/freedemo.gif?rand="+(1000*Math.random());
	}