function coll()
{
	//var switc=false;
	var arr="";
	var t=0;
	for(var k=0;k<(document.form1.classsec.length);k++)
	{
		if(document.form1.classsec.options[k].selected)
		{
			if(t==0)
			{
				arr=arr+document.form1.classsec.options[k].text;			
			}
			else
			{
				arr=arr+","+document.form1.classsec.options[k].text;
			}
			t=t+1;
		}
	}
	document.form1.csec.value=arr;
	if((document.form1.csec.value).length<=0)
	{
		alert("Please select class(es) and section(s)");
		return false;
	}
	for(var l=2;l<=34;l++)
	{



		document.form1.elements[l].value=(document.form1.elements[l].value).replace(/'/g,"\'");
		document.form1.elements[l].value=(document.form1.elements[l].value).replace(/"/g,'\"');
	}



	if((document.form1.teacher.value).length<=0)
		{
			alert("You forgot to enter teacher's name");
			return false;
		}
	if((document.form1.datefrom.value).length<=0)
		{
			alert("You forgot to enter start date");
			return false;
		}
	if((document.form1.dateto.value).length<=0)
		{
			alert("You forgot to enter end date");
			return false;
		}
	if((document.form1.concept.value).length<=0)
		{
			alert("You forgot to enter concept");
			return false;
		}
	if((document.form1.objective.value).length<=0)
		{
			alert("You forgot to enter objective");
			return false;
		}
	return true;
}
function evalua()
{
	if((((document.form1.subject.options[document.form1.subject.selectedIndex]).text)=="Hindi") || (((document.form1.subject.options[document.form1.subject.selectedIndex]).text)=="Sanskrit") || (((document.form1.subject.options[document.form1.subject.selectedIndex]).text)=="Hindi(NOS)"))
	{
		document.location="http://www.vasantvalley.org/lessonplan/lp_main.htm";
	}
	if(((document.form1.subject.options[document.form1.subject.selectedIndex]).text)=="Physical Education")
	{
		document.location="http://www.vasantvalley.org/lessonplan/ph_main.htm";
	}	
}
