
var so = new SWFObject("index.swf", "", "840", "650", "7", "#1B2B33");
so.addVariable("flashVarText", "this is passed in via FlashVars for example only"); 

function loadMyObject () {
	var theobject = document.getElementById("flashcontent");
	var h = screen.height;
	var topPos = (screen.height) ? 600 - (screen.height)/2 : 0;
	if (h > 768) {
		theobject.style.margin = ""+topPos+" 0 0 0";
	} else {
		theobject.style.margin = "0 0 0 0";
	}

}

