// Permalinks option
function flashPutHref(href) { location.href = href; }

// swffit sizing
var swf_pad = 20;
function initSwffit(w,h) {
	// If you change name of the DIV the SWF is written at,
	// change 'flashcontent' to the name of your DIV.
	swffit('flashcontent',w+swf_pad,h+swf_pad);
}


// SWFObject embed
var flashvars = {
	paramXMLPath: "/galleries/winter/param.xml",
	initialURL: escape(document.location)
}
var params = { 
	base: ".",
	quality: "best",
	bgcolor: "#f8f8f5",
	allowfullscreen: "true"
}                
var attributes = {}
swfobject.embedSWF("/galleries/winter/slideshowpro.swf", "wintergallery", "542", "441", "9.0.0", "/galleries/winter/expressInstall.swf", flashvars, params, attributes);
// 	Set this to the width/height assigned to sspWidth / sspHeight in param.xml, plus padding if you'd like (20px padding added by default)
// swffit("flashcontent",562,461);