function superSizeMe()
{
	if(!(sizeMe = document.getElementById("banner")))
	{
		return false;
	}
	if(!(sizeMeToo = document.getElementById("bannerflash")))
	{
		return false;	
	}
	sizeMe.style.height = "18.75em";
	sizeMeToo.style.height = "18.75em";
	return true;
}
function miniMizeMe()
{
	if(!(sizeMe = document.getElementById("banner")))
	{
		return false;	
	}
	if(!(sizeMeToo = document.getElementById("bannerflash")))
	{
		return false;	
	}
	if(typeof origsizeMeOffsetHeight != "undefined"
		&&typeof origsizeMeOffsetWidth != "undefined"
		&&typeof origsizeMeTooOffsetHeight != "undefined"
		&&typeof origsizeMeTooOffsetWidth != "undefined")
	{
		sizeMe.style.height = String(origsizeMeOffsetHeight) + 'px';
		sizeMe.style.width = String(origsizeMeOffsetWidth) + 'px';
		sizeMeToo.style.height = String(origsizeMeTooOffsetHeight) + 'px';
		sizeMeToo.style.width = String(origsizeMeTooOffsetWidth) + 'px';
	}
	else
	{
		sizeMe.style.height = "6.5em";
		sizeMeToo.style.height = "6.5em";
		sizeMe.style.width = "49.625em";
		sizeMeToo.style.width = "49.625em";
	}
	return true;
}

// Object erstellen
function createFlashControl(DivID, ObjectID, ObjectURL)
{
	// Check ob objekt existiert
	if(!(oTargetDiv = document.getElementById(DivID)))
	{
		return;	
	}
	
	oFlashObject = document.createElement('object');
	oTargetDiv.appendChild(oFlashObject);
	
	//params
	oParam = document.createElement('param');
	oParam.setAttribute("name","movie");
	oParam.setAttribute("value",ObjectURL);
	oFlashObject.appendChild(oParam);
	
	oParam = document.createElement('param');
	oParam.setAttribute("name","quality");
	oParam.setAttribute("value","best");
	oFlashObject.appendChild(oParam);
	
	oParam = document.createElement('param');
	oParam.setAttribute("name","play");
	oParam.setAttribute("value","true");
	oFlashObject.appendChild(oParam);
	
	oParam = document.createElement('param');
	oParam.setAttribute("name","bgcolor");
	oParam.setAttribute("value","#ffffff");
	oFlashObject.appendChild(oParam);
	
	oParam = document.createElement('param');
	oParam.setAttribute("name","wmode");
	oParam.setAttribute("value","transparent");
	oFlashObject.appendChild(oParam);
	
	oParam = document.createElement('param');
	oParam.setAttribute("name","scale");
	oParam.setAttribute("value","noborder");
	oFlashObject.appendChild(oParam);
	
	oParam = document.createElement('param');
	oParam.setAttribute("name","salign");
	oParam.setAttribute("value","t");
	oFlashObject.appendChild(oParam);
	
	//object
	oFlashObject.setAttribute("id",ObjectID);
	oFlashObject.setAttribute("type","application/x-shockwave-flash");
	oFlashObject.setAttribute("data",ObjectURL);
	
}