/*Javascript for history stock quote */
function checkform()
{
	
	bval=true;	
	if(document.frmindicesvalue.exchange.value=="")
	{
		alert('Please Select Exchange');
		bval=false;
	}
	
	//document.frmsearchquote.action='history-stockquote.asp';
	document.frmindicesvalue.submit();
	
}


function SubmitIndex(indexval){
	document.frmindicesvalue.ind.value=indexval;
	if(checkform()){
		return true;	
	}else{
		return false;
	}
}

function PageNoSubmit(iNo){
	document.frmindicesvalue.pageno.value=iNo;
	if(checkform()){
		return true;	
	}else{
		return false;
	}
}
