
function submitForm()
{
document.toShowOrder.submit();
}


//Global XMLHTTP Request object
var XmlHttp;

//Creating and setting the instance of appropriate XMLHTTP Request object to a “XmlHttp” variable  
function CreateXmlHttp()
{
	//Creating object of XMLHTTP in IE
	try
	{
		XmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch(e)
	{
		try
		{
			XmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
		} 
		catch(oc)
		{
			XmlHttp = null;
		}
	}
	//Creating object of XMLHTTP in Mozilla and Safari 
	if(!XmlHttp && typeof XMLHttpRequest != "undefined") 
	{
		XmlHttp = new XMLHttpRequest();
	}
}

//Gets called when country combo box selection changes
function OnCountryChange() 
{
	var countryList = document.getElementById("Country");

	//Getting the selected country from country combo box.
	var selectedCountry = countryList.options[countryList.selectedIndex].value;
	//alert(selectedCountry);
	// URL to get states for a given country
	
	var requestUrl = "/Ajax/GetStateList.asp?SelectedCountry=" + encodeURIComponent(selectedCountry);
	CreateXmlHttp();
	
	// If browser supports XMLHTTPRequest object
	if(XmlHttp)
	{
		//Setting the event handler for the response
		XmlHttp.onreadystatechange = HandleResponse;
		
		//Initializes the request object with GET (METHOD of posting), 
		//Request URL and sets the request as asynchronous.
		XmlHttp.open("GET", requestUrl,  true);
		
		//Sends the request to server
		XmlHttp.send(null);		
	}
}

function OnQuoteChange(sid, contractMonth) 
{

	var quote = document.getElementById("cmbQuote");
	var selectedQuote = quote.options[quote.selectedIndex].value;
	
	if (selectedQuote == "")
		return;
	var requestUrl
	requestUrl = "/Ajax/GetQuote.asp?Quote=" + encodeURIComponent(selectedQuote) + "&sid=" + sid;
	
	if (sid == "102" || sid == "108" || sid == "110")
	{
		var contractMonth = document.getElementById("contractMonth");
		
		contractMonth = contractMonth.options[contractMonth.selectedIndex].text;
		requestUrl += "&ContractMonth=" + contractMonth;
		
	}
	//alert(requestUrl);
	CreateXmlHttp();
	
	// If browser supports XMLHTTPRequest object
	if(XmlHttp)
	{
		//Setting the event handler for the response
		XmlHttp.onreadystatechange = HandleQuoteResponse;
		
		//Initializes the request object with GET (METHOD of posting), 
		//Request URL and sets the request as asynchronous.
		XmlHttp.open("GET", requestUrl,  true);
		
		//Sends the request to server
		XmlHttp.send(null);		
	}
}

function OnLoginClick()
{
	showdeadcenterdiv("loginSubmit", "loader");
	
	var UserName = document.getElementById("UserName").value;
	var Password = document.getElementById("Password").value;
	//var flag = document.getElementById("Flag").value;
	//var RememberMe = document.getElementById("RememberMe").checked;
	var RememberMe = "off";
	
	//alert("aa");
	var requestUrl
	requestUrl = "/Ajax/Login.asp?UserName=" + UserName + "&Password=" + Password + "&RememberMe=" + RememberMe;
	//alert(requestUrl);
	CreateXmlHttp();
	
	// If browser supports XMLHTTPRequest object
	if(XmlHttp)
	{
		//Setting the event handler for the response
		XmlHttp.onreadystatechange = HandleLoginResponse;
		
		//Initializes the request object with GET (METHOD of posting), 
		//Request URL and sets the request as asynchronous.
		XmlHttp.open("GET", requestUrl,  true);
		
		//Sends the request to server
		XmlHttp.send(null);		
	}
	
}

function OnStockChatLoad(isSingleRow)
{
	//alert("aa");
	
	var requestUrl
	if (isSingleRow == true)
		requestUrl = "/Ajax/StockChatSingleRow.asp?rand=" + Math.floor(Math.random()*10000);
	else
		requestUrl = "/Ajax/StockChat.asp?rand=" + Math.floor(Math.random()*10000);
	//alert(requestUrl);
	CreateXmlHttp();
	
	// If browser supports XMLHTTPRequest object
	if(XmlHttp)
	{
		//Setting the event handler for the response
		if (isSingleRow == true)
			XmlHttp.onreadystatechange = HandleStockChatResponseSingleRow;
		else
			XmlHttp.onreadystatechange = HandleStockChatResponse;
		
		//Initializes the request object with GET (METHOD of posting), 
		//Request URL and sets the request as asynchronous.
		XmlHttp.open("GET", requestUrl,  true);
		
		//Sends the request to server
		XmlHttp.send(null);		
	}
	
}

function OnAdminStockChatLoad(isSingleRow)
{
	//alert("aa");
	
	var requestUrl
	if (isSingleRow == true)
		requestUrl = "/Ajax/StockChatSingleRow_Admin.asp?rand=" + Math.floor(Math.random()*10000);
	else
		requestUrl = "/Ajax/StockChat_Admin.asp?rand=" + Math.floor(Math.random()*10000);
	//alert(requestUrl);
	CreateXmlHttp();
	
	// If browser supports XMLHTTPRequest object
	if(XmlHttp)
	{
		//Setting the event handler for the response
		if (isSingleRow == true)
			XmlHttp.onreadystatechange = HandleStockChatResponseSingleRowAdmin;
		else
			XmlHttp.onreadystatechange = HandleStockChatResponse;
		
		//Initializes the request object with GET (METHOD of posting), 
		//Request URL and sets the request as asynchronous.
		XmlHttp.open("GET", requestUrl,  true);
		
		//Sends the request to server
		XmlHttp.send(null);		
	}
	
}

function OnForgotPasswordClick()
{
	//document.getElementById("Submit").value = "Processing...";
	
	var EmailAddress = document.getElementById("EmailAddress").value;
	//alert("aa");
	var requestUrl
	requestUrl = "/Ajax/ForgotPassword.asp?EmailAddress=" + EmailAddress;
	//alert(requestUrl);
	CreateXmlHttp();
	
	// If browser supports XMLHTTPRequest object
	if(XmlHttp)
	{
		//Setting the event handler for the response
		XmlHttp.onreadystatechange = HandleForgotPasswordResponse;
		
		//Initializes the request object with GET (METHOD of posting), 
		//Request URL and sets the request as asynchronous.
		XmlHttp.open("GET", requestUrl,  true);
		
		//Sends the request to server
		XmlHttp.send(null);		
	}
	//document.getElementById("Submit").value = "Login";
}

//Called when response comes back from server
function HandleResponse()
{

	// To make sure receiving response data from server is completed
	if(XmlHttp.readyState == 4)
	{
		// To make sure valid response is received from the server, 200 means response received is OK
		if(XmlHttp.status == 200)
		{	
			ClearAndSetStateListItems(XmlHttp.responseXML.documentElement);
		}
		else
		{
			alert("There was a problem retrieving data from the server." );
		}
	}
}

function HandleContractMonthResponse()
{
	// To make sure receiving response data from server is completed
	if(XmlHttp.readyState == 4)
	{
		// To make sure valid response is received from the server, 200 means response received is OK
		if(XmlHttp.status == 200)
		{	
			ClearAndSetContractMonth(XmlHttp.responseText);
		}
		else
		{
			alert("There was a problem retrieving data from the server." );
		}
	}
}

function HandleQuoteResponse()
{

	// To make sure receiving response data from server is completed
	if(XmlHttp.readyState == 4)
	{
		// To make sure valid response is received from the server, 200 means response received is OK
		if(XmlHttp.status == 200)
		{	
			//alert(XmlHttp.responseText);
			
			PopulateQuoteDetails(XmlHttp.responseXML.documentElement)
		}
		else
		{
			alert("There was a problem retrieving data from the server." );
		}
	}
}

function HandleLoginResponse()
{

	// To make sure receiving response data from server is completed
	if(XmlHttp.readyState == 4)
	{
		// To make sure valid response is received from the server, 200 means response received is OK
		if(XmlHttp.status == 200)
		{	
			//alert(XmlHttp.responseText);
			PopulateLoginErrorMessage(XmlHttp.responseXML.documentElement)
		}
		else
		{
			alert("There was a problem retrieving data from the server." );
			//document.getElementById("errLabel").innerText = "There was a problem retrieving data from the server.";
			//document.getElementById("errLabel").textContent = "There was a problem retrieving data from the server.";
			document.getElementById("loginSubmit").value = "Login";
			document.getElementById("loginSubmit").disabled = false;
			document.getElementById("loader").style.display = "none";
			document.getElementById("UserName").focus();
		}
	}
}

function HandleStockChatResponse()
{

	// To make sure receiving response data from server is completed
	if(XmlHttp.readyState == 4)
	{
		// To make sure valid response is received from the server, 200 means response received is OK
		if(XmlHttp.status == 200)
		{	
			//alert(XmlHttp.responseText);
			if (XmlHttp.responseText != "")
			{
				document.getElementById("chatDisp").innerHTML = XmlHttp.responseText;// + document.getElementById("chatDisplay").innerHTML;
			}
		}
		else
		{
			window.location.reload(true);
		}
	}
}

function HandleStockChatResponseSingleRow()
{

	// To make sure receiving response data from server is completed
	if(XmlHttp.readyState == 4)
	{
		// To make sure valid response is received from the server, 200 means response received is OK
		if(XmlHttp.status == 200)
		{	
			//alert(XmlHttp.responseText);
			if (XmlHttp.responseText != "")
			{
				if(document.getElementById("live_market") != null)
					document.getElementById("live_market").style.display = "none";
				document.getElementById("chatDisp").innerHTML = XmlHttp.responseText + document.getElementById("chatDisp").innerHTML;
				//if (navigator.appName == "Microsoft Internet Explorer")
					window.focus();
				//else
				//	alert("New message has been posted!");
				//window.open ("/Login/Subs/NewMsg.asp", "newMsg", "width=200, height=100, scrollbars=1;statusbar=0;")
				window.open ("/AJAX/NewMsg.asp", "newMsg", "width=300, height=150, scrollbars=1;statusbar=0;")
			}
		}
		else
		{
			window.location.reload(true);
		}
	}
}

function HandleStockChatResponseSingleRowAdmin()
{
	if(XmlHttp.readyState == 4)
	{
		if(XmlHttp.status == 200)
		{	
			if (XmlHttp.responseText != "")
			{
				if(document.getElementById("live_market") != null)
					document.getElementById("live_market").style.display = "none";
				document.getElementById("chatDisp").innerHTML = XmlHttp.responseText + document.getElementById("chatDisp").innerHTML;
				window.focus();
			}
		}
		else
		{
			window.location.reload(true);
		}
	}
}

function HandleForgotPasswordResponse()
{

	// To make sure receiving response data from server is completed
	if(XmlHttp.readyState == 4)
	{
		//alert(XmlHttp.status);
		// To make sure valid response is received from the server, 200 means response received is OK
		if(XmlHttp.status == 200)
		{	
			//alert(XmlHttp.responseText);
			PopulateForgotPasswordErrorMessage(XmlHttp.responseXML.documentElement)
		}
		else
		{
			alert("There was a problem retrieving data from the server." );
			document.getElementById("loginSubmit").value = "Login";
			document.getElementById("loginSubmit").disabled = false;
			document.getElementById("loader").style.display = "none";
		}
	}
}

function PopulateLoginErrorMessage(loginNode)
{
	var msg = loginNode.getAttribute("msg");
	if (msg == "Success")
	{
		window.location.href = "/Redirect.asp?From=Login";
	}
	else if (msg == "ActivationRequired")
	{
		window.location.href = "/Login/AccountNotActivated.asp";
	}
	else
	{
		alert(msg);
		//document.body.inn
		//document.getElementById("errLabel").innerText = msg;
		//document.getElementById("errLabel").textContent = msg;
		document.getElementById("loginSubmit").value = "Login";
		document.getElementById("loginSubmit").disabled = false;
		document.getElementById("loader").style.display = "none";
		document.getElementById("UserName").focus();
	}
}

function PopulateForgotPasswordErrorMessage(fpNode)
{
	var msg = fpNode.getAttribute("msg");
	if (msg == "Success")
	{
		document.getElementById("forgotpassword_error").innerText = msg;
	}
	else
	{
		alert(msg);
		//document.getElementById("forgotpassword_error").innerText = msg;
		//document.getElementById("forgotpassword_error").textContent = msg;
	}
}


function PopulateQuoteDetails(quoteNode)
{
	//alert(quoteNode.getAttribute("last_traded_price"));
	//alert(quoteNode.innerText);
	//var nodQuote = quoteNode.getElementsByTagName('Quote');

	//alert(quoteNode.getAttribute("company_code"));
	//var nodCompanyName = quoteNode.getElementsByTagName('company_name');
	//var nodCurrentPrice = quoteNode.getElementsByTagName('last_traded_price');
	////alert(nodCurrentPrice[0].innerText);
	////var companyName = document.getElementById("companyName");
	//alert(quoteNode.getAttribute("company_name"));
	
	document.getElementById("companyName").innerText = quoteNode.getAttribute("company_name");
	//document.getElementById("hidCompanyName").innerText = quoteNode.getAttribute("company_name");
	//document.getElementById("txtCurrentPrice").innerText = quoteNode.getAttribute("last_traded_price");
	document.getElementById("companyName").textContent = quoteNode.getAttribute("company_name");
	var lotSize = quoteNode.getAttribute("lot_size");
	if (lotSize == null)
	{
		lotSize = "0";
	}
	if (lotSize != "0")
	{
		document.getElementById("companyName").innerText += " - Lot Size: " + lotSize;
		document.getElementById("companyName").textContent += " - Lot Size: " + lotSize;
	}
	
	document.getElementById("hidCompanyName").value = quoteNode.getAttribute("company_name");
	document.getElementById("hidLotSize").value = lotSize;
	
	document.getElementById("txtCurrentPrice").value = quoteNode.getAttribute("last_traded_price");
	
}

//Clears the contents of state combo box and adds the states of currently selected country
function ClearAndSetStateListItems(countryNode)
{
    var stateList = document.getElementById("State");
	//Clears the state combo box contents.
	for (var count = stateList.options.length-1; count >-1; count--)
	{
		stateList.options[count] = null;
	}

	var stateNodes = countryNode.getElementsByTagName('Choices');
	stateNodes = countryNode.getElementsByTagName('Choice');
	var text; 
	var optionItem;
	var value;
	
	//Add new states list to the state combo box.
	for (var count = 0; count < stateNodes.length; count++)
	{
   		text = GetInnerText(stateNodes[count]);
   		if (text == undefined)
   			text = ""
   		value = stateNodes[count].getAttribute("value");
   		//alert(textValue);
		optionItem = new Option( text, value,  false, false);
		stateList.options[stateList.length] = optionItem;
	}
}


function ClearAndSetContractMonth(list)
{


    var stateList = document.getElementById("contractMonth");
	if (list == "")
	{
		stateList.value = "";
		return false;
	}

	//Clears the state combo box contents.
	/*
	for (var count = stateList.options.length-1; count >-1; count--)
	{
		stateList.options[count] = null;
	}
	*/
	var text; 
	var optionItem;
	var value;
	var l_ArrayScripts;
	l_ArrayScripts = list.split(",");
	/*
	//Add new states list to the state combo box.
	for (var count = l_ArrayScripts.length-1; count >= 0; count--)
	{
		text = l_ArrayScripts[count].toUpperCase()
   		if (text == undefined)
   			text = ""
   		value = text;
   		//alert(textValue);
		optionItem = new Option( text, value,  false, false);
		stateList.options[stateList.length] = optionItem;
	}
	*/
	stateList.value = l_ArrayScripts[l_ArrayScripts.length-1];
}


//Returns the node text value 
function GetInnerText (node)
{
	 return (node.textContent || node.innerText || node.text) ;
}

function OnCallTypeChange()
{
	var frm = document.frmQuote;
	var callTypeValue = frm.cmbCallType.options[frm.cmbCallType.selectedIndex].value;
	//alert(callTypeValue);
	if (callTypeValue == '103' || callTypeValue == '104')
	{
		frm.cmbType.selectedIndex = 0;
		//frm.cmbType.disabled = true;
		frm.cmbType.readonly = true;
	}
	else if (callTypeValue == "107")
	{
		frm.cmbType.selectedIndex = 1;
		//frm.cmbType.disabled = true;
	}
	else
	{
		//frm.cmbType.disabled = false;
	}
}

function OnCheckTwoChange()
{
	var frm = document.frmQuote;
	var checkValue = frm.m_CheckTwo.checked;
	
	if (checkValue == false)
	{
		frm.txtBuySell2.disabled = true;
		frm.txtTarget12.disabled = true;
		frm.txtTarget22.disabled = true;
		frm.txtStoploss2.disabled = true;
		if(document.getElementById("tabTwo") != null)
			document.getElementById("tabTwo").style.display = "none";
	}
	else
	{
		frm.txtBuySell2.disabled = false;
		frm.txtTarget12.disabled = false;
		frm.txtTarget22.disabled = false;
		frm.txtStoploss2.disabled = false;
		if(document.getElementById("tabTwo") != null)
			document.getElementById("tabTwo").style.display = "block";
	}
	
}


function OnPredefinedCheckChange()
{
	var frm = document.frmQuote;
	var checkValue = frm.chkPredefined.checked;

	if (checkValue == true)
	{
		//frm.txtComments.value = frm.cmbCommentCombo[frm.cmbCommentCombo.selectedIndex].text
		frm.cmbCommentCombo.style.display = "block";
		frm.cmbCommentsPkgID.selectedIndex = 0;
		frm.cmbCommentsPkgID.style.display = "none";
	}
	else
	{
		frm.cmbCommentCombo.selectedIndex = 0;
		frm.txtComments.value = "";
		frm.cmbCommentCombo.style.display = "none";
		frm.cmbCommentsPkgID.style.display = "block";
	}
}

function OnCommentCheckChange()
{
	var frm = document.frmQuote;
	var checkValue = frm.chkComments.checked;

	if (checkValue == true)
	{
		document.getElementById("spanPredefined").style.display = "block";
		frm.cmbCommentCombo.selectedIndex = 0;
		frm.cmbCommentsPkgID.selectedIndex = 0;
		frm.cmbCommentsPkgID.style.display = "block";
		//frm.cmbCommentCombo.style.display = "block";
		//frm.txtComments.value = frm.cmbCommentCombo[frm.cmbCommentCombo.selectedIndex].text;
		frm.cmbCallType.disabled = true;
		frm.cmbQuote.disabled = true;
		frm.txtCurrentPrice.disabled = true;
		frm.cmbType.disabled = true;
		frm.txtBuySell.disabled = true;
		frm.txtTarget1.disabled = true;
		frm.txtTarget2.disabled = true;
		frm.txtStoploss.disabled = true;
		frm.contractMonth.disabled = true;
		frm.hidLotSize.disabled = true;
		if (frm.txtType != null)
		{
			frm.txtType.disabled = true;
		}
		if (frm.txtBuySell2 != null)
		{
			frm.txtBuySell2.disabled = true;
			frm.txtTarget12.disabled = true;
			frm.txtTarget22.disabled = true;
			frm.txtStoploss2.disabled = true;
			frm.m_CheckTwo.checked = false;
			frm.m_CheckTwo.disabled = true;
		}
		//if(frm.isActive != null)
		//	frm.isActive.disabled = true;
		if(frm.isPublish != null)
			frm.isPublish.disabled = true;
		if(frm.cmbResult != null)
			frm.cmbResult.disabled = true;
		if(frm.resultPrice != null)
			frm.resultPrice.disabled = true;

		document.getElementById("tabOne").style.display = "none";
		if(document.getElementById("tabTwo") != null)
			document.getElementById("tabTwo").style.display = "none";
	}
	else
	{
		frm.cmbCommentCombo.selectedIndex = 0;
		frm.cmbCommentsPkgID.selectedIndex = 0;
		frm.txtComments.value = "";
		frm.cmbCommentCombo.style.display = "none";
		frm.cmbCommentsPkgID.style.display = "none";
		document.getElementById("spanPredefined").style.display = "none";
		frm.chkPredefined.checked = false;
		//frm.txtComments.value = "";
		//frm.cmbCommentCombo.style.display = "none";
		frm.cmbCallType.disabled = false;
		frm.cmbQuote.disabled = false;
		frm.txtCurrentPrice.disabled = false;
		frm.cmbType.disabled = false;
		frm.txtBuySell.disabled = false;
		frm.txtTarget1.disabled = false;
		frm.txtTarget2.disabled = false;
		frm.txtStoploss.disabled = false;
		frm.contractMonth.disabled = false;
		frm.hidLotSize.disabled = false;
		if (frm.txtType != null)
		{
			frm.txtType.disabled = false;
		}

		if (frm.txtBuySell2 != null)
		{
			frm.m_CheckTwo.checked = false;		
			frm.m_CheckTwo.disabled = false;
			frm.txtBuySell2.disabled = true;
			frm.txtTarget12.disabled = true;
			frm.txtTarget22.disabled = true;
			frm.txtStoploss2.disabled = true;
		}
		//if(frm.isActive != null)
		//	frm.isActive.disabled = false;
		if(frm.isPublish != null)
			frm.isPublish.disabled = false;
		if(frm.cmbResult != null)
			frm.cmbResult.disabled = false;
		if(frm.resultPrice != null)
		{
			if(frm.cmbResult.options[frm.cmbResult.selectedIndex].value == '0' || frm.cmbResult.options[frm.cmbResult.selectedIndex].value == '1' || frm.cmbResult.options[frm.cmbResult.selectedIndex].value == '2' || frm.cmbResult.options[frm.cmbResult.selectedIndex].value == '3' || frm.cmbResult.options[frm.cmbResult.selectedIndex].value == '4')
				frm.resultPrice.disabled = true;
			else
				frm.resultPrice.disabled = false;
		}

		document.getElementById("tabOne").style.display = "block";
		if(document.getElementById("tabTwo") != null)
		{
			if(frm.m_CheckTwo.checked)
				document.getElementById("tabTwo").style.display = "block";
			else
				document.getElementById("tabTwo").style.display = "none";
		}
	}
}

function CallValidateStockEntry(frm, IsInstantSend)
{
	if (frm.forDate != undefined)
	{
		if (frm.forDate.value == "")
		{
			alert("Choose date.");
			return false;
		}
	}

	var frmBuySellPrice = frm.txtBuySell;
 	var frmTarget1 = frm.txtTarget1;
	var frmTarget2 = frm.txtTarget2;
	var frmStoploss = frm.txtStoploss;
	var frmContractMonth = frm.contractMonth;
	var frmHidLotSize = frm.hidLotSize;
	var frmStrikePrice = frm.m_TextStrikePrice;
	
	var buySellPrice = parseFloat(frmBuySellPrice.value);
	var target1 = parseFloat(frmTarget1.value);
	var strikePrice = parseFloat(frmStrikePrice.value);
	var target2 = parseFloat(frmTarget2.value);
	var stopLoss = parseFloat(frmStoploss.value);
	var type;
	var smsText = "";
	if (frm.cmbType == "[object HTMLSelectElement]")
		type = frm.cmbType.options[frm.cmbType.selectedIndex].value;
	else
		type = frm.cmbType.value;
	var serviceType = frm.cmbCallType.options[frm.cmbCallType.selectedIndex].value;
	if(serviceType == "101")
		serviceType = "IntraCall";
	else if(serviceType == "102")
		serviceType = "FutureCall";
	else if(serviceType == "110")
		serviceType = "OptionCall";
	else if(serviceType == "103")
		serviceType = "InvestCall";
	else if(serviceType == "105")
	{
		if(type == "2")
			serviceType = "BTST Call";
		else
			serviceType = "STBT Call";
	}
	if (frm.cmbQuote.options[frm.cmbQuote.selectedIndex].value == "NIFTY")
			smsText += "NIFTY FUT ";
	else
	{
		smsText += serviceType + ": ";
		smsText += frm.cmbQuote.options[frm.cmbQuote.selectedIndex].value + " - ";
	}
	if(serviceType == "FutureCall")
		smsText += "(LOT:" + frmHidLotSize.value + ") - ";

	if(type == "2")
		smsText += "BUY ABOVE:";
	else 
		smsText += "SELL BELOW:";

	smsText += buySellPrice + "; T1:" + target1 + "; ";
	if (!isNaN(target2))
		smsText += "T2:" + target2 + "; ";
	
	smsText += "SL:" + stopLoss;
	if (frm.cmbQuote.options[frm.cmbQuote.selectedIndex].value == "")
	{
		alert("Choose Script.");
		frm.cmbQuote.focus();
		return false;
	}
 
	 /*if (frmContractMonth.value == "")
	{
		alert("Enter Contract Month");
		frmContractMonth.focus();
		return false;
	}*/
	 if (frmHidLotSize.value == "")
	{
		alert("Enter Lot Size");
		frmHidLotSize.focus();
		return false;
	}

	if (frm.txtCurrentPrice.value == "" || isNaN(frm.txtCurrentPrice.value))
	{
		//alert("Enter valid current price.");
		//frm.txtCurrentPrice.focus();
		//return false;
	}

	if(serviceType == "OptionCall")
	{
		if (strikePrice == "" || isNaN(strikePrice))
		{
			alert("Enter valid strike price.");
			frmStrikePrice.focus();
			return false;
		}
	}

	if (buySellPrice == "" || isNaN(buySellPrice))
	{
		alert("Enter valid buy / sell price.");
		frm.txtBuySell.focus();
		return false;
	}
 
 	if (target1 == "" || isNaN(target1))
	{
		alert("Enter valid target 1 price.");
		frm.txtTarget1.focus();
		return false;
	}

	if (target2 == "" || isNaN(target2))
	{
		//alert("Enter valid target 2 price.");
		//frm.txtTarget2.focus();
		//return false;
	}

	if (stopLoss == "" || isNaN(stopLoss))
	{
		alert("Enter valid stoploss price.");
		frm.txtStoploss.focus();
		return false;
	}
	
	if (type == "2")
	{
		//alert(stopLoss + " " + buySellPrice);
		if (target1 <= buySellPrice)
		{
			alert("Target 1 should not be less then Buy Price for LONG position.");
			frmTarget1.focus();
			return false;
		}
		
		if (target2 <= buySellPrice)
		{
			alert("Target 2 should not be less then Buy Price for LONG position.");
			frmTarget2.focus();
			return false;
		}
		if (target2 <= target1)
		{
			alert("Target 2 should not be less than Target 1 for LONG position.");
			frmTarget2.focus();
			return false;
		}
		if (stopLoss >= buySellPrice)
		{
			alert("Stoploss should be less than Buy Price for LONG position.");
			frmStoploss.focus();
			return false;
		}
		
	}
	
	if (type == "1")
	{
		if (target1 >= buySellPrice)
		{
			alert("Target 1 should be less then Sell Price for SHORT position.");
			frmTarget1.focus();
			return false;
		}
		
		if (target2 >= buySellPrice)
		{
			alert("Target 2 should be less then Sell Price for SHORT position.");
			frmTarget2.focus();
			return false;
		}
		if (target2 >= target1)
		{
			alert("Target 2 should be less than Target 1 for SHORT position.");
			frmTarget2.focus();
			return false;
		}
		if (stopLoss <= buySellPrice)
		{
			alert("Stoploss should be greater than Sell Price for SHORT position.");
			frmStoploss.focus();
			return false;
		}
	}
	
	if(frm.m_CheckTwo != null)
	{
		if(frm.m_CheckTwo.checked == true)
		{
			frmBuySellPrice = frm.txtBuySell2;
			frmTarget1 = frm.txtTarget12;
			frmTarget2 = frm.txtTarget22;
			frmStoploss = frm.txtStoploss2;
			
			
			buySellPrice = parseFloat(frmBuySellPrice.value);
			target1 = parseFloat(frmTarget1.value);
			target2 = parseFloat(frmTarget2.value);
			stopLoss = parseFloat(frmStoploss.value);

			type = frm.cmbType.options[frm.cmbType.selectedIndex].value;
			
			if(type == "1")
				smsText += "; BUY ABOVE:";
			else 
				smsText += "; SELL BELOW:";

			smsText += buySellPrice + "; T1:" + target1 + "; ";
			if (!isNaN(target2))
				smsText += "T2:" + target2 + "; ";
			
			smsText += "SL:" + stopLoss;

			if (buySellPrice == "" || isNaN(buySellPrice))
			{
				alert("Enter valid buy / sell price.");
				frmBuySellPrice.focus();
				return false;
			}
		 
			if (target1 == "" || isNaN(target1))
			{
				alert("Enter valid target 1 price.");
				frmTarget1.focus();
				return false;
			}

			if (stopLoss == "" || isNaN(stopLoss))
			{
				alert("Enter valid stoploss price.");
				frmStoploss.focus();
				return false;
			}
			
			if (type == "1")
			{
				//alert(stopLoss + " " + buySellPrice);
				if (target1 <= buySellPrice)
				{
					alert("Target 1 should not be less then Buy Price for LONG position.");
					frmTarget1.focus();
					return false;
				}
				
				if (target2 <= buySellPrice)
				{
					alert("Target 2 should not be less then Buy Price for LONG position.");
					frmTarget2.focus();
					return false;
				}
				if (target2 <= target1)
				{
					alert("Target 2 should not be less than Target 1 for LONG position.");
					frmTarget2.focus();
					return false;
				}
				if (stopLoss >= buySellPrice)
				{
					alert("Stoploss should be less than Buy Price for LONG position.");
					frmStoploss.focus();
					return false;
				}
				
			}
			
			if (type == "2")
			{
				if (target1 >= buySellPrice)
				{
					alert("Target 1 should be less then Sell Price for SHORT position.");
					frmTarget1.focus();
					return false;
				}
				
				if (target2 >= buySellPrice)
				{
					alert("Target 2 should be less then Sell Price for SHORT position.");
					frmTarget2.focus();
					return false;
				}
				if (target2 >= target1)
				{
					alert("Target 2 should be less than Target 1 for SHORT position.");
					frmTarget2.focus();
					return false;
				}
				if (stopLoss <= buySellPrice)
				{
					alert("Stoploss should be greater than Sell Price for SHORT position.");
					frmStoploss.focus();
					return false;
				}
			}
		}
	}

	if(frm.txtComments.value != "")
		smsText += " - " + frm.txtComments.value;
	 smsText += " www.TrendMarket.in";
	//alert(smsText);
	if(smsText.length > 158)
	{
		alert("SMS Text should not be more than 160 characters length:\nCurrent Total Length is " + smsText.length + "\n\n Please change the comment to make it short");
		frm.txtComments.focus();
		return false;
	}
	if(confirm("Are you sure you want to submit?"))
	{
		if(IsInstantSend)
		{
			 frm.action = "/TrendAdmin/Stock/FrameStockEntry.asp?instant=true";
		}
		return true;
	}
	else
	{
		return false;
	}
}

function ValidateStockEntry(IsInstantSend)
{
 var frm = document.frmQuote;
 if (frm.chkComments.checked == false)
 {
	if (CallValidateStockEntry(frm, IsInstantSend) == false)
	{
		return false;
	}
 }
 else
 {
	 if(frm.chkPredefined.checked)
	 {
		if(frm.cmbCommentCombo.selectedIndex == 0)
		{
			alert("Select the comment to be sent.");
			frm.cmbCommentCombo.focus();
			return false;
		}
	 }
	 else
	 {
		if(frm.cmbCommentsPkgID.selectedIndex == 0)
		{
			alert("Select the service for which SMS to be sent.;");
			frm.cmbCommentsPkgID.focus();
			return false;
		}
	 }

	 if (frm.txtComments.value == "")
	 {
		alert("Enter comments.");
		frm.txtComments.focus();
		return false;
	 }
	 
	 if(frm.txtComments.value.length > 158)
	{
		alert("SMS Text should not be more than 160 characters length:\nCurrent Total Length is " + frm.txtComments.value.length + "\n\n Please change the comment to make it short");
		frm.txtComments.focus();
		return false;
	}

	 if(confirm("Are you sure you want to submit?"))
	 {
		if(IsInstantSend == true)
		{
			 frm.action = "/TrendAdmin/Stock/FrameStockEntry.asp?instant=true";
			 frm.submit;
		}
		return true;
	 }
	 else
	 {
		return false;
	 }
 }
}


function showPreview()
{
	var frm = document.frmQuote;
	var comments = document.getElementById("txtComments").innerText;
	//alert(comments);
	if (frm.chkComments.checked == true)
	{
		//document.getElementById("divComment").style.visible = "show";
		document.getElementById("paraComment").innerText = comments;
	}
	else
	{
		document.getElementById("bCallType").innerText = frm.cmbCallType.options[frm.cmbCallType.selectedIndex].text;
		document.getElementById("hScript").innerText = frm.cmbQuote.options[frm.cmbQuote.selectedIndex].text;
	}
}

function ValidateForDate(frm)
{
	if (frm.forDate.value == "")
	{
		alert("Choose date.");
		return false;
	}
}


function ValidateUserName()
{
	var userName = document.headerLogin.UserName.value;
	
	if (userName == "Email Address")
	{
		document.headerLogin.UserName.value = "";
	}

}

function ValidatePassword()
{
	var password = document.headerLogin.Password.value;
	
	if (password == "password")
	{
		document.headerLogin.Password.value = "";
	}

}

function ValidateCheque()
{
	var frm = document.frmConfirmOrder;
	var chequeNumber = frm.chequeNumber.value;
	var bankName = frm.bankName.value;
	var branchName = frm.branchName.value;
	var cityName = frm.cityName.value;
	if (isNaN(chequeNumber))
	{
		alert("Enter valid cheque number.");
		frm.chequeNumber.focus();
		return false;
	}
	if(Trim(chequeNumber) == "")
	{
		alert("Enter cheque number.");
		frm.chequeNumber.value = "";
		frm.chequeNumber.focus();
		return false;
	}
	
	if(Trim(bankName) == "")
	{
		alert("Enter bank name.");
		frm.bankName.value = "";
		frm.bankName.focus();
		return false;
	}
	
	if(Trim(branchName) == "")
	{
		alert("Enter branch name.");
		frm.branchName.value = "";
		frm.branchName.focus();
		return false;
	}
	
	if(Trim(cityName) == "")
	{
		alert("Enter city name.");
		frm.cityName.value = "";
		frm.cityName.focus();
		return false;
	}
	return true;
}

function Trim(val)
{
	return val.replace(/^\s+|\s+$/g,"");
}

function checkKeycode(btnSubmit) 
{
	if ((event.which == 13) || (event.keyCode == 13)) 
	{
		document.getElementById(btnSubmit).click();
		return false;
	}
	
}


/* DISPLAY IN CENTER SCREEN */
function showdeadcenterdiv(btnName, divName) 
{
	var bt = document.getElementById(btnName);
	bt.value = "Logging in...";
	bt.disabled = true;
	
	var dv = document.getElementById(divName);
	dv.style.display = "block";
	
	
	dv.style.top = Math.round((document.documentElement.clientHeight/2)-(dv.style.height/2)+document.documentElement.scrollTop)/3+'px';
	dv.style.left = Math.round((document.documentElement.clientWidth/2)-(dv.style.width/2))/2+"px";
	
} 

function DisplayPasswordHint(show)
{
    try
    {
        var it = document.getElementById("passwordHint");
        
        if (show == 'true')
        {
            var parent = document.getElementById("txtPassword");
            it.style.visibility = 'visible';
        }
        else
            it.style.visibility = 'hidden';
    }
    catch(e){}
}

function newExcitingAlerts() {
    var oldTitle = document.title;
    var msg = "New Message Posted!";
    var timeoutId = setInterval(function() {
        document.title = document.title == msg ? ' ' : msg;
    }, 1000);
    window.onmousemove = function() {
        clearInterval(timeoutId);
        document.title = oldTitle;
        window.onmousemove = null;
    };
}

function hint(id){
var hintbox = document.getElementById(id);
hintbox.style.display='block';
}
function hide(id){
var hintbox = document.getElementById(id);
hintbox.style.display='none';
}
							
function CancelOrder(orderID)
{
if(confirm("Are you sure you want to cancel your pending payment subscription?"))
	window.location.href = "/Login/Subs/Cancel.asp?orderid=" + orderID;
}

function ToggleType()
{
	if(document.frmQuote.cmbType.selectedIndex == 0)
	{
		document.getElementById("m_PanelType").innerHTML = "Enter Short";
		document.getElementById("m_tdBuySell1").innerHTML = "Buy Above<font color=red><sup>*</sup></font>";		
		document.getElementById("m_tdBuySell2").innerHTML = "Sell Below<font color=red><sup>*</sup></font>";
	}
	else
	{
		document.getElementById("m_PanelType").innerHTML = "Enter Long";
		document.getElementById("m_tdBuySell1").innerHTML = "Sell Below<font color=red><sup>*</sup></font>";
		document.getElementById("m_tdBuySell2").innerHTML = "Buy Above<font color=red><sup>*</sup></font>";
	}
}



function OnCommentCombo()
{
	document.frmQuote.txtComments.value = Trim(document.frmQuote.cmbCommentCombo[document.frmQuote.cmbCommentCombo.selectedIndex].text);
}

// SCRIPT CODE, LOT SIZE, COMPANYNAME
var m_Equity = ",3IINFOTECH|0|3i Infotech Limited,3MINDIA|0|3M India Limited,AARTIDRUGS|0|Aarti Drugs Ltd.,AARTIIND|0|Aarti Industries Ltd.,AARVEEDEN|0|Aarvee Denims & Exports Limited,ABAN|0|Aban Offshore Ltd.,ABB|0|ABB Limited,ABGSHIP|0|ABG Shipyard Limited,ABIRLANUVO|0|Aditya Birla Nuvo Limited,ABSHEKINDS|0|Abhishek Industries Limited,ACC|0|ACC Limited,ACE|0|Action Construction Equipment Limited,ADANIENT|0|Adani Enterprises Limited,ADHUNIK|0|Adhunik Metaliks Limited,ADLABSFILM|0|Adlabs Films Limited,ADORWELD|0|Ador Welding Limited,ADSL|0|Allied Digital Services Limited,ADVANIHOTR|0|Advani Hotels & Resorts (India) Limited,ADVANTA|0|Advanta India Limited,AEGISCHEM|0|Aegis Logistics Limited,AFL|0|Accel Frontline Limited,AFTEK|0|Aftek Limited,AGRODUTCH|0|Agro Dutch Industries Limited,AHMEDFORGE|0|Ahmednagar Forgings Ltd,AIAENG|0|AIA Engineering Limited,AICHAMP|0|AI Champdany Industries Limited,AJANTPHARM|0|Ajanta Pharma Limited,AKRUTI|0|Akruti City Limited,AKSHOPTFBR|0|Aksh Optifibre Limited,ALBK|0|Allahabad Bank,ALCHEM|0|Alchemist Ltd,ALEMBICLTD|0|Alembic Limited,ALFALAVAL|0|Alfa Laval India Ltd,ALKYLAMINE|0|Alkyl Amines Chemicals Ltd.,ALLCARGO|0|Allcargo Global Logistics Limited,ALLSEC|0|Allsec Technologies Limited,ALOKTEXT|0|Alok Industries Limited,ALPA|0|Alpa Laboratories Limited,ALPHAGEO|0|Alphageo (India) Limited,ALPSINDUS|0|Alps Industries Ltd.,AMAR|0|Amar Remedies Limited,AMARAJABAT|0|Amara Raja Batteries Ltd,AMBICAAGAR|0|Ambica Agarbathies & Aroma industries Limited,AMBUJACEM|0|Ambuja Cements Ltd,AMLSTEEL|0|AML Steel Limited,AMTEKAUTO|0|Amtek Auto Ltd,AMTEKINDIA|0|Amtek India Limited,ANANTRAJ|0|Anant Raj Industries Limited,ANDHRABANK|0|Andhra Bank,ANDHRSUGAR|0|The Andhra Sugars Ltd,ANGAUTO|0|ANG Auto Limited,ANKURDRUGS|0|Ankur Drugs And Pharma Limited,ANSALHSG|0|Ansal Housing and Construction Limited,ANSALINFRA|0|Ansal Properties & Infrastructure Limited,ANTGRAPHIC|0|Antarctica Ltd,APARINDS|0|Apar Industries Limited,APCOTEXIND|0|Apcotex Industries Limited,APIL|0|Alstom Projects India Limited,APOLLOHOSP|0|Apollo Hospitals Enterprise Ltd,APOLLOTYRE|0|Apollo Tyres Ltd,APPAPER|0|The Andhra Pradesh Paper Mills Limited,APTECHT|0|Aptech Limited,ARCHIES|0|Archies Limited,ARIHANT|0|Arihant Foundations & Housing Ltd,ARL|0|Arvind Remedies Limited,AROGRANITE|0|Aro Granite Industries Limited,ARVINDMILL|0|,ASAHIINDIA|0|,ASAL|0|Automotive Stampings and Assemblies Limited,ASHAPURMIN|0|Ashapura Minechem Ltd,ASHCO|0|Ashco Industries Limited,ASHIMASYN|0|Ashima Limited,ASHOKLEY|0|Ashok Leyland Ltd,ASIANELEC|0|Asian Electronics Ltd,ASIANHOTEL|0|Asian Hotels Ltd,ASIANPAINT|0|Asian Paints Limited,ASIANTILES|0|Asian Granito India Limited,ASIL|0|,ASSAMCO|0|Assam Company Limited,ASTRAL|0|Astral Poly Technik Limited,ASTRAMICRO|0|Astra Microwave Products Limited,ASTRAZEN|0|AstraZeneca Pharma India Limited,ATFL|0|Agro Tech Foods Limited,ATLANTA|0|Atlanta  Limited,ATLASCYCLE|0|Atlas Cycles (Haryana) Ltd,ATNINTER|0|ATN International Limited,ATUL|0|Atul Ltd.,AURIONPRO|0|,AUROPHARMA|0|Aurobindo Pharma Ltd,AUTOAXLES|0|Automotive Axles Limited,AUTOIND|0|Autoline Industries Limited,AVAYAGCL|0|Avaya GlobalConnect Limited,AVENTIS|0|Aventis Pharma Limited,AVTNPL|0|AVT Natural Products Limited,AXIS-IT&T|0|Axis-IT&T Limited,AXISBANK|0|Axis Bank Limited,AZTECSOFT|0|Aztecsoft Limited,BAGFILMS|0|B.A.G Films and Media Limited,BAJAJ-AUTO|0|Bajaj Auto Limited,BAJAJELEC|0|Bajaj Electricals Limited,BAJAJHIND|0|Bajaj Hindusthan Ltd,BAJAUTOFIN|0|Bajaj Auto Finance Ltd,BALAJITELE|0|Balaji Telefilms Ltd.,BALAMINES|0|Balaji Amines Limited,BALKRISIND|0|Balkrishna Industries Limited,BALMLAWRIE|0|Balmer Lawrie & Co. Ltd,BALPHARMA|0|Bal Pharma Limited,BALRAMCHIN|0|Balrampur Chini Mills Ltd,BANARISUG|0|Bannari Amman Sugars Ltd,BANCOINDIA|0|Banco Products (I) Ltd,BANKBARODA|0|Bank of Baroda,BANKBEES|0|Benchmark Asset Management Company Pvt. Ltd.,BANKINDIA|0|Bank of India,BANKRAJAS|0|The Bank of Rajasthan Ltd,BANSWRAS|0|Banswara Syntex Limited,BARTRONICS|0|Bartronics India Limited,BASF|0|BASF India Ltd,BASML|0|Bannari Amman Spinning Mills Limited,BATAINDIA|0|Bata India Ltd,BATLIBOI|0|Batliboi Limited,BBL|0|Bharat Bijlee Ltd.,BBTC|0|Bombay Burmah Trading Corp. Ltd,BCCL|0|Bihar Caustics and Chemicals Ltd,BEL|0|Bharat Electronics Ltd,BELCERAMIC|0|Bell Ceramics Ltd,BEML|0|BEML Limited,BEPL|0|Bhansali Engineering Polymers Ltd,BERGEPAINT|0|Berger Paints (I) Ltd,BFUTILITIE|0|BF Utilities Limited,BHAGWATIHO|0|Bhagwati Banquets and Hotels Limited,BHAGYNAGAR|0|Bhagyanagar India Limited,BHARATFORG|0|Bharat Forge Ltd,BHARATGEAR|0|Bharat Gears Ltd,BHARATRAS|0|Bharat Rasayan Ltd,BHARTIARTL|0|Bharti Airtel Limited,BHARTISHIP|0|Bharati Shipyard Limited,BHEL|0|Bharat Heavy Electricals Ltd,BHUSANSTL|0|Bhushan Steel Limited,BIL|0|Bhartiya International Limited,BILPOWER|0|Bilpower  Limited,BILT|0|,BINANICEM|0|Binani Cement Limited,BINANIIND|0|Binani Industries Limited,BINDALAGRO|0|Oswal Chemicals & Fertilizers Ltd.,BIOCON|0|Biocon Limited,BIRLAERIC|0|Birla Ericsson Optical Ltd,BIRLACORP|0|Birla Corporation Ltd,BIRLAPOWER|0|Birla Power Solutions Limited,BLBLIMITED|0|BLB Limited,BLKASHYAP|0|B. L. Kashyap and Sons Limited,BLUEBIRD|0|Blue Bird (India) Limited,BLUECHIP|0|Blue Chip India Ltd,BLUECOAST|0|Blue Coast Hotels and Resorts Limited,BLUEDART|0|Blue Dart Express Ltd,BLUESTARCO|0|Blue Star Limited,BLUESTINFO|0|Blue Star Infotech Limited,BOC|0|BOC India Limited,BOMDYEING|0|Bombay Dyeing & Mfg Co. Ltd,BONGAIREFN|0|Bongaigaon Refinery & Petrochemicals Ltd,BOSCHCHASY|0|,BPCL|0|Bharat Petroleum Corpn. Ltd,BPL|0|,BPLENGG|0|,BRFL|0|Bombay Rayon Fashions Limited,BRIGADE|0|Brigade Enterprises Limited,BRITANNIA|0|Britannia Industries Ltd,BROADCAST|0|Broadcast Initiatives Limited,BSCFAUG08A|0|,BSELINFRA|0|BSEL Infrastructure Realty Limited,BSL|0|BSL Ltd,BVCL|0|Barak Valley Cements Limited,BVXL|0|,CADILAHC|0|Cadila Healthcare Limited,CAIRN|0|Cairn India Limited,CALSOFT|0|California Software Company Limited,CAMBRIDGE|0|Cambridge Solutions Limited,CANBK|0|CANARA BANK,CANDC|0|C & C Constructions Limited,CANFINHOME|0|Can Fin Homes Ltd,CARBORUNIV|0|Carborundum Universal Ltd,CAROLINFO|0|Carol Info Services Limited,CASTROL|0|Castrol India Ltd,CCCL|0|Consolidated Construction Consortium Limited,CCL|0|CCL Products (India) Limited,CELEBRITY|0|Celebrity Fashions Limited,CELESTIAL|0|Celestial Labs Limited,CENTBOP|0|,CENTENKA|0|Century Enka Ltd,CENTEXT|0|Century Extrusions Limited,CENTRALBK|0|Central Bank of India,CENTUM|0|Centum Electronics Limited,CENTURYPLY|0|Century Plyboards (India) Limited,CENTURYTEX|0|Century Textiles & Industries Ltd,CERA|0|Cera Sanitaryware Limited,CESC|0|CESC Ltd.,CHAMBLFERT|0|Chambal Fertilizers & Chemicals Ltd,CHEMFALKAL|0|CHEMFAB ALKALIS LIMITED,CHEMPLAST|0|Chemplast Sanmar Ltd.,CHENNPETRO|0|Chennai Petroleum Corporation Limited,CHESLINTEX|0|Cheslind Textiles Ltd,CHETTINAD|0|Chettinad Cement Corporation Ltd,CHOLADBS|0|Cholamandalam DBS Finance Limited,CIMCOBIRLA|0|Cimmco Birla Ltd,CINEMAX|0|Cinemax India Limited,CINEVISTA|0|Cinevistaas Limited,CIPLA|0|Cipla Ltd.,CLASSIC|0|Classic Diamonds (India) Limited,CLNINDIA|0|Clariant Chemicals (India) Limited,CLUTCHAUTO|0|Clutch Auto Limited,CMC|0|CMC Ltd,COLPAL|0|Colgate Palmolive (India) Ltd,COMPUTECH|0|Computech International Ltd.,COMSYS|0|Compulink Systems Limited,CONCOR|0|Container Corporation of India Limited,CONSOFINVT|0|Consolidated Finvest & Holdings Limited,COREEMBLG|0|Core Emballage Ltd.,COREPROTEC|0|Core Projects and Technologies Limited,COROMNFERT|0|Coromandel Fertilisers Ltd.,CORPBANK|0|Corporation Bank,COSMOFILMS|0|Cosmo Films Ltd,CRANESSOFT|0|Cranes Software International Limited,CREATIVEYE|0|Creative Eye Ltd.,CRESTANI|0|Crest Animation Studios Limited,CREWBOS|0|Crew B.O.S. Products Limited,CRISIL|0|CRISIL Limited,CROMPGREAV|0|Crompton  Greaves Ltd,CTE|0|Cambridge Technology Enterprises Limited,CUB|0|City Union Bank Ltd.,CUMMINSIND|0|Cummins India Ltd.,CYBERMEDIA|0|Cyber Media (India) Limited,CYBERTECH|0|Cybertech Systems And Software Ltd.,D-LINK|0|D-Link (India) Limited,DAAWAT|0|LT Foods Limited,DABUR|0|Dabur India Ltd,DABURPHARM|0|Dabur Pharma Limited,DALMIACEM|0|Dalmia Cement (Bharat) Ltd,DATATECH|0|Datamatics Technologies Limited,DCB|0|Development Credit Bank Limited,DCHL|0|Deccan Chronicle Holdings Ltd.,DCM|0|DCM  Ltd,DCMFINSERV|0|DCM Financial Services Limited,DCMSRMCONS|0|DCM Shriram Consolidated Ltd,DCW|0|DCW Ltd,DECCANCE|0|Deccan Cements Ltd,DECOLIGHT|0|Decolight Ceramics Limited,DEEPAKFERT|0|Deepak Fertilizers and Petrochemicals Corporation Limited,DENABANK|0|Dena Bank,DENORA|0|De Nora India Limited,DEWANHOUS|0|Dewan Housing Finance Corporation Ltd,DHAMPURSUG|0|The Dhampur Sugar Mills Ltd,DHANBANK|0|The Dhanalakshmi Bank Ltd.,DHANUS|0|Dhanus Technologies Limited,DHARSUGAR|0|Dharani Sugars & Chemicals Ltd,DICIND|0|DIC India Limited,DISHMAN|0|Dishman Pharmaceuticals and Chemicals Limited,DISHTV|0|Dish TV India Limited,DIVISLAB|0|Divi's Laboratories Limited,DLF|0|DLF Limited,DOLPHINOFF|0|Dolphin Offshore Enterprises (India) Limited,DONEAR|0|Donear Industries Limited,DREDGECORP|0|Dredging Corporation of India Limited,DRREDDY|0|Dr. Reddy's Laboratories Ltd.,DSKULKARNI|0|DS Kulkarni Developers Ltd.,DUNCANSIND|0|Duncans Industries Ltd,DWARKESH|0|Dwarikesh Sugar Industries Limited,DYNACONS|0|Dynacons Systems & Solutions Ltd.,DYNAMATECH|0|Dynamatic Technologies Ltd.,EASTSILK|0|Eastern Silk Industries Limited,EASUNREYRL|0|Easun Reyrolle Ltd,ECEIND|0|ECE Industries Limited,ECLERX|0|,EDELWEISS|0|Edelweiss Capital Limited,EDL|0|Empee Distilleries Limited,EDUCOMP|0|Educomp Solutions Limited,EICHERMOT|0|Eicher Motors Ltd,EIDPARRY|0|EID Parry India Ltd.,EIHOTEL|0|EIH Limited,EIMCOELECO|0|Eimco Elecon (India) Ltd.,EKC|0|Everest Kanto Cylinder Limited,ELDERPHARM|0|Elder Pharmaceuticals Limited,ELECON|0|Elecon Engineering Co Ltd,ELECTCAST|0|Electrosteel Castings Ltd,ELECTHERM|0|Electrotherm (India) Ltd.,ELGIEQUIP|0|Elgi Equipments Ltd,ELGITYRE|0|,EMAMILTD|0|Emami Limited,EMCO|0|Emco Limited,EMKAY|0|Emkay Global Financial Services Limited,ENERGYDEV|0|Energy Development Company Limited,ENGINERSIN|0|Engineers India Limited,ENIL|0|Entertainment Network (India) Limited,ENKEI|0|Enkei Castalloy Limited,ENNOREFO|0|,ENTEGRA|0|Entegra Limited,ERACONS|0|,ESABINDIA|0|Esab India Ltd,ESCORTS|0|Escorts Ltd,ESSAROIL|0|Essar Oil Limited,ESSDEE|0|Ess Dee Aluminium Limited,ESSELPACK|0|Essel Propack Ltd.,ETCNET|0|,EUROCERA|0|Euro Ceramics Limited,EUROTEXIND|0|Eurotex Industries and Exports Ltd,EVEREADY|0|Eveready Industries India Limited,EVERESTIND|0|Everest Industries Limited,EVERONN|0|Everonn Systems India Limited,EVINIX|0|Evinix Accessories Limited,EXCELCROP|0|Excel Crop Care Limited,EXCELINDUS|0|Excel Industries Limited,EXIDEIND|0|Exide Industries Ltd.,FACT|0|Fertilizers and Chemicals Travancore Ltd.,FAGBEARING|0|FAG Bearings India Limited,FCSSOFT|0|FCS Software Solutions Limited,FDC|0|FDC Ltd.,FEDDERLOYD|0|Fedders Lloyd Corporation Ltd,FEDERALBNK|0|The Federal Bank  Ltd,FIEMIND|0|Fiem Industries Limited,FINANTECH|0|Financial Technologies (India) Limited,FINCABLES|0|Finolex Cables Ltd.,FINPIPE|0|Finolex Industries Ltd.,FIRSTLEASE|0|First Leasing Company of India Ltd,FMGOETZE|0|Federal-Mogul Goetze (India) Limited.,FORTIS|0|Fortis Healthcare Limited,FOSECOIND|0|Foseco India Ltd,FOURSOFT|0|Four Soft Limited,FSL|0|Firstsource Solutions Limited,FTCSF3YDIV|0|Franklin Templeton Mutual Fund-Capital Safety Fund-3Y(Divdend Option),FTCSF3YGRO|0|Franklin Templeton Mutual Fund-Capital Saftey Fund 3Y (Growth Option),FTCSF5YDIV|0|Franklin Templeton Mutual Fund-Capital Safety Fund-5Y Dividend Option,FTCSF5YGRO|0|Franklin Templeton Mutual Fund-Capital Safety Fund-5Y (Growth Option),GABRIEL|0|Gabriel India Ltd,GAEL|0|Gujarat Ambuja Exports Limited,GAIL|0|GAIL (India) Limited,GALLANTT|0|Gallantt Metal Limited,GAMMONIND|0|Gammon India Ltd.,GANDHITUBE|0|Gandhi Special Tubes Limited,GANESHHOUC|0|GANESH HOUSING CORPORATION LTD.,GANGOTRI|0|Gangotri Textiles Limited,GARDENSILK|0|Garden Silk Mills Ltd.,GARWALLROP|0|Garware  Wall Ropes Ltd.,GARWOFFS|0|Garware Offshore Services Limited,GATI|0|GATI LIMITED,GBN|0|,GDL|0|Gateway Distriparks Limited,GEMINI|0|Gemini Communication Limited,GENESYS|0|Genesys International Corporation Limited,GENUSOVERE|0|,GEOINFO|0|,GEOJIT|0|Geojit Financial Services Limited,GEOMETRIC|0|Geometric Limited,GESHIP|0|The Great Eastern Shipping Co. Limited,GHCL|0|GHCL Limited,GICHSGFIN|0|GIC Housing Finance Ltd,GILLETTE|0|Gillette India Limited,GINNIFILA|0|,GIPCL|0|Gujarat Industries Power Co. Ltd,GITANJALI|0|Gitanjali Gems Limited,GKW|0|GKW Ltd,GLAXO|0|GlaxoSmithKline Pharmaceuticals Limited,GLENMARK|0|Glenmark Pharmaceuticals Ltd.,GLFL|0|Gujarat Lease Financing Ltd,GLOBALVECT|0|,GLODYNE|0|Glodyne Technoserve Limited,GLORY|0|Glory Polyfilms Limited,GMBREW|0|GM Breweries Ltd.,GMDCLTD|0|Gujarat Mineral Development Corporation Limited,GMRINDS|0|GMR Industries Limited,GMRINFRA|0|GMR Infrastructure Limited,GNFC|0|Gujarat Narmada Valley Fertilizer Co. Ltd.,GOACARBON|0|Goa Carbon Ltd,GODAVRFERT|0|,GODFRYPHLP|0|Godfrey Phillips India Ltd,GODREJCP|0|Godrej Consumer Products Limited,GODREJIND|0|Godrej Industries Ltd.,GOKEX|0|Gokaldas Exports Limited,GOLDBEES|0|Benchmark Mutual Fund - Gold Benchmark Exchange Traded Scheme,GOLDIAM|0|Goldiam International Limited,GOLDSHARE|0|UTI Mutual Fund - UTI Gold Exchange Traded Fund,GOLDTECH|0|Goldstone Technologies Ltd.,GOLDTELE|0|,GPELECT|0|,GPIL|0|Godawari Power And Ispat limited,GRANULES|0|Granules India Limited,GRAPHITE|0|Graphite India Limited,GRASIM|0|Grasim Industries Ltd.,GREAVESCOT|0|Greaves Cotton Limited,GREENPLY|0|Greenply Industries Ltd,GRINDWELL|0|Grindwell Norton Limited,GRUH|0|Gruh Finance Limited,GSFC|0|Gujarat State Fertilizers & Chemicals Ltd.,GSKCONS|0|GlaxoSmithKline Consumer Healthcare Limited,GSPL|0|Gujarat State Petronet Limited,GSSAMERICA|0|GSS America Infotech Limited,GTCIND|0|,GTL|0|GTL Limited,GTLINFRA|0|GTL Infrastructure Limited,GTNIND|0|GTN Industries Limited,GTNTEX|0|GTN Textiles Limited,GTOFFSHORE|0|Great Offshore Limited,GUFICBIO|0|Gufic Biosciences Limited,GUJALKALI|0|Gujarat Alkalies and Chemicals Ltd.,GUJAPOLLO|0|Gujarat Apollo Industries Limited,GUJFLUORO|0|Gujarat Fluorochemicals Ltd,GUJNRECOKE|0|Gujarat NRE Coke Ltd.,GUJRATGAS|0|Gujarat Gas Co. Ltd,GUJSIDHCEM|0|Gujarat Sidhee Cements Ltd,GULFOILCOR|0|Gulf Oil Corporation Limited,GVKPIL|0|GVK Power & Infrastructure Limited,GWALCHEM|0|Gwalior Chemical Industries Limited,HANUNG|0|Hanung Toys and Textiles Limited,HARRMALAYA|0|Harrisons  Malayalam Ltd,HAVELLS|0|Havells India Limited,HBLPOWER|0|HBL Power Systems Limited,HBSTOCK|0|HB Stockholdings Limited,HCC|0|Hindustan Construction Co. Ltd,HCIL|0|Himadri Chemicals and Industries Ltd,HCL-INSYS|0|HCL Infosystems Ltd,HCLTECH|0|HCL Technologies Ltd,HDFC|0|Housing Development Finance Corporation Ltd.,HDFCBANK|0|HDFC Bank Ltd,HDIL|0|Housing Development and Infrastructure Limited,HEG|0|HEG Ltd,HELIOSMATH|0|Helios And Matheson Information Technology Limited,HERITGFOOD|0|,HEROHONDA|0|Hero Honda Motors Ltd.,HEXAWARE|0|Hexaware Technologies Limited,HIKAL|0|Hikal Limited,HILTON|0|Hilton Metal Forging Limited,HIMACHLFUT|0|Himachal Futuristic Communications Limited,HIMATSEIDE|0|Himatsingka Seide Ltd,HINDALCO|0|Hindalco Industries Ltd.,HINDCOMPOS|0|Hindustan Composites Ltd,HINDDORROL|0|Hindustan Dorr-Oliver Ltd,HINDMOTOR|0|Hindustan Motors Ltd.,HINDOILEXP|0|Hindustan Oil Exploration Co. Ltd,HINDPETRO|0|Hindustan Petroleum Corporation Ltd.,HINDSANIT|0|Hindustan Sanitaryware And Industries Ltd,HINDSYNTEX|0|,HINDUJAVEN|0|Hinduja Ventures Limited,HINDUNILVR|0|Hindustan Unilever Limited,HINDZINC|0|Hindustan Zinc Ltd.,HIRECT|0|Hind Rectifiers Limited,HITACHIHOM|0|Hitachi Home and Life Solutions (India) Limited,HITECHGEAR|0|Hi-Tech Gears Ltd.,HITECHPLAS|0|Hitech Plast Limited,HMT|0|HMT Ltd.,HOCL|0|Hindustan Organic Chemicals Ltd,HONAUT|0|HONEYWELL AUTOMATION INDIA LIMITED,HONDAPOWER|0|Honda Siel Power Products Ltd.,HOPFL|0|House of Pearl Fashions Limited,HOTELEELA|0|Hotel Leela Venture Ltd.,HOTELRUGBY|0|Hotel Rugby Ltd.,HOVS|0|HOV Services Limited,HTMEDIA|0|HT Media Limited,HTMTGLOBAL|0|HTMT Global Solutions Ltd.,HYDRBADIND|0|Hyderabad Industries Ltd,I-FLEX|0|,IBREALEST|0|Indiabulls Real Estate Limited,IBSEC|0|Indiabulls Securities Limited,ICI|0|ICI India Ltd.,ICICIBANK|0|ICICI Bank Ltd,ICIL|0|Indo Count Industries Ltd,ICRA|0|ICRA Limited,ICSA|0|ICSA (India) Limited,IDBI|0|IDBI Bank Limited,IDEA|0|Idea Cellular Limited,IDFC|0|Infrastructure Development Finance Company Limited,IFBAGRO|0|IFB Agro Industries Ltd,IFBIND|0|IFB Industries Ltd.,IFCI|0|IFCI Limited,IFGLREFRAC|0|IFGL Refractories Ltd,IGARASHI|0|Igarashi Motors India Limited,IGL|0|Indraprastha Gas Limited,IGPL|0|IG Petrochemicals Ltd.,IGS|0|,IILTD|0|Insecticides (India) Limited,IMPAL|0|India Motor Parts and Accessories Limited,IMPEXFERRO|0|Impex Ferro Tech Limited,INDHOTEL|0|The Indian Hotels Company Limited,INDIABULLS|0|Indiabulls Financial Services Limited,INDIACEM|0|The India Cements Limited,INDIAFOILS|0|,INDIAGLYCO|0|India Glycols Ltd,INDIAINFO|0|India Infoline Limited,INDIANB|0|Indian Bank,INDIANCARD|0|Indian Card Clothing Co. Ltd.,INDIANHUME|0|Indian Hume Pipe Co. Ltd,INDLMETER|0|IMP Powers Ltd,INDNIPPON|0|India Nippon Electricals Limited,INDOASIFU|0|Indo Asian Fusegear Limited,INDOCO|0|Indoco Remedies Limited,INDORAMA|0|Indo Rama Synthetics (India) Limited,INDOTECH|0|Indo Tech Transformers Limited,INDOWIND|0|Indowind Energy Limited,INDRAMEDCO|0|Indraprastha Medical Corporation Ltd.,INDSWFTLAB|0|Ind-Swift Laboratories Ltd.,INDSWFTLTD|0|Ind-Swift Limited,INDUSFILA|0|Indus Fila Limited,INDUSINDBK|0|IndusInd Bank Limited,INFINITE|0|Infinite Computer Solutions (India) Limited,INFOMEDIA|0|Infomedia India Limited,INFOSYSTCH|0|Infosys Technologies Ltd.,INFOTECENT|0|Infotech Enterprises Ltd,INGERRAND|0|Ingersoll Rand (India) Ltd.,INGVYSYABK|0|ING Vysya Bank Limited,INOXLEISUR|0|INOX Leisure Limited,INVSTSMART|0|IL&FS Investsmart Limited,IOB|0|Indian Overseas Bank,IOC|0|Indian Oil Corporation Ltd,IOLB|0|,IPCALAB|0|IPCA Laboratories Ltd.,ISMTLTD|0|ISMT Limited,ISPATIND|0|Ispat Industries Limited,ISPATIND|0|Ispat Industries Limited,ITC|0|ITC Ltd.,ITDCEM|0|ITD Cementation India Limited,ITI|0|ITI Ltd.,IVC|0|IL&FS Investment Managers Limited,IVP|0|IVP Ltd.,IVRCLINFRA|0|IVRCL Infrastructures & Projects Ltd.,IVRPRIME|0|IVR Prime Urban Developers Limited,J&KBANK|0|The Jammu & Kashmir Bank Ltd.,JAGRAN|0|Jagran Prakashan Limited,JAGSNPHARM|0|Jagsonpal Pharmaceuticals Ltd.,JAIBALAJI|0|Jai Balaji Industries Limited,JAICORPLTD|0|Jai Corp Limited,JAINSTUDIO|0|Jain Studios Limited,JAYAGROGN|0|Jayant Agro Organics Ltd.,JAYBARMARU|0|Jay Bharat Maruti Ltd,JAYPEEHOT|0|Jaypee Hotels Ltd,JAYSREETEA|0|Jayshree Tea & Industries Ltd,JBCHEPHARM|0|JB Chemicals & Pharmaceuticals Ltd.,JBFIND|0|JBF Industries Ltd.,JBMA|0|JBM Auto Limited,JCTEL|0|JCT Electronics Limited,JDORGO|0|,JENSONICOL|0|Jenson & Nicholson (India) Ltd,JETAIRWAYS|0|Jet Airways (India) Ltd.,JHS|0|JHS Svendgaard Laboratories Limited,JIK|0|,JINDALPHOT|0|Jindal Photo Limited,JINDALPOLY|0|Jindal Poly Films Limited,JINDALSAW|0|Jindal Saw Limited,JINDALSTEL|0|Jindal Steel & Power Ltd.,JINDALSWHL|0|Jindal South West Holdings Limited,JINDRILL|0|Jindal Drilling And Industries Limited,JISLJALEQS|0|Jain Irrigation Systems Limited,JKCEMENT|0|JK Cement Limited,JKLAKSHMI|0|JK Lakshmi Cement Limited,JKPAPER|0|JK Paper Limited,JKTYRE|0|JK Tyre & Industries Limited,JMCPROJECT|0|JMC Projects (India)  Ltd.,JMFINANCIL|0|JM Financial Limited,JMTAUTOLTD|0|JMT Auto Limited,JPASSOCIAT|0|Jaiprakash Associates Limited,JPHYDRO|0|Jaiprakash Hydro-Power Limited,JSTAINLESS|0|,JSWENERGY|0|JSW Energy Limited,JSWSTEEL|0|JSW Steel Limited,JUBILANT|0|Jubilant Organosys Limited,JUNIORBEES|0|Benchmark Mutual Fund-Nifty Junior Benchmark ETF,JYOTHYLAB|0|Jyothy Laboratories Limited,JYOTISTRUC|0|Jyoti Structures Ltd,KABRAEXTRU|0|Kabra Extrusion Technik Ltd,KAJARIACER|0|Kajaria Ceramics Ltd,KAKATCEM|0|Kakatiya Cement Sugar & Industries Ltd,KALECONSUL|0|Kale Consultants Limited,KALINDEE|0|Kalindee Rail Nirman (Engineers) Limited,KALPATPOWR|0|Kalpataru Power Transmission Ltd,KALYANIFRG|0|Kalyani Forge Limited,KAMATHOTEL|0|Kamat Hotels (I) Ltd,KANORICHEM|0|Kanoria Chemicals & Industries Ltd,KANSAINER|0|Kansai Nerolac Paints Limited,KARURVYSYA|0|Karur Vysya Bank Ltd,KAUSHALYA|0|Kaushalya Infrastructure Development Corporation Limited,KBL|0|Kirloskar Brothers Limited,KCP|0|KCP Ltd,KCPSUGIND|0|KCP Sugar and Industries Corporation Ltd.,KEC|0|KEC International Limited,KECINFRA|0|,KEI|0|KEI Industries Limited,KERNEX|0|Kernex Microsystems (India) Limited,KESARENT|0|Kesar Enterprises Ltd.,KESORAMIND|0|Kesoram Industries Ltd.,KEYCORPSER|0|Keynote Corp. Serv. Ltd.,KHAITANELE|0|Khaitan Electricals Limited,KFA|0|Kingfisher Airlines Limited,KHAITANLTD|0|Khaitan (India) Ltd.,KHANDSE|0|Khandwala Securities Limited,KIL|0|Kamdhenu Ispat Limited,KINETICMOT|0|Kinetic Motor Company Limited,KIRLOSOIL|0|Kirloskar Oil Engines Ltd.,KKCL|0|Kewal Kiran Clothing Limited,KLGSYSTEL|0|KLG Systel Ltd.,KMSUGAR|0|,KNL|0|,KOHINOOR|0|Kohinoor Foods Limited,KOLTEPATIL|0|Kolte - Patil Developers Limited,KOPDRUGS|0|KDL Biotech Limited,KOPRAN|0|Kopran Ltd.,KOTAKBANK|0|Kotak Mahindra Bank Limited,KOTAKGOLD|0|Kotak Mutual Fund - Gold Exchange Traded Fund,KOTAKPSUBK|0|Kotak Mahindra Mutual Fund,KOTARISUG|0|Kothari Sugars And Chemicals Limited,KOTHARIPET|0|Kothari Petrochemicals Ltd,KOTHARIPRO|0|Kothari Products Ltd.,KOUTONS|0|Koutons Retail India Limited,KPIT|0|KPIT Cummins Infosystems Limited,KPRMILL|0|K.P.R. Mill Limited,KRBL|0|KRBL Limited,KRISHNAENG|0|Krishna Engineering Works Ltd,KSBPUMPS|0|KSB Pumps Ltd.,KSCL|0|Kaveri Seed Company Limited,KSERAPRO|0|K Sera Sera Productions Limited,KSK|0|KSK Energy Ventures Limited,KSOILS|0|K S Oils Limited,KTKBANK|0|The Karnataka Bank Limited,LAKPRE|0|Lakshmi Precision Screws Limited,LAKSHMIEFL|0|Lakshmi Energy and Foods Limited,LAKSHVILAS|0|Lakshmi Vilas Bank Ltd,LANABS|0|,LANCOIN|0|Lanco Industries Ltd,LAOPALA|0|La Opala RG Limited,LAXMIMACH|0|Lakshmi Machine Works Ltd.,LCCINFOTEC|0|LCC Infotech Limited,LGBROS|0|LG Balakrishnan & Bros Ltd,LIBERTSHOE|0|Liberty Shoes Ltd,LICHSGFIN|0|LIC Housing Finance Ltd,LIQUIDBEES|0|Benchmark Asset Management Company Private Limited,LITL|0|Lanco Infratech Limited,LLOYDELENG|0|Lloyd Electric & Engineering Ltd,LLOYDFIN|0|Lloyds Finance Ltd.,LLOYDSTEEL|0|Lloyds Steel Industries Ltd.,LML|0|LML Ltd.,LOGIXMICRO|0|Logix Microsystems Limited,LOKESHMACH|0|LOKESH MACHINES LIMITED,LOTTEINDIA|0|Lotte India Corporation Limited,LT|0|Larsen & Toubro Limited,LUMAXAUTO|0|Lumax Automotive Systems Limited,LUMAXIND|0|Lumax Industries Ltd,LUMAXTECH|0|Lumax Auto Technologies Limited,LUPIN|0|Lupin Limited,LYKALABS|0|Lyka Labs Ltd,M&M|0|Mahindra & Mahindra Ltd.,M&MFIN|0|Mahindra & Mahindra Financial Services Limited,MAARSOFTW|0|Maars Software International Ltd.,MACMILLAN|0|Macmillan India Limited,MADHAV|0|,MADHUCON|0|Madhucon Projects Limited,MADRASCEM|0|Madras Cements Ltd.,MADRASFERT|0|Madras Fertilizers Ltd,MAGMA|0|Magma Fincorp Limited,MAGNUM|0|Magnum Ventures Limited,MAHABANK|0|Bank of Maharashtra,MAHINDFORG|0|Mahindra Forgings Limited,MAHINDUGIN|0|Mahindra Ugine Steel Co. Ltd,MAHLIFE|0|Mahindra Lifespace Developers Limited,MAHSCOOTER|0|Maharashtra Scooters Ltd,MAHSEAMLES|0|Maharashtra Seamless Ltd,MALCO|0|The Madras Aluminium Co Ltd,MALUPAPER|0|Malu Paper Mills Limited,MALWACOTT|0|Malwa Cotton Spg. Mills Ltd,MANALIPETC|0|Manali Petrochemical Ltd,MANALU|0|Man Aluminium Limited,MANGALAM|0|Mangalam Drugs And Organics Limited,MANGCHEFER|0|Mangalore Chemicals & Fertilizers Limited,MANGLMCEM|0|Mangalam Cement Ltd,MANGTIMBER|0|Mangalam Timber Products Ltd,MANINDS|0|Man Industries (India) Ltd.,MANUGRAPH|0|Manugraph India Ltd.,MARALOVER|0|Maral Overseas Ltd,MARICO|0|Marico Limited,MARKSANS|0|Marksans Pharma Limited,MARUTI|0|Maruti Suzuki India Limited,MASTEK|0|Mastek Ltd,MATRIXLABS|0|Matrix Laboratories Limited,MAX|0|Max India Ltd,MAXWELL|0|Maxwell Industries Limited,MAYTASINFR|0|Maytas Infra Limited,MBECL|0|Mcnally Bharat Engineering Company Limited,MCDHOLDING|0|,MCDOWELL-N|0|United Spirits Limited,MCLEODRUSS|0|Mcleod Russel India Limited,MEDIA|0|Media Video Limited,MEGASOFT|0|Megasoft Limited,MEGH|0|Meghmani Organics Limited,MELSTAR|0|Melstar Information Technologies Ltd.,MERCK|0|Merck Limited,MIC|0|MIC Electronics Limited,MICO|0|,MICRO|0|Micro Inks Limited,MICROTECH|0|Micro Technologies (India) Limited,MID-DAY|0|Mid-Day Multimedia Limited,MINDAIND|0|Minda Industries Limited,MINDTREE|0|MindTree Limited,MIRCELECTR|0|MIRC Electronics Ltd.,MIRZAINT|0|,MLL|0|Mercator Lines Limited,MMFL|0|MM Forgings Ltd.,MONNETISPA|0|Monnet Ispat Ltd,MONSANTO|0|Monsanto India Limited,MORARJETEX|0|Morarjee Textiles Limited,MOREPENLAB|0|Morepen Laboratories Ltd,MORGANSTAN|0|,MOSERBAER|0|Moser-Baer (I) Ltd,MOTHERSUMI|0|Motherson Sumi Systems Ltd.,MOTILALOFS|0|Motilal Oswal Financial Services Limited,MOTOGENFIN|0|The Motor & General Finance Ltd,MPHASIS|0|MphasiS Limited,MRF|0|MRF Ltd.,MRO-TEK|0|MRO-TEK Limited,MRPL|0|Mangalore Refinery and Petrochemicals Ltd.,MSKPROJ|0|MSK Projects (India) Limited,MSPL|0|MSP Steel & Power Limited,MTNL|0|Mahanagar Telephone Nigam Ltd.,MUDRA|0|Mudra Lifestyle Limited,MUKANDENGG|0|Mukand Engineers Limited,MUKANDLTD|0|Mukand Limited,MUKTAARTS|0|Mukta Arts Ltd.,MUNDRAPORT|0|Mundra Port and Special Economic Zone Limited,MUNJALAU|0|Munjal Auto Industries Limited,MUNJALSHOW|0|Munjal Showa Ltd,MURLIIND|0|Murli Industries Limited,MURUDCERA|0|Murudeshwar Ceramics Ltd,MYSORECEM|0|Mysore Cements Ltd,NAGARCONST|0|Nagarjuna Construction Co. Ltd,NAGARFERT|0|Nagarjuna Fertilizer & Chemicals Ltd.,NAGPURENG|0|,NAGREEKCAP|0|Nagreeka Capital & Infrastructure Limited,NAGREEKEXP|0|Nagreeka Exports Limited,NAHARINDUS|0|Nahar Industrial Enterprises Limited,NAHARINVST|0|Nahar Investments and Holding Limited,NAHARSPING|0|Nahar Spinning Mills Ltd.,NANDAN|0|Nandan Exim Limited,NATCOPHARM|0|Natco Pharma Limited,NATIONALUM|0|National Aluminium Company Limited,NATNLSTEEL|0|NATIONAL STEEL AND AGRO INDUSTRIES LIMITED,NAUKRI|0|Info Edge (India) Limited,NAVINFLUOR|0|Navin Fluorine International Limited,NAVNETPUBL|0|Navneet Publications India Ltd.,NBVENTURES|0|Nava Bharat Ventures Limited,NCLIND|0|NCL Industries Limited,NDTV|0|New Delhi Television Limited,NECLIFE|0|Nectar Lifesciences Limited,NELCAST|0|Nelcast Limited,NELCO|0|,NEOCURTHER|0|,NEPCMICON|0|NEPC India Ltd,NETFINCO|0|,NETWORK18|0|Network 18 Fincap Limited,NEYVELILIG|0|Neyveli Lignite Corporation Limited,NFL|0|National Fertilizers Limited,NICCO|0|Nicco Corporation Limited,NICOLASPIR|0|,NIFTYBEES|0|Benchmark Mutual Fund,NIITLTD|0|NIIT Limited,NIITTECH|0|NIIT Technologies Limited,NILKAMAL|0|Nilkamal Limited,NIPPOBATRY|0|Nippo Batteries Co. Limited,NIRMA|0|Nirma Ltd.,NISSAN|0|,NITCO|0|Nitco Limited,NITINFIRE|0|Nitin Fire Protection Industries Limited,NITINSPIN|0|Nitin Spinners Limited,NOCIL|0|NOCIL Limited,NOIDATOLL|0|Noida Toll Bridge Company Ltd,NORBTEAEXP|0|Norben Tea & Exports Ltd.,NORTHGATE|0|Northgate Technologies Limited,NOVAPETRO|0|Nova Petrochemicals Limited,NOVOPANIND|0|Novopan Industries Limited,NRBBEARING|0|NRB Bearing Limited,NRC|0|,NSIL|0|Nalwa Sons Investments Limited,NTPC|0|NTPC Limited,NUCENT|0|,NUCHEM|0|Nuchem Ltd,NUCLEUS|0|Nucleus Software Exports Limited,NUMERICPW|0|Numeric Power Systems Limited,OCL|0|OCL India Ltd.,OILCOUNTUB|0|Oil Country Tubular Ltd,OMAXAUTO|0|OMAX AUTOS LIMITED,OMAXE|0|Omaxe Limited,OMNITECH|0|Omnitech Infosolutions Limited,ONGC|0|Oil & Natural Gas Corpn Ltd,ONWARDTEC|0|Onward Technologies Ltd,OPTOCIRCUI|0|Opto Circuits (India) Limited,ORBITCORP|0|Orbit Corporation Limited,ORBITCORP|0|Orbit Corporation Limited,ORCHIDCHEM|0|Orchid Chemicals & Pharmaceuticals Ltd,ORGINFO|0|ORG Informatics Limited,ORIENTABRA|0|Orient Abrasives Limited,ORIENTBANK|0|Oriental Bank of Commerce,ORIENTCERA|0|Orient Ceramics and Industries Limited,ORIENTHOT|0|Oriental Hotels Ltd,ORIENTINFO|0|,ORIENTPPR|0|Orient Paper & Industries Ltd,ORIENTPRES|0|Orient Press Ltd,OTL|0|Oriental Trimex Limited,OUDHSUG|0|,PAEL|0|PAE Limited,PAGEIND|0|Page Industries Limited,PANACEABIO|0|Panacea Biotec Ltd.,PANORAMUNI|0|Panoramic Universal Limited,PANTALOONR|0|Pantaloon Retail (India) Ltd.,PANTALOONR|0|Pantaloon Retail (India) Ltd.,PAPERPROD|0|The Paper Products Limited,PARACABLES|0|Paramount Communications Ltd,PARAL|0|Parekh Aluminex Limited,PAREKHPLAT|0|Parekh Platinum Ltd,PARSVNATH|0|Parsvnath Developers Limited,PATELENG|0|Patel Engineering Limited,PATNI|0|Patni Computer Systems Limited,PATSPINLTD|0|Patspin India Ltd,PBAINFRA|0|PBA Infrastructure Limited,PDUMJEAGRO|0|,PDUMJEPULP|0|Pudumjee Pulp & Paper Mills Ltd.,PEACOCKIND|0|,PEARLGLOBL|0|Pearl Global Ltd,PEARLPOLY|0|Pearl Polymers Ltd,PENINLAND|0|Peninsula Land Limited,PEPL|0|Pearl Engineering Polymers Limited,PETRONENGG|0|Petron Engineering Construction Ltd.,PETRONET|0|Petronet LNG Limited,PFC|0|Power Finance Corporation Limited,PFIZER|0|Pfizer Ltd.,PFOCUS|0|Prime Focus Limited,PGHH|0|Procter & Gamble Hygiene and Health Care Limited,PHILIPCARB|0|Phillips Carbon Black Ltd.,PHOENIXLMP|0|Phoenix Lamps Ltd,PHOENIXLTD|0|The Phoenix Mills Limited,PIDILITIND|0|Pidilite Industries Ltd,PIONEEREMB|0|Pioneer Embroideries Limited,PIRAMYDRET|0|,PITTILAM|0|Pitti Laminations Limited,PLASTIBLEN|0|Plastiblends India Limited,PLETHICO|0|Plethico Pharmaceuticals Limited,PNB|0|Punjab National Bank,PNBGILTS|0|PNB Gilts Limited,PNC|0|Pritish Nandy Communications Ltd.,POCHIRAJU|0|Pochiraju Industries Limited,POLARIND|0|Polar Industries Ltd,POLARIS|0|Polaris Software Lab Limited,POLYPLEX|0|Polyplex Corporation Ltd.,PONNIERODE|0|Ponni Sugars (Erode) Limited,POWERGRID|0|Power Grid Corporation of India Limited,PRAENG|0|Prajay Engineers Syndicate Limited,PRAJIND|0|Praj Industries Ltd,PRAKASH|0|Prakash Industries Ltd,PRATIBHA|0|Pratibha Industries Limited,PRECOT|0|Precot Meridian Limited,PRECWIRE|0|Precision Wires India Ltd,PREMIER|0|Premier Limited,PRICOL|0|Pricol Limited,PRIMESECU|0|Prime Securities Limited,PRISMCEM|0|Prism Cement Limited,PRITHVI|0|Prithvi Information Solutions Limited,PROVOGUE|0|Provogue (India) Limited,PSL|0|PSL Limited,PSTL|0|Pyramid Saimira Theatre Limited,PSUBNKBEES|0|Benchmark Mutual Fund - PSU Bank Benchmark Exchange Traded Scheme,PTC|0|PTC India Limited,PTL|0|PTL Enterprises Limited,PUNJABCHEM|0|Punjab Chemicals & Crop Protection Limited,PUNJABTRAC|0|Punjab Tractors Ltd.,PUNJLLOYD|0|Punj Lloyd Limited,PURVA|0|Puravankara Projects Limited,PVR|0|PVR Limited,QUINTEGRA|0|Quintegra Solutions Limited,RADAAN|0|Radaan Mediaworks India Limited,RADICO|0|Radico Khaitan Limited,RAJESHEXPO|0|Rajesh Exports Ltd.,RAJRAYON|0|Raj Rayon Limited,RAJSREESUG|0|Rajshree Sugars & Chemicals Ltd,RAJTV|0|Raj Television Network Limited,RAJVIR|0|Rajvir Industries Limited,RALLIS|0|Rallis India Ltd.,RAMANEWS|0|Rama Newsprint and Papers Limited,RAMCOIND|0|Ramco Industries Ltd,RAMCOSYS|0|Ramco Systems Limited,RAMSARUP|0|Ramsarup Industries Limited,RANASUG|0|Rana Sugars Ltd,RANBAXY|0|Ranbaxy Laboratories Ltd,RANEBRAKE|0|,RANEHOLDIN|0|Rane Holdings Limited,RATNAMANI|0|Ratnamani Metals & Tubes Limited,RAYMOND|0|Raymond Ltd.,RCF|0|Rashtriya Chemicals and Fertilizers Ltd.,RCOM|0|Reliance Communications Limited,REDINGTON|0|Redington (India) Limited,REGENCERAM|0|Regency Ceramics Ltd.,REIAGRO|0|,REL|0|,RELCAPITAL|0|Reliance Capital Limited,RELGOLD|0|Reliance Mutual Fund - Gold Exchange Traded Fund,RELIANCE|0|Reliance Industries Ltd,RELINFRA|0|Reliance Infrastructure Limited,RELIGARE|0|Religare Enterprises Limited,REMSONSIND|0|Remsons Industries Ltd,RENUKA|0|Shree Renuka Sugars Limited,REPRO|0|Repro India Limited,REVATHI|0|Revathi Equipment Limited,REVL|0|,RICOAUTO|0|Rico Auto Industries Ltd,RIIL|0|Reliance Industrial Infrastructure Limited,RJL|0|Renaissance Jewellery Limited,RJL|0|Renaissance Jewellery Limited,RKFORGE|0|Ramkrishna Forgings Limited,RMCL|0|Radha Madhav Corporation Limited,RMEDIA|0|Reliance Media World Limited,RML|0|Rane (Madras) Limited,RNRL|0|Reliance Natural Resources Limited,ROHITFERRO|0|Rohit Ferro-Tech Limited,ROHLTD|0|Royal Orchid Hotels Limited,ROLTA|0|Rolta India Ltd.,ROMAN|0|Roman Tarmat Limited,RPGCABLES|0|,RPGLS|0|,RPGTLTD|0|,RPL|0|Reliance Petroleum Limited,RSSOFTWARE|0|R. S. Software (India) Limited,RSWM|0|RSWM Limited,RSYSTEMS|0|R Systems International Limited,RUBYMILLS|0|The Ruby Mills Ltd,RUCHINFRA|0|,RUCHIRA|0|Ruchira Papers Limited,RUCHISOYA|0|Ruchi Soya Industries Ltd.,SABERORGAN|0|Sabero Organics Gujarat Ltd,SABTN|0|Sri Adhikari Brothers Television Network Limited,SADBHAV|0|Sadbhav Engineering Limited,SAGCEM|0|Sagar Cements Ltd.,SAHPETRO|0|,SAIL|0|Steel Authority of India Ltd.,SAKHTISUG|0|Sakthi Sugars Ltd.,SAKSOFT|0|Saksoft Limited,SAKUMA|0|Sakuma Exports Limited,SAKUMA|0|Sakuma Exports Limited,SALORAINTL|0|Salora International Ltd.,SALSTEEL|0|S.A.L. Steel Limited,SAMBHAAV|0|Sambhaav Media Limited,SAMTEL|0|Samtel Color Ltd.,SANDESH|0|The Sandesh Limited,SANGAMIND|0|Sangam (India) Ltd.,SANGHIIND|0|Sanghi Industries Limited,SANGHIPOLY|0|Sanghi Polyesters Ltd.,SANGHVIMOV|0|Sanghvi Movers Ltd.,SANWARIA|0|Sanwaria Agro Oils Limited,SAPL|0|South Asian Petrochem Limited,SAREGAMA|0|Saregama India Limited,SARLAPOLY|0|Sarla Performance Fibers Limited,SASKEN|0|Sasken Communication Technologies Limited,SATHAISPAT|0|Sathavahana Ispat Ltd,SATYAMCOMP|0|Satyam Computer Services Ltd,SAVITACHEM|0|Savita Chemicals Ltd,SB&TINTL|0|SB&T International Ltd,SBIN|0|State Bank of India,SCI|0|Shipping Corporation Of India Ltd.,SEAMECLTD|0|SEAMEC Limited,SELAN|0|Selan Exploration Technology Limited,SELMCL|0|SEL Manufacturing Company Limited,SESAGOA|0|Sesa Goa Ltd.,SESHAPAPER|0|Seshasayee Paper and Boards Ltd,SGFL|0|Shree Ganesh Forgings Limited,SGL|0|STL Global Limited,SHAHALLOYS|0|,SHANTIGEAR|0|Shanthi Gears Ltd,SHARRESLTD|0|Sharyans Resources Ltd.,SHASUNCHEM|0|Shasun Chemicals and Drugs Ltd.,SHIV-VANI|0|Shiv-Vani Oil & Gas Exploration Services Limited,SHIVAMAUTO|0|Shivam Autotech Limited,SHIVTEX|0|Shiva Texyarn Limited,SHLAKSHMI|0|Shri Lakshmi Cotsyn Limited,SHOPERSTOP|0|Shoppers Stop Limited,SHREEASHTA|0|Shree Ashtavinayak Cine Vision Limited,SHREECEM|0|Shree Cements Ltd,SHREERAMA|0|Shree Rama Multi-Tech Limited,SHRENUJ|0|Shrenuj & Co Ltd,SHREYANIND|0|,SHREYAS|0|Shreyas Shipping & Logistics Limited,SHRINGAR|0|,SHRIRAMCIT|0|Shriram City Union Finance Limited,SHYAMTEL|0|Shyam Telecom Limited,SICAL|0|,SIEMENS|0|Siemens Ltd,SIGROUPIND|0|SI Group - India Limited,SIL|0|Standard Industries Limited,SILINV|0|SIL Investments Limited,SIMBHSUGAR|0|,SIMPLEX|0|Simplex Projects Limited,SIMPLEXINF|0|Simplex Infrastructures Limited,SINTEX|0|Sintex Industries Ltd.,SIRPAPER|0|The Sirpur Paper Mills Ltd,SIYSIL|0|Siyaram Silk Mills Ltd,SKFINDIA|0|SKF India Limited,SKMEGGPROD|0|SKM Egg Products Export (India) Ltd.,SKUMARSYNF|0|S. Kumars Nationwide Ltd,SMSPHARMA|0|SMS Pharmaceuticals Limited,SMZSCHEM|0|,SOBHA|0|Sobha Developers Limited,SOFTPRO|0|Softpro Systems Limited,SOFTSOLINT|0|,SOFTTECHGR|0|Software Technology Group International Limited,SOLAREX|0|Solar Explosives Limited,SOMANYCERA|0|Somany Ceramics Limited,SOMATEX|0|Soma Textiles & Industries Ltd.,SONASTEER|0|Sona Koyo Steering Systems Ltd.,SONATSOFTW|0|Sonata Software Ltd,SOUTHBANK|0|The South Indian Bank Ltd.,SPARC|0|Sun Pharma Advanced Research Company Limited,SPENTEX|0|Spentex Industries Ltd,SPIC|0|Southern Petrochemicals Industries Corporation  Ltd.,SPLIL|0|SPL Industries Limited,SPSL|0|Shree Precoated Steels Limited,SREINTFIN|0|SREI Infrastructure Finance Limited,SRF|0|SRF Ltd.,SRGINFOTEC|0|SRG Infotec (India) Ltd.,SRHHLINDST|0|SRHHL Industries Limited,SRHHYPOLTD|0|Sree Rayalaseema Hi-Strength Hypo Limited,SRTRANSFIN|0|Shriram Transport Finance Co. Ltd.,SSWL|0|Steel Strips Wheels Limited,STAR|0|Strides Arcolab Limited,STARPAPER|0|Star Paper Mills Ltd,STCINDIA|0|The State Trading Corporation of India Limited,STEELTUBES|0|Steel Tubes of India Limited,STER|0|Sterlite Industries ( India ) Limited,STERLINBIO|0|Sterling Biotech Limited,STERTOOLS|0|Sterling Tools Ltd.,STINDIA|0|STI India Ltd,STRTECH|0|Sterlite Technologies Limited,SUBEX|0|Subex Limited,SUBHASPROJ|0|Subhash Projects & Marketing Ltd,SUBROS|0|Subros Ltd,SUNDARMFIN|0|Sundaram Finance Ltd.,SUNDRMBRAK|0|Sundaram Brake Linings Ltd.,SUNDRMCLAY|0|,SUNDRMFAST|0|Sundram Fasteners Ltd,SUNFLAG|0|Sunflag Iron And Steel Company Limited,SUNILHITEC|0|SUNIL HITECH ENGR. LTD,SUNPHARMA|0|Sun Pharmaceuticals Industries Ltd,SUNTV|0|Sun TV Network Limited,SUPERSPIN|0|,SUPPETRO|0|Supreme Petrochem Ltd,SUPRAJIT|0|Suprajit Engineering Limited,SUPREMEIND|0|Supreme Industries Ltd,SUPREMEINF|0|Supreme Infrastructure India Limited,SUPREMYARN|0|,SURAJDIAMN|0|Su-Raj Diamonds and Jewellery Limited,SURANAIND|0|Surana Industries Limited,SURANATELE|0|Surana Telecom Ltd.,SURYAJYOTI|0|Suryajyoti Spinning Mills Limited,SURYALAXMI|0|,SURYAPHARM|0|Surya Pharmaceutical Limited,SURYAROSNI|0|Surya Roshni Ltd,SUTLEJTEX|0|,SUVEN|0|Suven Life Sciences Limited,SUZLON|0|Suzlon Energy Limited,SWARAJENG|0|Swaraj Engines Ltd,SWARAJMAZD|0|Swaraj Mazda Ltd,SYNDIBANK|0|Syndicate Bank,TAINWALCHM|0|Tainwala Chemical and Plastic (I) Ltd,TAJGVK|0|Taj GVK Hotels & Resorts Limited,TAKE|0|Take Solutions Limited,TALBROAUTO|0|Talbros Automotive Components Limited,TANLA|0|Tanla Solutions Limited,TATACHEM|0|Tata Chemicals Ltd.,TATACOMM|0|Tata Communications Limited,TATACOFFEE|0|Tata Coffee Limited,TATAELXSI|0|Tata Elxsi (India) Ltd,TATAINVEST|0|Tata Investment Corporation Ltd.,TATAMETALI|0|Tata Metaliks Ltd,TATAMOTORS|0|Tata Motors Limited,TATAPOWER|0|Tata Power Co. Ltd.,TATASPONGE|0|Tata Sponge Iron Ltd.,TATASTEEL|0|Tata Steel Limited,TATATEA|0|Tata Tea Ltd,TCI|0|Transport Corporation of India Limited,TCIFINANCE|0|,TCS|0|Tata Consultancy Services Limited,TECHM|0|Tech Mahindra Limited,TECHNOELEC|0|Techno Electric and Engineering Co Ltd,TEXMACOLTD|0|Texmaco Limited,TFCILTD|0|Tourism Finance Corpn of India Ltd,TFL|0|Transwarranty Finance Limited,THEMISMED|0|Themis Medicare Limited,THERMAX|0|Thermax Ltd,THIRUSUGAR|0|Thiru Arooran Sugars Limited,THOMASCOOK|0|Thomas Cook  (India)  Ltd,TIDEWATER|0|Tide Water Oil Co. (India) Limited,TIIL|0|Technocraft Industries (India) Limited,TIL|0|TIL Ltd,TIMESGTY|0|TIMES GUARANTY LIMITED,TIMETECHNO|0|Time Technoplast Limited,TIMKEN|0|Timken India Limited,TINPLATE|0|The Tinplate Company of India Limited,TIPSINDLTD|0|TIPS Industries Limited,TIRUMALCHM|0|Thirumalai Chemicals Ltd,TWL|0|Titagarh Wagons Ltd.,TITAN|0|Titan Industries Ltd.,TNPETRO|0|Tamilnadu  PetroProducts Ltd.,TNPL|0|Tamil Nadu Newsprint & Papers Ltd,TNTELE|0|Tamilnadu Telecommunication Ltd,TODAYS|0|Todays Writing Products Limited,TOKYOPLAST|0|Tokyo Plast International Ltd,TORNTPHARM|0|Torrent Pharmaceuticals Ltd.,TORNTPOWER|0|Torrent Power Limited,TRENT|0|Trent Ltd.,TRICOM|0|Tricom India Limited,TRIGYN|0|Trigyn Technologies Limited,TRIL|0|Transformers And Rectifiers (India) Limited,TRIVENI|0|Triveni Engineering & Industries Limited,TTKPRESTIG|0|TTK Prestige Ltd.,TTL|0|T T Limited,TTML|0|Tata Teleservices (Maharashtra) Limited,TUBEINVEST|0|Tube Investments of India Ltd,TULIP|0|Tulip Telecom Limited,TULSYAN|0|Tulsyan Nec Limited,TV-18|0|Television Eighteen India Ltd.,TVSELECT|0|TVS Electronics Limited,TVSMOTOR|0|TVS Motor Company Limited,TVSSRICHAK|0|TVS Srichakra Ltd,TVTODAY|0|TV Today Network Limited,UCALFUEL|0|Ucal Fuel Systems Ltd,UCOBANK|0|UCO Bank,UFLEX|0|UFLEX Limited,ULTRACEMCO|0|UltraTech Cement Limited,UMITL|0|Usha Martin Infotech Limited,UNICHEMLAB|0|Unichem Laboratories Ltd,UNIENTER|0|Uniphos Enterprises Limited,UNIONBANK|0|Union Bank of India,UNIPHOS|0|United Phosphorous Limited,UNIPLY|0|Uniply Industries Limited,UNITECH|0|Unitech Ltd,UNITY|0|Unity Infraprojects Limited,UNIVCABLES|0|,UPERGANGES|0|Upper Ganges Sugar & Industries Ltd,US64BONDS|0|,USHAMART|0|Usha Martin Limited,UTISUNDER|0|UTI Mutual Fund,UTTAMSTL|0|Uttam Galva Steels Limited,UTTAMSUGAR|0|Uttam Sugar Mills Limited,UTVSOF|0|UTV Software Communications Limited,VAIBHAVGEM|0|Vaibhav Gems Limited,VAKRANSOFT|0|Vakrangee Softwares Limited,VALECHAENG|0|Valecha Engineering Limited,VARDHACRLC|0|Vardhman Acrylics Limited,VARDMNPOLY|0|Vardhman Polytex Limited,VARUN|0|Varun Industries Limited,VARUNSHIP|0|Varun Shipping Co. Ltd.,VDOCONAPPL|0|,VENKEYS|0|Venky's (India) Limited,VENUSREM|0|Venus Remedies Limited,VESUVIUS|0|Vesuvius India Ltd,VHL|0|,VICEROY|0|,VIDEOIND|0|Videocon Industries Limited,VIJAYABANK|0|Vijaya Bank,VIKASHMET|0|Vikash Metal & Power Limited,VIMTALABS|0|Vimta Labs Limited,VINDHYATEL|0|Vindhya Telelinks Ltd.,VINTAGE|0|,VINYLCHEM|0|,VIPIND|0|VIP Industries Ltd.,VISAKAIND|0|Visaka Industries Ltd.,VISASTEEL|0|Visa Steel Limited,VISESHINFO|0|Visesh Infotecnics Limited,VISHALEXPO|0|Vishal Exports Overseas Limited,VISHALRET|0|Vishal Retail Limited,VISUINTL|0|Visu International Limited,VIVIMEDLAB|0|Vivimed Labs Limited,VLSFINANCE|0|VLS Finance Ltd.,VOLTAMP|0|Voltamp Transformers Limited,VOLTAS|0|Voltas Ltd.,VSNL|0|,VSTIND|0|VST Industries Ltd.,VTL|0|Vardhman Textiles Limited,WALCHANNAG|0|Walchandnagar Industries Ltd,WANBURY|0|Wanbury Limited,WEBELSOLAR|0|Webel-SL Energy Systems Limited,WEIZMANIND|0|,WELGUJ|0|Welspun Gujarat Stahl Rohren Limited,WELSPUNIND|0|Welspun India Limited,WENDT|0|Wendt (India) Ltd.,WHEELS|0|Wheels India Ltd,WILLAMAGOR|0|Williamson Magor & Co Ltd,WINDSOR|0|Windsor Machines Limited,WINSOMYARN|0|Winsome Yarns Ltd,WIPRO|0|Wipro Ltd,WOCKPHARMA|0|Wockhardt Limited,WSI|0|W S Industries (I) Ltd,WSTCSTPAPR|0|West Coast Paper Mills Ltd,WWIL|0|Wire and Wireless (India) Limited,WYETH|0|Wyeth Limited,XLTL|0|XL Telecom Limited,XPROINDIA|0|Xpro India Limited,YESBANK|0|Yes Bank Limited,ZANDUPHARM|0|Zandu Pharmaceutical works Ltd.,ZEEL|0|Zee Entertainment Enterprises Ltd,ZEENEWS|0|Zee News Limited,ZENITHBIR|0|Zenith Birla (India) Limited,ZENITHCOMP|0|Zenith Computers Limited,ZENITHEXPO|0|Zenith Exports Ltd.,ZENITHINFO|0|Zenith Infotech Ltd.,ZENSARTECH|0|,ZICOM|0|Zicom Electronic Security Systems Limited,ZODIACLOTH|0|Zodiac Clothing Company Ltd,ZODJRDMKJ|0|Zodiac JRD- MKJ Ltd,ZUARIAGRO|0|Zuari Industries Ltd.,ZYLOG|0|Zylog Systems Limited";
var m_Fno = ",ABAN|400|Aban Offshore Ltd.,ABB|500|Abb Ltd.,ABIRLANUVO|400|Aditya Birla Nuvo Limited,ACC|376|Associated Cement Co. Ltd.,ADLABSFILM|600|Adlabs Films Ltd ,ALBK|2450|Allahabad Bank,AMBUJACEM|4124|Ambuja Cements Ltd.,ANDHRABANK|2300|Andhra Bank,APIL|600|Alstom Projects India Ltd ,ASHOKLEY|9550|Ashok Leyland Ltd,ASIANPAINT|200|Asian Paints Limited,AUROPHARMA|700|Aurobindo Pharma Ltd.,AXISBANK|450|Axis Bank Ltd.,BAJAJ-AUTO|200|Bajaj Auto Limited,BAJAJHIND|1425|Bajaj Hindustan Ltd.,BALRAMCHIN|2400|Balrampur Chini Mills Ltd.,BANKBARODA|700|Bank Of Baroda,BANKINDIA|950|Bank Of India,BEL|276|Bharat Electronics Ltd.,BEML|375|Bharat Earth Movers Ltd.,BHARATFORG|2000|Bharat Forge Co Ltd,BHARTIARTL|500|Bharti Airtel Ltd,BHEL|150|Bharat Heavy Electricals Ltd.,BHUSANSTL|500|Bhushan Steel & Strips Lt ,BIOCON|1800|Biocon Limited. ,BOSCHLTD|100|Motor Industries Co Ltd ,BPCL|550|Bharat Petroleum Corporation Ltd.,BRFL|1150|Bombay Rayon Fashions Ltd ,CAIRN|1250|Cairn India Limited,CANBK|800|Canara Bank,CENTURYTEX|848|Century Textiles Ltd,CESC|1100|Cesc Ltd.,CHAMBLFERT|3450|Chambal Fertilizers Ltd.,CHENNPETRO|1800|Chennai Petroleum Corporation Ltd.,CIPLA|1250|Cipla Ltd.,COLPAL|550|Colgate Palmolive Ltd,CONCOR|250|Container Corporation Of India Limited,CROMPGREAV|1000|Crompton Greaves Ltd.,CUMMINSIND|950|Cummins India Ltd,DABUR|2700|Dabur India Ltd.,DCHL|3400|Deccan Chronicle Holdings Ltd.,DENABANK|5250|Dena Bank ,DISHTV|5150|Dish Tv India Limited,DIVISLAB|620|Divi's Laboratories Ltd.,DLF|800|Dlf Limited ,DRREDDY|400|Dr. Reddy'S Laboratories Ltd.,EDUCOMP|75|Educomp Solutions Ltd ,EKC|2000|Everest Kanto Cylinder Ltd,ESSAROIL|1412|Essar Oil Ltd.,FEDERALBNK|851|Federal Bank Ltd.,FINANTECH|150|Financial Technologies (I) Ltd,FSL|9500|Firstsource Solutions Limited,GAIL|1125|Gail (India) Ltd.,GESHIP|1200|The Great Eastern Shipping Co. Ltd.,GLAXO|300|Glaxosmithkline Pharma Ltd.,GMRINFRA|1250|Gmr Infrastructure Ltd.,GRASIM|176|Grasim Industries Ltd.,GSPL|6100|Gujarat State Petronet Limited,GTL|750|Gtl Ltd.,GTLINFRA|4850|Gtl Infrastructure Limited,GTOFFSHORE|1000|Great Offshore Ltd ,GVKPIL|4750|Gvk Power & Infrastructure Limited,HCC|2100|Hindustan Construction Co,HCLTECH|1300|Hcl Technologies Ltd.,HDFC|150|Housing Development Finance Corporation Ltd.,HDFCBANK|200|Hdfc Bank Ltd.,HDIL|774|Housing Development And Infrastructure Ltd.,HEROHONDA|200|Hero Honda Motors Ltd.,HINDALCO|3518|Hindalco Industries Ltd.,HINDPETRO|650|Hindustan Petroleum Corporation Ltd.,HINDUNILVR|1000|Hindustan Unilever Ltd,HINDZINC|500|Hindustan Zinc Limited ,HOTELEELA|7500|Hotel Leela Ventures Ltd ,IBREALEST|1300|Indiabulls Real Estate Limited,ICICIBANK|350|Icici Bank Ltd.,ICSA|1200|Icsa (India) Limited,IDBI|2400|Industrial Development Bank Of India Ltd.,IDEA|2700|Idea Cellular Ltd.,IDFC|2950|Infrastructure Development Finance Company Ltd.,IFCI|7880|Ifci Ltd.,INDHOTEL|3798|Indian Hotels Co. Ltd.,INDIACEM|1450|India Cements Ltd.,INDIAINFO|2500|India Infoline Limited ,INDIANB|2200|Indian Bank,INFOSYSTCH|200|Infosys Technologies Ltd.,IOB|2950|Indian Overseas Bank,IOC|600|Indian Oil Corporation Ltd.,ISPATIND|12450|Ispat Industries Limited ,ITC|1125|Itc Ltd.,IVRCLINFRA|1000|Ivrcl Infrastructure & Projects Ltd.,JINDALSAW|1000|Jindal Saw Limited ,JINDALSTEL|160|Jindal Steel & Power Ltd,JPASSOCIAT|1125|Jaiprakash Associates Ltd.,JPHYDRO|3125|Jaiprakash Hydro-Power Ltd.,JSWSTEEL|1650|Jsw Steel Ltd.,KFA|4250|Kingfisher Airlines Limited,KOTAKBANK|550|Kotak Mahindra Bank Ltd.,KSOILS|5900|K S Oils Limited,LICHSGFIN|425|Lic Housing Finance Ltd,LITL|2550|Lanco Infratech Ltd.,LT|200|Larsen & Toubro Ltd.,LUPIN|350|Lupin Ltd.,M&M|312|Mahindra & Mahindra Ltd.,MARUTI|200|Maruti Udyog Ltd.,MCDOWELL-N|250|United Spirits Ltd.,MLL|4900|Mercator Lines Limited,MOSERBAER|2475|Moser-Baer (I) Ltd ,MPHASIS|800|Mphasis Ltd.,MRPL|4450|Mangalore Refinery And Petrochemicals Ltd.,MTNL|3200|Mahanagar Telephone Nigam Ltd.,NAGARCONST|2000|Nagarjuna Constrn. Co. Ltd.,NAGARFERT|5250|Nagarjuna Fertiliser & Chemicals Ltd.,NATIONALUM|575|National Aluminium Co. Ltd.,NEYVELILIG|1475|Neyveli Lignite Corporation Ltd.,NOIDATOLL|8200|Noida Toll Bridge Company Ltd,NTPC|1625|National Thermal Power Corporation Ltd.,OFSS|300|Oracle Financial Services Software Limited,ONGC|225|Oil & Natural Gas Corp. Ltd.,OPTOCIRCUI|2040|Opto Circuits (India) Limited,ORCHIDCHEM|2100|Orchid Chemicals Ltd.,ORIENTBANK|1200|Oriental Bank Of Commerce,PANTALOONR|850|Pantaloon Retail (I) Ltd ,PATELENG|1000|Patel Engineering Ltd. ,PATNI|1300|Patni Computer Syst Ltd,PETRONET|4400|Petronet Lng Limited ,PFC|1200|Power Finance Corporation Ltd.,PIRHEALTH|1500|Piramal Healthcare Ltd,PNB|300|Punjab National Bank,POLARIS|2800|Polaris Software Lab Ltd.,POWERGRID|1925|Power Grid Corporation Of India Ltd.,PRAJIND|2200|Praj Industries Ltd.,PTC|2350|Ptc India Limited,PUNJLLOYD|1500|Punj Lloyd Ltd.,RANBAXY|800|Ranbaxy Laboratories Ltd.,RCOM|700|Reliance Communications Ltd.,RECLTD|1950|Rural Electrification Corporation Ltd.,RELCAPITAL|276|Reliance Capital Ltd,RELIANCE|150|Reliance Industries Ltd.,RELINFRA|276|Reliance Infrastructure Limited,RENUKA|2500|Shree Renuka Sugars Ltd.,RNRL|3576|Rel. Nat. Resources Ltd. ,ROLTA|1800|Rolta India Ltd ,RPL|1675|Reliance Petroleum Ltd.,RPOWER|2000|Reliance Power Ltd.,SAIL|1350|Steel Authority Of India Ltd.,SBIN|132|State Bank Of India,SCI|2400|Shipping Corporation Of India Ltd.,SESAGOA|1500|Sesa Goa Ltd.,SIEMENS|752|Siemens Ltd,SINTEX|1400|Sintex Industries Ltd.,STER|438|Sterlite Industries (I) Ltd,STERLINBIO|1250|Sterling Biotech Ltd ,SUNPHARMA|225|Sun Pharmaceuticals India Ltd.,SUNTV|1000|Sun Tv Network Ltd.,SUZLON|3000|Suzlon Energy Ltd.,SYNDIBANK|3800|Syndicate Bank,TATACHEM|1350|Tata Chemicals Ltd,TATACOMM|525|Tata Communications Ltd,TATAMOTORS|850|Tata Motors Ltd.,TATAPOWER|200|Tata Power Co. Ltd.,TATASTEEL|764|Tata Steel Ltd.,TATATEA|550|Tata Tea Ltd.,TCS|1000|Tata Consultancy Services Ltd,TECHM|600|Tech Mahindra Limited ,TITAN|206|Titan Industries Ltd.,TRIVENI|3850|Triveni Engg. & Inds. Ltd.,TTML|10450|Tata Teleserv(Maharastra),TULIP|500|Tulip It Services Ltd ,TV-18|1700|Television Eighteen India Ltd.,UCOBANK|5000|Uco Bank,ULTRACEMCO|400|Ultratech Cement Ltd.,UNIONBANK|1050|Union Bank Of India,UNIPHOS|1400|United Phosphorous Ltd ,UNITECH|4500|Unitech Ltd ,VIJAYABANK|6900|Vijaya Bank,VOLTAS|2700|Voltas Ltd.,WELGUJ|1600|Welspun Guj St. Ro. Ltd. ,WIPRO|600|Wipro Ltd.,YESBANK|2200|Yes Bank Limited,ZEEL|1400|Zee Entertainment Enterprises Ltd.";
var m_Nifty = ",NIFTY|50|S&P CNX Nifty,BANKNIFTY|50|BANK Nifty,CNX100|100|CNX 100,CNXIT|100|CNX IT,JUNIOR|100|CNX Nifty Junior,NFTYMCAP50|300|Nifty Midcap 50,MINIFTY|20|S&P CNX Nifty,DEFTY|150|S&P CNX Defty";

function LoadScript(pack, script)
{
	if (pack == "")
	{
		pack = document.frmQuote.cmbCallType.options[document.frmQuote.cmbCallType.selectedIndex].value;
		document.getElementById("contractMonth").value = "";
 	    document.getElementById("hidCompanyName").value = "";
		document.getElementById("hidLotSize").value = "0";
	}	

	if (pack == "103" || pack == "105")
	{
		if(document.frmQuote.m_CheckTwo != null)
			document.frmQuote.m_CheckTwo.disabled = true;
	}
	else
	{
		if(document.frmQuote.m_CheckTwo != null)
			document.frmQuote.m_CheckTwo.disabled = false;
	}

	var l_ArrayScripts;
	if (pack == "102")
		l_ArrayScripts = m_Fno.split(",");
	else if (pack == "108")
		l_ArrayScripts = m_Nifty.split(",");
	else if (pack == "110")
	{
		var l_optionCall = m_Nifty + m_Fno
		l_ArrayScripts = l_optionCall.split(",");
	}
	else 
		l_ArrayScripts = m_Equity.split(",");
	
	var l_Select;
	var l_Script;
	var l_ArrayScript;
	l_Select = "<select name='cmbQuote' id='cmbQuote' tabindex='3' style='background-color:#FFFFFF;' onchange='OnScriptChange(" + pack + ");'>";
	for(i=0;i<l_ArrayScripts.length;i++){
		l_Script = l_ArrayScripts[i].toUpperCase()
		l_ArrayScript = l_Script.split("|");
		l_Script = l_ArrayScript[0];
		if(script == l_Script) 
			l_Select += "<option selected>" + l_Script + "</option>";
		else
			l_Select += "<option>" + l_Script + "</option>";
	}	
	l_Select += "</select>";
	
	document.getElementById("m_DivQuote").innerHTML = l_Select;

	if (pack == "110")
	{
		document.getElementById("m_DivStrikePrice").style.display = "block";
		document.getElementById("m_DivPutCall").style.display = "block";
	}
	else
	{
		document.getElementById("m_DivStrikePrice").style.display = "none";
		document.getElementById("m_DivPutCall").style.display = "none";
	}
}


function ToggleResultPrice()
{
	var cmbVal = document.frmQuote.cmbResult.options[document.frmQuote.cmbResult.selectedIndex].value;

	if (cmbVal == "0" || cmbVal == "1" || cmbVal == "8")
	{
		document.frmQuote.resultPrice.style.display = "none";
		document.frmQuote.achievedDate.style.display = "none";
	}
	else if (cmbVal == "6" )
	{
		document.frmQuote.resultPrice.style.display = "inline-block";
		document.frmQuote.achievedDate.style.display = "inline-block";
	}
	else if (cmbVal == "5" || cmbVal == "7" || cmbVal == "9")
	{
		//document.frmQuote.resultPrice.disabled = false;
		document.frmQuote.resultPrice.style.display = "inline-block";
		document.frmQuote.achievedDate.style.display = "none";
		document.frmQuote.resultPrice.select();
	}
	else
	{
		//document.frmQuote.resultPrice.disabled = true;
		document.frmQuote.resultPrice.style.display = "none";
		document.frmQuote.achievedDate.style.display = "inline-block";
	}
}

function ToggleResultPrice1()
{
	var cmbVal = document.frmQuote.cmbstatus.options[document.frmQuote.cmbstatus.selectedIndex].value;
	if (cmbVal == "5" || cmbVal == "6" || cmbVal == "7" || cmbVal == "9")
	{
		document.frmQuote.resultPrice.disabled = false;
		document.frmQuote.resultPrice.select();
	}
	else
	{
		document.frmQuote.resultPrice.disabled = true;
	}
}
function NewWindow(url, name, width, height)
{
	win = window.open(url, name, "width= "+ width + ", height="+ height +", toolbar=0, scrollbars=1, status=0, menubar=0, resizable=0");
	win.moveTo((screen.width - width)/2,(screen.height - height)/2);
}

function OnScriptChange(pack) 
{
	var l_Quote = document.getElementById("cmbQuote");

	var l_selectedQuote = l_Quote.options[l_Quote.selectedIndex].value;
	
	var l_ArrayScripts;
	if (pack == "102")
		l_ArrayScripts = m_Fno.split(",");
	else if (pack == "108")
		l_ArrayScripts = m_Nifty.split(",");
	else if (pack == "110")
	{
		var l_optionCall = m_Nifty + m_Fno
		l_ArrayScripts = l_optionCall.split(",");
	}
	else 
		l_ArrayScripts = m_Equity.split(",");

	for(i=0;i<l_ArrayScripts.length;i++){
		l_Script = l_ArrayScripts[i];
		l_ArrayScript = l_Script.split("|");
		l_Script = l_ArrayScript[0].toUpperCase();
		if(l_selectedQuote == l_Script) 
		{
		    document.getElementById("hidLotSize").value = l_ArrayScript[1];
		    document.getElementById("hidCompanyName").value = l_ArrayScript[2];
		    break;
		}
	}
	
	var requestUrl = "/Ajax/GetContractMonth.asp?script=" + encodeURIComponent(l_selectedQuote.replace(" ", ""));
	CreateXmlHttp();
	
	// If browser supports XMLHTTPRequest object
	if(XmlHttp)
	{
		//Setting the event handler for the response
		XmlHttp.onreadystatechange = HandleContractMonthResponse;
		
		//Initializes the request object with GET (METHOD of posting), 
		//Request URL and sets the request as asynchronous.
		XmlHttp.open("GET", requestUrl,  true);
		
		//Sends the request to server
		XmlHttp.send(null);		
	}
}

function ShowTipsOnly()
{
	var e=document.getElementsByName("tipsonly");
	for(var i=0;i<e.length;i++)
	{
		e[i].style.display = 'none';
	}
	
	e=document.getElementsByName("commentsonly");
	for(var i=0;i<e.length;i++)
	{
		e[i].style.display = 'inline-block';
	}
}

function ShowCommentsOnly()
{
	var e=document.getElementsByName("commentsonly");
	for(var i=0;i<e.length;i++)
	{
		e[i].style.display = 'none';
	}
	
	e=document.getElementsByName("tipsonly");
	for(var i=0;i<e.length;i++)
	{
		e[i].style.display = 'inline-block';
	}
}

function ShowAll()
{
	var e=document.getElementsByName("commentsonly");
	for(var i=0;i<e.length;i++)
	{
		e[i].style.display = 'inline-block';
	}
	
	e=document.getElementsByName("tipsonly");
	for(var i=0;i<e.length;i++)
	{
		e[i].style.display = 'inline-block';
	}
}