/*Javascript for history stock quote */
function checkform()
{

	var bval
	bval=true;
	
	if(document.frmnamesymbolchange.changetype.value=="")
	{
		alert('Please Select Change Type');
		bval=false;
	}
	
	if(document.frmnamesymbolchange.sortby.value=="")
	{
		alert('Please Select Sort By');
		bval=false;
	}
	
		
	if(bval){
		document.frmnamesymbolchange.submit();
	}else{
		return false;
	}
	
	
}


function PageNoSubmit(iNo){
	document.frmnamesymbolchange.pageno.value=iNo;
	if(checkform()){
		return true;	
	}else{
		return false;
	}
}



function SubmitIndex(indexval){
	document.frmnamesymbolchange.ind.value=indexval;
	if(checkform()){
		return true;	
	}else{
		return false;
	}
}

