	function formNew(){

		// Update button text
		$('btnNewAcct').value='Creating...';
	
		new Ajax('/engine.php?action=newacct', {postBody:$('frmNewAcct').toQueryString(), onComplete:function(){

			// Update button text
			$('btnNewAcct').value='Try Again';
			
		}, method: 'post', update: $('frmNewAcct')}).request();
	
	}

	function formLogin(){

		// Update button text
		$('btnLogin').value='Logging in...';
	
		new Ajax('/engine.php?action=login', {postBody:$('frmLogin').toQueryString(), onComplete:function(){

			// Update button text
			$('btnLogin').value='Try again';
			
		}, method: 'post', update: $('body')}).request();
	
	}

	function formSaveInstall(){

		// Update button text
		$('btnSaveInstall').value='Saving...';
	
		new Ajax('/engine.php?action=saveinstall', {postBody:$('frmSaveInstall').toQueryString(), onComplete:function(){

			// Update button text
			$('btnSaveInstall').value='Try saving again';
			
		}, method: 'post', update: $('saveinstall')}).request();
	
	}

	function DeleteSaved(sid){
		if (confirm("Delete this virtual install?"))
		{
			// call Delete Virtual Install function				
			new Ajax('/engine.php?action=deletesaved&sid=' + sid, {onComplete:function(){
			
				//window.location = "http://www.wpzipper.com/virtual.php";
	
			}, method: 'get', update: $('savedlist')}).request();
			
		}
	}