I dont understand what I am doing wrong, anyone willing to pitch their two cents?
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 //EN" "<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="index1280.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
<!--
function RedirectCSS(){
if ((screen.width == 1024))
link = document.getElementsByTagName( "link" )[ 0 ];
link.href = "index1024.css";
else if ((screen.width == 1152))
link = document.getElementsByTagName( "link" )[ 0 ];
link.href = "index1152.css";
else if ((screen.width == 800))
link = document.getElementsByTagName( "link" )[ 0 ];
link.href = "index800.css";
else
link = document.getElementsByTagName( "link" )[ 0 ];
link.href = "index1280.css";
//-->
</script>
<head>
<title>HubbellLandscapes.com/Home</title>
</head>
<body>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 //EN" "<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="index1280.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
<!--
function RedirectCSS(){
if ((screen.width == 1024))
link = document.getElementsByTagName( "link" )[ 0 ];
link.href = "index1024.css";
else if ((screen.width == 1152))
link = document.getElementsByTagName( "link" )[ 0 ];
link.href = "index1152.css";
else if ((screen.width == 800))
link = document.getElementsByTagName( "link" )[ 0 ];
link.href = "index800.css";
else
link = document.getElementsByTagName( "link" )[ 0 ];
link.href = "index1280.css";
//-->
</script>
<head>
<title>HubbellLandscapes.com/Home</title>
</head>
<body>