function superSizeMe()
{
	if(!(sizeMe = document.getElementById("banner")))
	{
		return false;
	}
	if(!(sizeMeToo = document.getElementById("bannerflash")))
	{
		return false;	
	}
	if(!(sizeMeTooToo = document.getElementById("toolsarea")))
	{
		return false;
	}
	sizeMe.style.height = "300px";
	sizeMeToo.style.height = "300px";
	sizeMeTooToo.style.marginTop = "300px";
	return true;
}

function miniMizeMe()
{
	if(!(sizeMe = document.getElementById("banner")))
	{
		return false;	
	}
	if(!(sizeMeToo = document.getElementById("bannerflash")))
	{
		return false;	
	}
	if(!(sizeMeTooToo = document.getElementById("toolsarea")))
	{
		return false;	
	}
	sizeMe.style.height = "130px";
	sizeMeToo.style.height = "130px";
	sizeMeTooToo.style.marginTop = "130px";
	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","noscale");
	oFlashObject.appendChild(oParam);
	
	oParam = document.createElement('param');
	oParam.setAttribute("name","salign");
	oParam.setAttribute("value","lt");
	oFlashObject.appendChild(oParam);
	
	//object
	oFlashObject.setAttribute("id",ObjectID);
	oFlashObject.setAttribute("type","application/x-shockwave-flash");
	oFlashObject.setAttribute("data",ObjectURL);
	
}
