$(document).ready(function(){
						var tallest=0;
				$('.serv-bg').find('ul').each(function(){
								var curheight=$(this).outerHeight();
								if(curheight > tallest)
								{
									tallest=curheight;
								}
					          })
				$('.serv-bg').find('ul').each(function(){
					$(this).parent('div').height(tallest);
				  })

						   })
						   
$(document).ready(function(){
	
	  // If cookie not set, set the cookie to ON
	  /*if($.cookie('lc_offer')){
			alert($.cookie('lc_offer'));
		  } */
		  
		  if(!$.cookie('lc_offer')) {
			  //alert("No cookie set"); No Cookie, set the cookie and value to On
			  $.cookie('lc_offer', 'ON', {path: '/', expires:''});
			  $('#blindX').hide();
			  $('#freePolicy').slideDown('slow', function() {
					$('#blindX').show();
					$('#blindX').cycle({
						fx:        'cover',
						direction: 'left', // one of up|down|left|right  default=left
						delay:    -4000
						}); 
				  
			  });
			  }
	  
	 else if($.cookie('lc_offer') == 'ON'){
			  $('#blindX').hide();
			  setTimeout(function(){ 
				  $('#freePolicy').slideDown('slow', function() {
						$('#blindX').show();
						$('#blindX').cycle({
							fx:        'cover',
							direction: 'left', // one of up|down|left|right  default=left
							delay:    -4000
							}); 
					  
				  });
			  }, 5000 ); 
			  
	  }
	  $('#closePanel').click(function(){
					  $('#blindX').hide();
					  $('#freePolicy').slideUp('slow', function() {
						//  $.cookie('lc_offer', 'OFF');
					  });
					  $.cookie('lc_offer', 'OFF', {path: '/', expires:''});
				  
			  });
	  
   /*       try
	{
		$('#sub-nav').show();
		var ticker_holder = $('.ticker-holder').get(0);
		var ticker_text = $('.ticker').get(0);
		var ticker_pos = ticker_text.parentNode.offsetWidth;

		var ticker_data = $(ticker_holder).html();
		$(ticker_text).parent().html('<marquee scrollamount="2" scrolldelay="40">' + ticker_data + '</marquee>');

		$('#sub-nav').hover
		(
			function() { $('marquee', this).get(0).stop();  },
			function() { $('marquee', this).get(0).start(); }
		);


	}
	catch (o) {} */

});

