$(document).ready(function() {
		
		$('#btns ul li:nth-child(4)').css('margin-right', '0px').css('clear', 'right');
		$('#featured').corners('7px 7px');
		$('#slide-holder').corners('7px 7px');
		/* $('#ekstranet').corners('7px 7px'); */
		
		$('#btns img:nth-child(1)').css('margin-bottom', '10px');
		$('#quicks .qitem:nth-child(1)').css('margin-left', '-10px');
		$('#quicks .qitem:nth-child(3)').css('margin-right', '0px');
		
		if ($.browser.opera)
		{
		$('#header').css('height', '150px');
		$('#featured').css('width', '710px');
		$('#slide-holder').css('height', '204px').css('width', '450px');
		}
		
		if ($.browser.chrome)
		{
		$('#header').css('height', '150px');
		$('#featured').css('width', '710px');
		$('#slide-holder').css('height', '204px').css('width', '450px');
		}
		
		// Controle the display of the upper nav based on language
		if( $('input#lang').val() == 'en')
		{
			$('div.danav').css('display', 'none');
			$('a.opskrifter-da').css('display', 'none');
			$('a.smiley-da').css('display', 'none');
			$('#breadcrumb b.dk').css('display', 'none');
		}
		else
		{
			$('div.ennav').css('display', 'none');
			$('a.opskrifter-en').css('display', 'none');
			$('a.smiley-en').css('display', 'none');
			$('#breadcrumb b.en').css('display', 'none');
		}
		
		/* var sidebar = $('.sidebar').height();
		$('#left').css('min-height', sidebar);
		
		$('#nav ul li:last').css('margin-right', '0px');
		
		$('.two-level ul li:last-child').find('ul').css('border-bottom', 'none');
		$('.two-level ul li:last-child').css('margin-bottom', '0px');
		
		$('#contex div.product-item:nth-child(3n+3)').addClass('nomargin');
		$('#contex div.product-item:nth-child(3n+4)').addClass('break'); */
});
