function SubmitForm()
{
 	var mFlag = true;
	

	
	if (mFlag && !ValidateEmpty(document.Form2.fname) )
	{ 
	    mFlag = false;
	}
	
		
	if (mFlag && !ValidateEmpty(document.Form2.email_id) )
	{ 
	    mFlag = false;
	}
	
	if( mFlag && !isEmail_new( document.Form2.email_id.value) )
	{
		alert("Email is not valid.");
		document.Form2.email_id.focus();
		mFlag = false;
	}
    
   if (mFlag && !ValidateEmpty(document.Form2.confirm_email) )
	{ 
	    mFlag = false;
	}
	
	if( mFlag && !isEmail_new( document.Form2.confirm_email.value) )
	{
		alert("Email is not valid.");
		document.Form2.confirm_email.focus();
		mFlag = false;
	}
    
var emailid= document.Form2.email_id.value;
var confirm_email= document.Form2.confirm_email.value;

	if (mFlag && (document.Form2.email_id.value != document.Form2.confirm_email.value) )
	{
		alert("Confirm email address does not match .");
		document.Form2.confirm_email.focus();
		mFlag = false;
	}

    
  if (mFlag && !ValidateEmpty(document.Form2.Website_url) )
    { 
        mFlag = false;
    }

if ( document.Form2.Website_url.value !="" )
    {                     
         if(mFlag && !ValidateUrl(document.Form2.Website_url) )
            { 
                mFlag = false;
            }
    }
    
       
   
	
	
	
	if (mFlag && !ValidateEmpty(document.Form2.Comment) )
	{ 
	    mFlag = false;
	}

        
    if (mFlag && !ValidateEmpty(document.Form2.security_code) )
    { 
        mFlag = false;
    }
	
	return mFlag;
}
