/*****Fontresizer scripts start*****/

$(document).ready(function () {
	var reset = $('body').css('fontSize'); 
	var elm = $('#padding, .continer_bg');  
	var size = str_replace(reset, 'px', ''); 
	$('a.fontSizePlus').click(function() {
		size = 14;
		elm.css({'fontSize' : size});
		return false;	
	});
	$('a.fontSizeMinus').click(function() {
		size = 10;
		elm.css({'fontSize' : size});
		return false;	
	});
	$('a.fontReset').click(function () {
		 size = 12;
		 elm.css({'fontSize' : reset});		
	});
});
//A string replace function
function str_replace(haystack, needle, replacement) {
	var temp = haystack.split(needle);
	return temp.join(replacement);
}

/*****Fontresizer scripts end*****/


/*****Hide top navigation using jquery start*****/

$(document).ready(function(){
	$("li.page-item-20,li.page-item-14,li.page-item-31,li.page-item-43,li.page-item-442").children("a").attr('href', "javascript:void(0)"); 
});

/*****Hide top navigation using jquery end*****/


/*****Remove the last child border right in top navigation using jquery start*****/

$(function(){  
   $('ul.dropdown li:last',this).css('border-right', 'none');
   $(".list ul li").css("text-align","left");
   // $("li.page-item-46").css("border-right","none");
});

/*****Remove the last child border right in top navigation using jquery end*****/


/*****function for investors by Pavan start*****/

function openURL(){ 
	selInd = document.theForm.aaa.options[document.theForm.aaa.selectedIndex].value; 
	window.location="/investors/financial-results/"+selInd;
}

/*****function for investors by Pavan end*****/

