// JScript File

function FormSubmitHandler (formName) 
{    
    var workingForm = document.getElementById(formName);
	var htmlbody = document.getElementById("htmlbody");
    htmlbody.value = workingForm.innerHTML;   
          
    /*var i = htmlbody.value.indexOf("checkbox");
    if ( i > 0)
    {
        var str = htmlbody.value.substring(i);   
        alert(str);
    }*/
    return false;
}

//function YY_checkform('businessRequestForm','businessname','#q','0','Please enter the registered Name of Business','asName','#q','0','Please enter the Business Name','principals','#q','0','Please enter the Principals \\\(Owner\\\(s\\\)/ Directors','year established','#q','0','Please enter the Year established','contact','#q','0','Please enter the Contact Person','contact title','#q','0','Please enter the Contact Title','type of business','#q','0','Please enter the Type of Business','address','#q','0','Please enter the Address','phone','#q','0','Please enter the Phone Number','email','S','2','Please enter the Email Address');
//return document.MM_returnValue


