/*
/		RESIZE
/   author: Martin Nechvatal
/   
/   Function resizes elements in shopping process for lower
/   resolutions than 1280 pixels wide.
*/

function resize() {
	if($(window).width()<=1030)
	{ //setting zoom and scale on order steps
		$("#order_steps").attr("class", "zoomed");
		$("#clanek").attr("class", "");
		
		$("#stredovy").width(700);	
		$(".kosikinfo").width(700);
		$(".lista_nav").width(700);
		
		$(".pl_dor").width(700);			
	}
	else
	{
	 	$("#order_steps").attr("class", "");
		$("#clanek").attr("class", "clanekWide");
		
		$("#stredovy").width(1030);	
		$(".kosikinfo").width(1030);
		$(".lista_nav").width(1030);
		
		$(".pl_dor").width(1030);
	}
}

