function embedSWF(swfInfo,heightPos){
		//embed a SWF using swfObject.js
		//find which div to replace with the SWF:
		var currDiv = document.getElementById(swfInfo.divName)
		//add session variables to the swf's vars:
		var swfVars = sessionVars;
		for (i in swfInfo.extraVars){
			swfVars[i] = swfInfo.extraVars[i];
		}
		swfVars["containingDiv"] = swfInfo.divName;
		//embed the SWF:
		swfobject.embedSWF(swfInfo.filePath, swfInfo.divName, swfInfo.width, swfInfo.height, "9.0.0", "expressInstall.swf", swfVars, swfInfo.params , {})
		document.getElementById(swfInfo.divName).className=swfInfo.className;
		/*document.getElementById(swfInfo.divName).style.top = heightPos;
		document.getElementById(swfInfo.divName).style.height = swfInfo.height;*/
		swfobject.createCSS("#"+swfInfo.divName,"outline:none");
		return (heightPos + swfInfo.height);
}



function yellAtts(obj){
	str = "";
	for (i in obj){
		str+=i+": "+obj[i]+"\n";
		}
	alert (str);
}