function Checkok ()
{
$ (". Text_red"). Hide ();
i = 0;
if (isNaN ("#MPNation"). Val ())
{
$ ("#errorMsg_1"). Show ();
i++;
}
if ($ ("#RefreshResume_Form"). Find ("#isenglish"). Val ()!= 1)
{
if ($ ("#Mobile"). Val ()!= "mobile number" && isNaN ($ ("#Mobile"). Val ())
{
$ ("#errorMsg_1"). Show ();
i++;
}
if (isNaN ("#HPNation"). Val ())
{
$ ("#errorMsg_2"). Show ();
i++;
}
if ($ ("#HPCity"). Val ()!= "area code" && isNaN ($ ("#HPCity"). Val ())
{
$ ("#errorMsg_2"). Show ();
i++;
}
if ($ ("#HPNumber"). Val ()!= "phone number" && isNaN ($ ("#HPNumber"). Val ())
{
$ ("#errorMsg_2"). Show ();
i++;
}
if (isNaN ("#FPNation"). Val ())
{
$ ("#errorMsg_3"). Show ();
i++;
}
if ($ ("#FPCity"). Val ()!= "area code" && isNaN ($ ("#FPCity"). Val ())
{
$ ("#errorMsg_3"). Show ();
i++;
}
if ($ ("#FPNumber"). Val ()!= "Switchboard number" && isNaN ($ ("#FPNumber"). Val ())
{
$ ("#errorMsg_3"). Show ();
i++;
}
if ($ ("#FPExtension"). Val ()!= "ext" && isNaN ($ ("#FPExtension"). Val ())
{
$ ("#errorMsg_3"). Show ();
i++;
}
}
Else
{
if ($ ("#Mobile"). Val ()!= "Tel." No "&& isNaN ($ (" #Mobile "). Val ())
{
$ ("#errorMsg_1"). Show ();
i++;
}
if (isNaN ("#HPNation"). Val ())
{
$ ("#errorMsg_2"). Show ();
i++;
}
if ($ ("#HPCity"). Val ()!= "City" && isNaN ($ ("#HPCity"). Val ())
{
$ ("#errorMsg_2"). Show ();
i++;
}
if ($ ("#HPNumber"). Val ()!= "Tel." No "&& isNaN ($ (" #HPNumber "). Val ())
{
$ ("#errorMsg_2"). Show ();
i++;
}
if (isNaN ("#FPNation"). Val ())
{
$ ("#errorMsg_3"). Show ();
i++;
}
if ($ ("#FPCity"). Val ()!= "City" && isNaN ($ ("#FPCity"). Val ())
{
$ ("#errorMsg_3"). Show ();
i++;
}
if ($ ("#FPNumber"). Val ()!= "Tel." No "&& isNaN ($ (" #FPNumber "). Val ())
{
$ ("#errorMsg_3"). Show ();
i++;
}
if ($ ("#FPExtension"). Val ()!= "Ext" && isNaN ($ ("#FPExtension"). Val ())
{
$ ("#errorMsg_3"). Show ();
i++;
}
}
if (i > 0) return false;
return true;