		var params = {
			quality: "high",
			scale: "noscale",
			wmode: "transparent",
			allowscriptaccess: "always",
			allowFullScreen: "true",
			bgcolor: "#000000"
		};
		
		var flashvars = {
			language: "ru"
		};
		var attributes = {
			id: "flashcontent",
			name: "flashcontent"
		};
		swfobject.embedSWF("preloader.swf", "sliderImage", "100%", "100%", "9.0.124", "expressInstall.swf", flashvars, params, attributes);
		
		
		$(document).ready(function(){
			size = 'min';
			windowwidth = $('body').width();
			if (windowwidth < 980) {
				windowwidth = 980;
			} else if (windowwidth > 1600) {
				windowwidth = 1600;
			}
			left = -(windowwidth - 980)/2;
			$('#extendflash').click(function(){
				if (size == 'min') {
					$('#forflash').css({
						'position' : 'absolute',
						'top' : 0,
						'left' : left,
						'width' : windowwidth,
						'height' : windowwidth/2.8
					});
					size = 'max';
					$(this).attr("src","assets/images/design/zoomOut.gif");
				} else if (size == 'max') {
					$('#forflash').css({
						'position' : 'absolute',
						'top' : 0,
						'left' : 0,
						'width' : '980px',
						'height' : '350px'
					});
					size = 'min';
					$(this).attr("src","assets/images/design/zoomIn.gif");
				}
			});
		});
		$(window).resize(function(){
			if (size == 'max') {
				windowwidth = $('body').width();
				if (windowwidth < 980) {
					windowwidth = 980;
				} else if (windowwidth > 1600) {
					windowwidth = 1600;
				}
				left = -(windowwidth - 980)/2;
				$('#forflash').css({
					'left' : left,
					'width' : windowwidth,
					'height' : windowwidth/2.8
				});
			}
		});
