function resize(){
	var w = 0;
	var h = 0;
	
	//IE
	if(BrowserDetect.browser + BrowserDetect.version == "Explorer6"){
		resizeElementWidth(document.getElementById("swf"));
		resizeElementHeight(document.getElementById("swf"));
		
		resizeElementWidth(document.body);
	}	
}

function resizeElementWidth(element) {
 	var width = 0;
  	var body = window.document.body;
 
	width = document.documentElement.clientWidth;
	
	//alert("RESIZING! - WIDTH:" + document.documentElement.clientWidth + element.style.width);

	if (width < 980) {
  		element.style.width = (980) + "px";
  	} else {
  		element.style.width = (width) + "px";
  	}	
}

function resizeElementHeight(element) {
  	var height = 0;
  	var body =  window.document.body;
  	
	height = document.documentElement.clientHeight;
  
  	if (height < 660) {
  		element.style.height = 660 + "px";
  	} else {
  		element.style.height = height + "px";
  	}
}