function background(){
	/*var h = window.innerHeight;
	var w = window.innerWidth;
	alert("window inner width "+w);
	if(w > 1280){
		var image = "url(backgrounds/lloyds1680p.jpg)";
	} else if (w <= 1280 && w > 1024){
		var image = "url(backgrounds/lloyds1280p.jpg)";
	} else {
		var image = "url(backgrounds/lloyds1024p.jpg)";
	}
	document.body.style.backgroundImage = image;
	window.onresize = background;
	alert("resize "+image);*/
}
function validate(){
	
}

function background() {
  var windowWidth = 0, windowHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    windowWidth = window.innerWidth;
    windowHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    windowWidth = document.documentElement.clientWidth;
    windowHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    windowWidth = document.body.clientWidth;
    windowHeight = document.body.clientHeight;
  }
  if(windowWidth > 1280){
		var image = "url(backgrounds/lloyds1680p.jpg)";
	} else if (windowWidth <= 1280 && windowWidth > 1024){
		var image = "url(backgrounds/lloyds1280p.jpg)";
	} else {
		var image = "url(backgrounds/lloyds1024p.jpg)";
	}
	document.body.style.backgroundImage = image;
	window.onresize = background;
}