//######################################//
	  /*Filename:comm_news.js
		Creator:Tapan Kumar Moharana
		Devloped By:Geodesic Ltd
		DevelopFor:Business Standard
		Purpose:function used for redirection*/
//########################################//

//#########call from quick jump of pf#################//
function pfvaluesdwn(pgname) { location.href='pf-'+pgname+'.htm'; }

function ajax_newspf(pg,newsid,st,totcnt,curpg) {
	mainurl = "pf-"+pg;
	if(newsid!= "" && newsid != undefined)	{mainurl+="-"+newsid;}
	if(totcnt!= "" && totcnt != undefined)	{	mainurl+="-"+totcnt;	}
	if(curpg!= "" && curpg != undefined)	{	mainurl+="-"+curpg;	}
	if(st!= "" && st != undefined)	{mainurl+="-"+st;}
	mainurl += ".htm";
	location.href=mainurl;
}

//#########Call From Quick Jump Of MarketNews#################//
function mktnewsvaluesdwn(pgname) { location.href='mktNews-'+pgname+'.htm'; }

function ajax_news(pg,newsid,st,totcnt,curpg) {
		mainurl = "mktNews-"+pg;
		if(newsid!= "" && newsid != undefined)	{mainurl+="-"+newsid;}
		if(totcnt!= "" && totcnt != undefined)	{	mainurl+="-"+totcnt;	}
		if(curpg!= "" && curpg != undefined)	{	mainurl+="-"+curpg;	}
		if(st!= "" && st != undefined)	{mainurl+="-"+st;}
		mainurl += ".htm";
		location.href=mainurl;
}
//##############pf news ends#######################//
