// JavaScript Document

/*Javascript for history stock quote */
function checkform()
{

	var bval
	bval=true;
		
		
	if(document.frm52wkhigh.exchange.value=="")
	{
		alert('Please Select Exchange');
		bval=false;
	}
	
	if(bval){
		document.frm52wkhigh.submit();
	}else{
		return false;
	}
	
	
}

function PageNoSubmit(iNo){
	document.frm52wkhigh.pageno.value=iNo;
	if(checkform()){
		return true;	
	}else{
		return false;
	}
}


function submitLink(iScriptID,iScriptName){
	//document.frmgainerloser.ScriptID.value=iScriptID;
	//document.frmgainerloser.scripname.value=iScriptName;
	/*if(checkform()){
		return true;	
	}else{
		return false;
	}*/
}

function SubmitIndex(indexval){
	document.frmrptsectorcom.ind.value=indexval;
	if(checkform()){
		return true;	
	}else{
		return false;
	}
}
