var a='http://ads.rediff.com/RealMedia/ads/';
var RN = new String (Math.random());
var RNS = RN.substring (2, 11);
function da(width, height, posn) {
	var p='www.rediff.com/news-home.htm/1' + RNS + '@' + posn;
	if(v < 11) {
		document.write('<A HREF=' + a + 'click_nx.ads/' + p + '><IMG SRC=' + a + 'adstream_nx.ads/' + p + ' BORDER=0 WIDTH=' + width + ' HEIGHT= ' + height + ' VSPACE=0 HSPACE=0><\/A>');
	} else {
		document.write('<SCRIPT LANGUAGE=JavaScript1.1 SRC=' + a + 'adstream_jx.ads/' + p + '><\/SCRIPT>');
	}
}
function st(t)
{
	for(i=1;i<=15;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";
			}
	  }
}
if ((navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)==4))
{
	document.write("<div style=\"display:none;visibility:hidden;\">");
}
else
{
	document.write("<div style=\"display:block;visibility:visible;\">");
}
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();

}
function ValidateMe7()
{
		var phnno=document.frmprof7.mobileno.value
		var phnlen=document.frmprof7.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.frmprof7.mobileno.focus();
		return false;
		testresult=false
		}
		document.frmprof7.submit();
		document.frmprof7.reset();

}
function ValidateMe8()
{
		var phnno=document.frmprof8.mobileno.value
		var phnlen=document.frmprof8.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.frmprof8.mobileno.focus();
		return false;
		testresult=false
		}
		document.frmprof8.submit();
		document.frmprof8.reset();

}
function ValidateMe9()
{
		var phnno=document.frmprof9.mobileno.value
		var phnlen=document.frmprof9.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.frmprof9.mobileno.focus();
		return false;
		testresult=false
		}
		document.frmprof9.submit();
		document.frmprof9.reset();

}
function ValidateMe10()
{
		var phnno=document.frmprof10.mobileno.value
		var phnlen=document.frmprof10.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.frmprof10.mobileno.focus();
		return false;
		testresult=false
		}
		document.frmprof10.submit();
		document.frmprof10.reset();

}
function ValidateMe11()
{
		var phnno=document.frmprof11.mobileno.value
		var phnlen=document.frmprof11.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.frmprof11.mobileno.focus();
		return false;
		testresult=false
		}
		document.frmprof11.submit();
		document.frmprof11.reset();

}
function ValidateMe12()
{
		var phnno=document.frmprof12.mobileno.value
		var phnlen=document.frmprof12.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.frmprof12.mobileno.focus();
		return false;
		testresult=false
		}
		document.frmprof12.submit();
		document.frmprof12.reset();

}
function ValidateMe13()
{
		var phnno=document.frmprof13.mobileno.value
		var phnlen=document.frmprof13.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.frmprof13.mobileno.focus();
		return false;
		testresult=false
		}
		document.frmprof13.submit();
		document.frmprof13.reset();

}
function ValidateMe14()
{
		var phnno=document.frmprof14.mobileno.value
		var phnlen=document.frmprof14.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.frmprof14.mobileno.focus();
		return false;
		testresult=false
		}
		document.frmprof14.submit();
		document.frmprof14.reset();

}
