// JavaScript Document

/*Javascript for history stock quote */
function checkform()
{

	var bval
	bval=true;
		
		
	if(document.frmpositivebrkout.indexval.value=="")
	{
		alert('Please Select Index');
		return false;
	}
	
	if(document.frmpositivebrkout.totaldays.value=="")
	{
		alert('Please Select Days');
		return false;
	}
	
	if(document.frmpositivebrkout.mcap.value=="")
	{
		alert('Please Select Market Capitalization');
		return false;
	}
		
	
	document.frmpositivebrkout.submit();
	
	
}


function submitLink(iScriptID,iScriptName){
	document.frmpositivebrkout.ScriptID.value=iScriptID;
	document.frmpositivebrkout.scripname.value=iScriptName;
	if(checkform()){
		return true;	
	}else{
		return false;
	}
}

function PageNoSubmit(iNo){
	document.frmpositivebrkout.pageno.value=iNo;
	if(checkform()){
		return true;	
	}else{
		return false;
	}
}
