// cache buster
var cacheBuster = "?t=" + Date.parse(new Date());		

// stage dimensions
var stageW = "980";//"100%";
var stageH = "350";//"100%";


// attributes
var attributes = {};
attributes.id = 'slide';
attributes.name = attributes.id;

// params
var params = {};
params.bgcolor = "#F3F2D3";
params.wmode = "transparent";


//flash vars
var flashvars = {};				

/// if commented / delete these lines, the component will take the stage dimensions defined 
/// above in "JAVASCRIPT SECTIONS" section or those defined in the settings xml			
flashvars.componentWidth = stageW;
flashvars.componentHeight = stageH;

/// path to the content folder(where the xml files, images or video are nested)
/// if you want to use absolute paths(like "http://domain.com/images/....") then leave it empty("")

flashvars.pathToFiles = "http://www.freshdeli.eu/slide/";
flashvars.xmlPath = "xml/slide_en.xml";						

/** EMBED THE SWF**/
swfobject.embedSWF("http://www.freshdeli.eu/slide.swf"+cacheBuster, attributes.id, stageW, stageH, "9.0.124", "/out/basic/src/expressInstall.swf", flashvars, params);

$(function(){
	$(".oLayer").colorbox({width:"50%",opacity:0.7,close:closeLang}, function(){
		$("#valContactForm").validate();
	});
	
});

