function st(t)
{
	for(i=1;i<=7;i++)
	  {
		 ts=document.getElementById('t'+i);
		 tr = document.getElementById('d'+i);
		 ta = document.getElementById('a'+i);
		 if(t==i)
			 {
			  ta.className="newlink1";
			  ta.style.fontWeight="bold";
			  tr.style["display"]="block";
			  tr.style["visibility"]="visible";
			 }
		else
			{
			  ta.className="newlink";
			  ta.style.fontWeight="bold";
			  tr.style["display"]="none";
			  tr.style["visibility"]="hidden";
			}
	  }
}
function ValidateMe()
{
var phnno=document.frmprof.mobileno.value
var phnlen=document.frmprof.mobileno.value.length
var anum=/(^\d+$)|(^\d+\.\d+$)/
if (anum.test(phnno) && (phnlen==10))
testresult=true
else{
alert("Invalid number.Please enter the correct number")
document.frmprof.mobileno.focus();
return false;
testresult=false
}
document.frmprof.submit();
document.frmprof.reset();

}
function ValidateMe1()
{
var phnno=document.frmprof1.mobileno.value
var phnlen=document.frmprof1.mobileno.value.length
var anum=/(^\d+$)|(^\d+\.\d+$)/
if (anum.test(phnno) && (phnlen==10))
testresult=true
else{
alert("Invalid number.Please enter the correct number")
document.frmprof1.mobileno.focus();
return false;
testresult=false
}
document.frmprof1.submit();
document.frmprof1.reset();

}
function ValidateMe2()
{
var phnno=document.frmprof2.mobileno.value
var phnlen=document.frmprof2.mobileno.value.length
var anum=/(^\d+$)|(^\d+\.\d+$)/
if (anum.test(phnno) && (phnlen==10))
testresult=true
else{
alert("Invalid number.Please enter the correct number")
document.frmprof2.mobileno.focus();
return false;
testresult=false
}
document.frmprof2.submit();
document.frmprof2.reset();

}
function ValidateMe3()
{
var phnno=document.frmprof3.mobileno.value
var phnlen=document.frmprof3.mobileno.value.length
var anum=/(^\d+$)|(^\d+\.\d+$)/
if (anum.test(phnno) && (phnlen==10))
testresult=true
else{
alert("Invalid number.Please enter the correct number")
document.frmprof3.mobileno.focus();
return false;
testresult=false
}
document.frmprof3.submit();
document.frmprof3.reset();

}
function ValidateMe4()
{
var phnno=document.frmprof4.mobileno.value
var phnlen=document.frmprof4.mobileno.value.length
var anum=/(^\d+$)|(^\d+\.\d+$)/
if (anum.test(phnno) && (phnlen==10))
testresult=true
else{
alert("Invalid number.Please enter the correct number")
document.frmprof4.mobileno.focus();
return false;
testresult=false
}
document.frmprof4.submit();
document.frmprof4.reset();

}
function ValidateMe5()
{
var phnno=document.frmprof5.mobileno.value
var phnlen=document.frmprof5.mobileno.value.length
var anum=/(^\d+$)|(^\d+\.\d+$)/
if (anum.test(phnno) && (phnlen==10))
testresult=true
else{
alert("Invalid number.Please enter the correct number")
document.frmprof5.mobileno.focus();
return false;
testresult=false
}
document.frmprof5.submit();
document.frmprof5.reset();

}
function ValidateMe6()
{
var phnno=document.frmprof6.mobileno.value
var phnlen=document.frmprof6.mobileno.value.length
var anum=/(^\d+$)|(^\d+\.\d+$)/
if (anum.test(phnno) && (phnlen==10))
testresult=true
else{
alert("Invalid number.Please enter the correct number")
document.frmprof6.mobileno.focus();
return false;
testresult=false
}
document.frmprof6.submit();
document.frmprof6.reset();

}
