jQuery(document).ready(function($) {	
	/*Page id variables*/
	var full_name = location.pathname;
	if (full_name.charAt(full_name.length - 1) == "/") full_name = full_name.substr(0, full_name.length - 1);
	var from = full_name.lastIndexOf("/") + 1;
	//var to = full_name.lastIndexOf(".");
	//var page_id = '#' + full_name.substring(from);	
	var page = full_name.substring(from);	
	//alert(page);				
	
	/*menu section*/	
	$current = $('#header-menu a[href$="'+page+'"]').parent();		
	$current.addClass('current-menu-item');	
	
			
	/*dynamic  separators for top menu*/
	$('#header-menu ul li')
		.last()
		.css({'borderRight' : '#CCC 1px solid'});
		
		
	$('#my-zip').focus();
	
	/*dynamic  separators for bottom menu*/
	$('#footer-menu li')
		.css({'borderRight' : '#CCC 1px solid'})
		.last()
		.css({'borderRight' : 'none'});
		
		
	$('#insurance-products-img').click( function() {
		$('#list-of-all-insurance-products').slideToggle(750);
	});
							
});

