Questa potrebbe essere un ipotesi
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento senza titolo</title>
<script language="javascript">
function Colore(url){
var Stringa = String(url).charAt(String(url).lastIndexOf("=")+1)
var Color = new Array ()
Color[0] = "red"
Color[1] = "black"
Color[2] = "yellow"
document.getElementsByTagName("body")[0].style.backgroundColor=(Stringa != "")?Color[Stringa]: "#ffffff";
}
</script>
</head>

<body onload="Colore(top.location)">
</body>
</html>
da inserire nella frame "fisso" e richiamato cosi www.tuosito.it/pagina1.asp?colore=1
Lo script testo e funzionante, e solo un esempio porebbero esserci altre strade.