function renderFlash(page, lang)
{
	var so = new SWFObject("host.swf", "hostFlash", "1000", "600", "9.0.115.0", "#ffffff");
	so.addParam("scale", "noscale");
	so.addParam("allowFullScreen", "true");
	so.addVariable("startWith", page);
	so.addVariable("lang", lang);
	so.write("content");
}

function reSize(flashName, w,h) 
{
   //sets the width and height of the embeded flash
   //this function is called from within flash to resize  
	//document.getElementById(flashName).height=h
	//document.getElementById(flashName).width=w 
}


function doStats(eventName)
{
	var evStr = "flashEvent/" + eventName;
	pageTracker._trackPageview(evStr); //This is a Google Analytics code.
	//window.status = "GA: " + evStr;
}

function share(url, title) {
	var s = SHARETHIS.addEntry({
		url: url,
		title: title
	}, {button:false,popup:true});
	s.popup()
	return false;
}
