	    $(document).ready(function(){ 
	    
    		var lblTagS = $( "span[ @id$='lblKWizComTag']" );
			if(lblTagS.html() != ""){
			lblTagS.parent().css("visibility","visible");
			}
			var lblTagS1 = $( "input[ @id$='txtKWizComTag']" );
			lblTagS1.parent().css("visibility","visible");
			
			var hyperlinkrss = $( "a[@id$='RSSHyperlink']" );
			hyperlinkrss.parent().children().css("visibility","hidden");		
			
			$( "a[@id$='GoBackHyperlink']").css("visibility","visible");
			
			 $( "A[ @href *= '/_layouts/KWizCom_TaggingFeature/TagPagesList.aspx' ]" ).each(function (i) {
			 
			 		var myref = $(this).attr("href");
		   			//alert('Found Link' + replaceTagWithSearchLink(myref));
		   			$(this).attr("href",replaceTagWithSearchLink(myref));
		   			
			});


		        
		 }); 
		  
			
		  

 $(document).ready(function() {
		   		    		
		$(".amdcs-RegularTextLink * a").addClass("Dyamdcs-RegularTextLink");
			
		   var nav = window.location.href.substr(24) ;
		
		    $("li").hover(function() {
		    	
		        $(this).children("a").children(".sf-sub-indicator").addClass("fzsf-sub-indicator");
				$(this).children("a").css("color","#3085D4");
		        }
		    , function() {
		        $(this).children("a").children(".sf-sub-indicator").removeClass("fzsf-sub-indicator");
		        $(this).children("a").css("color","#898989");
		        
		        $(this).children(".fcurrent").css("color","#DEA90F");
		        
		    });
		    
		    var stringhieght = $( "img[ @alt='Enter the code shown above:']" );
			stringhieght.height('22px');
			
			var imageCapthcha = $( "img[ @id$='CaptchaImage']" );
			imageCapthcha.height('22px');

			var lblCapthcha = $( "label[ @id$='CaptchaTextBoxLabel']" );
			lblCapthcha.css("display","none");
			
			 $(".amdcs-promo-display").each(function (i) {
		   			var promoHtml = $(this).children(".amdcs-promo-content").html();
				    $(this).children(".amdcs-promo-content").html(unescape(promoHtml));
			});
				
			$(".srch-BB-SpecialTerm").each(function (i) {
		   			 $(this).children(".ms-WPBody").each(function (j) {
		   			 var promoHtmldiv = $(this).html();
		   			 $(this).html(unescape(promoHtmldiv));
				    	});
			});
			
			$(".srch-BB-Description").each(function (i) {
		   			 var HTMLBestBets = $(this).html();
		   			 $(this).html(unescape(HTMLBestBets));
				    
			});

			
			
});
		   