/* low res CSS in 1024 and under*/

/*if ( screen.availWidth < 1040 && screen.availWidth > 1025){
	document.write( '<link rel="stylesheet" type="text/css" href="/css/global_1280.css" />' );
}*/
if(screen.availWidth <= 1025){
	document.write( '<link rel="stylesheet" type="text/css" href="/css/global_890.css" />' );
}


function atload(){
if ( screen.availWidth < 1025 ){	
	var el = document.getElementById("logo_req");
	if(el!=null){
		var el_alink_ar = el.getElementsByTagName("a");
		var el_alink_2 = el_alink_ar[1]; //2nd link that holds the image
		var el_img_ar = el_alink_2.getElementsByTagName("img");
		var button_image = el_img_ar[0];//should be the only one. This is the element we need;
		//button_image.width = 220; //button_image.height = 118;
		//button_image.src = "/images/request-btn-sm.jpg";
		button_image.src = "/images/890-request-btn.jpg";
		
		
	}
}
	
}

window.onload=atload;
