if (typeof SSB == "undefined") var SSB = new Object();
if (typeof SSB.share == "undefined") SSB.share = new Object();

SSB.setup_6400 = function ()
{
	console.log("SSB.setup_6400()");

	SSB.share.emit_share();
}

SSB.share.emit_share = function ()
{
	console.log("SSB.share.emit_share()");

	// http://code.google.com/p/swfobject/
	// note: swfobject 2.0 _replaces_ the element specified, whereas swfobject 1.5 replaces the _contents_ of the element specified

	if (swfobject.hasFlashPlayerVersion("6.0.65")) {
		var expressInstall = "_swf/expressInstall.swf";
		var flashvars = { mode: "flickr" };
		var params = { menu: "false", scale: "noscale" };
		var attributes =  { };
		swfobject.embedSWF("swf/share/share.swf", "swf", "896", "580", "9", expressInstall, flashvars, params, attributes);
	}
}

