function css() {

	
	/* selects */
	$('.dropdown li a, .multiply-list li a').click(function(e){
		e.preventDefault();
		
		prev_prod_id = $(this).parent().parent().children('li.active').children('a').attr('href');
		$(this).parent().parent().children('li.active').removeClass('active');
		$(this).parent().addClass('active');
		
		new_prod_id = $(this).attr('href');
		
		$(prev_prod_id).hide();
		$(new_prod_id).parent().parent().show();
		$(new_prod_id).show();
		$(this).parent().removeClass('hover');
		$(this).parent().parent().removeClass('hover');		
	});
	
	$('.dropdown, .dropdown ul, .dopdown li').hover(function(){
		$(this).addClass('hover');
	}, function(){
		$(this).removeClass('hover');
	});

	$('#nav li ul li:last-child').addClass('last-item');
	
	/* go on for IE in generall */
	if($.browser.msie){
		
		/* take care IE 6 only */
		if($.browser.version <= 6) {
		
		$('#menu .state, #side-nav .box').hover(function(){
			$(this).addClass('hover');
		}, function(){
			$(this).removeClass('hover');
		
		});
		
		
		}
	}

	
}

$(document).ready(css);
