﻿function renderFlash(page)
{
	var so = new SWFObject("host.swf", "hostFlash", "1000", "1100", "9.0.115.0", "#f5f5f5");
	so.addParam("scale", "noscale");
	so.addParam("allowFullScreen", "true");
	so.addVariable("startWith", page);
	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);
	//window.status = "GA: " + evStr;
}
