function showTable()
	 {
	 	document.getElementById('tableIndex').style.display = "block";
		document.getElementById('sh').style.display = "none";
		document.getElementById('hid').style.display = "block";
		
	 }
	  function hideTable()
	 {
	 	document.getElementById('tableIndex').style.display = "none";
		document.getElementById('sh').style.display = "block";
		document.getElementById('hid').style.display = "none";
		
	 }
function showComm(){
	document.getElementById("comm").style.display="block";
	document.getElementById("hideComm").style.display="block";
	document.getElementById("showComm").style.display="none";
}
function hideComm(){
	document.getElementById("comm").style.display="none";
	document.getElementById("hideComm").style.display="none";
	document.getElementById("showComm").style.display="block";
}

///////////// FORM VALIDATION ///////////////////

function check() {

var flag= false;
	for (var i=0; i<frmc.radiobutton.length; i++)
	 { 
		if (frmc.radiobutton[i].checked == true)
		 { 
			flag= true;
			break;	
		} 
	}
	if(flag==false) 
 		{ 
			alert("You have to choose a button");
			return false; 
		} 

//////////////////	
	if (document.frmc.Email.value=="")
	{
	alert ("Please enter valid email");
	document.frmc.Email.focus();
	return false;
	}
	/*if(document.frmc.Country.value=="")
	{
	alert ("Please select Country");
	document.frmc.Country.focus();
	return false;
	}*/
	if(document.frmc.Comments.value=="")
	{
	alert ("Please enter the comments");
	document.frmc.Comments.focus();
	return false;
	}
	
 if(document.frmc.capcha.value=="JH9KPA")
	{
		return true;
	}
	else
	{
	alert ("Please enter the Text that showing before this box");
	document.frmc.capcha.focus();
	return false;
	}
 }