function IncludeJavaScript(jsFile) {
      document.write('<script type="text/javascript" src="' + jsFile + '"></script>');
	 }

IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/ajax.js');
IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/jquery-1.3.2.min.js');
IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/jquery-1.4.2.js');
//IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/jquery-1.6.2.min.js');
//IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/jquery-ui-1.8.16.custom.min.js');
IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/jquery-ui-1.7.1.custom.min.js');
IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/top_up-min.js');
IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/livesearch.js');
IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/ajax_menu.js');
IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/jquery.cycle.all.js');
IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/jquery.maskedinput-1.2.2.js');
IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/rotator.js');
IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/galleryview/jquery.easing.1.3.js');
IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/galleryview/jquery.galleryview-2.1.1.js');
IncludeJavaScript('http://www.encryptedtransaction.net/styles/mothership/jquery/js/galleryview/jquery.timers-1.2.js');


		
function submitForm(form){
		elementsForms = document.getElementsByName("required[]");
		for (var intCounter = 0; intCounter < elementsForms.length; intCounter++)  {
			var required=elementsForms[intCounter].value;
			var msg='The following field is required:\n' + required.replace('_', ' ') + '\n';

			items=document.getElementsByName(required);
			var content=items[0].value;

			if(!content){
				alert(msg);
				items[0].focus();
				return false;
			}
		}
		$(form).submit();
	  }
