// 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: "/bead/events/beaded-books/entries/param.xml",
	initialURL: escape(document.location)
}
var params = { 
	base: ".",
	quality: "best",
	bgcolor: "#ffffff",
	allowfullscreen: "true"
}                
var attributes = {}
swfobject.embedSWF("/bead/events/beaded-books/entries/slideshowpro.swf", "beadedbookgallery", "660", "500", "9.0.0", "/bead/events/beaded-books/entries/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);