<!--
var aIds = Array( 'pg_c30d7bf773','pg_8c37eda806' );
function ChangePage( to_hide, to_show )
{
   var tbl_hide = document.getElementById( aIds[to_hide] );
   var tbl_show = document.getElementById( aIds[to_show] );

   if ( typeof(tbl_hide)=='object' && tbl_hide!=null )
    if ( typeof(tbl_show)=='object' && tbl_show!=null )
    {
       tbl_hide.style.display = 'none';
       tbl_show.style.display = '';
    }
}

function NotEmpty( old_res, id, field_title )
{
   if ( old_res==0 )
   {
      var el = document.getElementById( id );
      if ( typeof(el)=='object' && el!=null )
        if ( el.value=='' )
        {
           alert( 'Please enter the "' + field_title + '" information' );
           return 1;
        }
   }
   return 0;
}


function Email( old_res, id, field_title )
{ // test
   if ( old_res==0 )
   {
      var el = document.getElementById( id );
      if ( typeof(el)=='object' && el!=null )
      {
         var re = /^[a-zA-Z0-9_\.\-]+@([a-zA-Z0-9][a-zA-Z0-9-]+\.)+[a-zA-Z]{2,4}$/;

         if (el.value.search(re) != -1 )  return 0;
         else
         {
            alert( 'Please enter a valid "'+field_title+'" address' );
            return 1;
         }
      }
   }
   return 0;
}

function CheckPagec30d7bf773()
{
   var nResult = 0;
   nResult += NotEmpty( nResult, 'fld_4cc83da7f0','Contact' );
   nResult += Email( nResult, 'fld_950ff870c8','E-mail' );

   if ( nResult == 0 )
   {
      if (0)
      {
         var el = document.getElementById( 'frm_d276107bc3' );
         if ( typeof(el)=='object' && el != null ) el.submit();
      }
      else ChangePage( 0, 1 );
   }
}

 function CheckPage8c37eda806()
{
   var nResult = 0;

   if ( nResult == 0 )
   {
      if (1)
      {
         var el = document.getElementById( 'frm_d276107bc3' );
         if ( typeof(el)=='object' && el != null ) el.submit();
      }
      else ChangePage( 1, 2 );
   }
}
--> 
