Ah ! after large number of tries i am not able to set an ALERT on NOT selecting any of the radiobuttons.
here is my script :
function countselections(rad)
		{
			if(!countselections(testerpage.rad))
			{
			alert("please select either one of them ");
			return(false);
			}
 		  return(true);
		}