function getWidth()
{
	//return the current window location width
	if(typeof(window.innerWidth) == 'number') return window.innerWidth; //Non-IE
	else if(document.documentElement && document.documentElement.clientWidth) return document.documentElement.clientWidth; //IE 6+ in 'standards compliant mode'
	else if(document.body && document.body.clientWidth) return document.body.clientWidth; //IE 4
}

function getHeight()
{

	//return the current window location height
	if(typeof(document.body.outerHeight) == 'number') return document.body.outerHeight; //Non-IE
	else if(document.documentElement && document.documentElement.scrollHeight) return document.documentElement.scrollHeight; //IE 6+ in 'standards compliant mode'
	else if(document.body && document.body.scrollHeight) return document.body.scrollHeight; //IE 4
}

function setupFlash () {

	var tlf=document.getElementById('topleftflash').style;
	var trf=document.getElementById('toprightflash').style;
	var obj1 = document.getElementById('mainouterdiv');
	var obj2 = document.getElementById('mainouterdiv').style;
	var cbWidth = obj1.offsetWidth;//4px less in IE4
	var cbHeight = obj1.offsetHeight;

	//var newheight = getHeight();
	//var newwidth = getWidth();
	var middlewidth = Number(792);
	var bottomheight = Number(30);
		
	var topheight = (cbHeight - bottomheight);
	//alert(newwidth);
	var colwidth = ( (cbWidth - middlewidth) / 2 );
	//alert("left height to bottom bar="+topheight);
	//alert("left width ="+colwidth);
	tlf.width = colwidth+"px";
	//blf.width = newbwidth+"px";
	tlf.height = topheight+"px";
	//blf.height = bottomheight+"px";
	//alert("new colwidth is "+cbWidth);

	
	trf.width = colwidth+"px";
	//brf.width = newbwidth+"px";
	trf.height = topheight+"px";
	//brf.height = bottomheight+"px";
	//bf.left = "0px";
	//bf.top = "0px";
	//alert("here");
	
}