// JavaScript Document
function showtc()
{
	document.getElementById("tc").style.visibility="visible";
}

function evalid(str)
{
		if(!str.value.match('@'))
		{
				alert("Email not Valid Format... pls Re-Enter Correctly");
		}
}
function checkcom(str)
{

	document.write("<?php $_SESSION['cname']="+str+" ?>");
	document.write("<?php include(\"searchresult.php\"); ?>");
		
}

function checkValid()
{
	var temp1=document.reg.email.value;
	var temp2=document.reg.cemail.value;
	if(temp1==temp2)
	{
		return true;	
	}
	else
	{
		alert("Pls Email doesn't match.. Re-enter Correctly");
	}
}

