function resize(){
	var w = 0;
	var h = 0;
	
	//IE
	
	if(BrowserDetect.browser + BrowserDetect.version == "Explorer6"){
		resizeElementWidth(document.getElementById("loader"));
		resizeElementHeight(document.getElementById("loader"));
		
		resizeElementWidth(document.body);
	}
	
}

function resizeElementWidth(element) {
 	var width = 0;
  	var body = window.document.body;
 
 	width = document.documentElement.clientWidth;

	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 < 241) {
  		element.style.height = 241 + "px";
  	} else {
  		element.style.height = height + "px";
  	}
}