function css() {

	/* go on for IE in generall */
	if($.browser.msie){
		
		/* take care IE 6 only */
		if($.browser.version <= 6) {
		
			$('#top #nav li:first-child, #mod-banner .mod:first-child, .mod-menu ul li:first-child').addClass('first-child');
		
			$('#nav li, .mod-box a,.mod-box a span ').hover(function(){
				$(this).addClass('hover');
			}, function(){
				$(this).removeClass('hover');
				$(this).addClass('nohover');
			});
		
			$('img').css('behavior','url(js/iepngfix.htc)');
		
			$('input').each(function(){
				var t = $(this).attr('type');
				$(this).addClass(t);
			});
		
		}
	}
	
	
	$('#nav li').each(function(i){
		$(this).addClass('item-'+i);
	});
	
	$('.mod-gal li').each(function(g){
		if(g%2 == 1)
			$(this).addClass('item-even');
		else
			$(this).addClass('item-odd');
	});
	
	$('.mod-box a, .mod-box-menu a').append('<span class="x"></span>');

	$('a.item-img').fancybox({
		'padding': 0,
		'imageTitle': false,
		'zoomOpacity' : true,
		'zoomSpeedIn' : 500,
		'zoomSpeedOut' : 500,
		'centerOnScroll': false
	}); 
		
}

$(document).ready(css);

