function over(a){ a.src='images/semafro_verde.gif'; } function out(a){ a.src='images/semaforo_naranja.gif'; } 'tristras.org', 'Tris-Tras' => 'tris-tras.com', 'Escritos Urbanos' => 'escritosurbanos.net', 'S-11' => 's-11.org' ); var $cuerpo; //operaciones function Setcuerpo ($newbody) { $this->cuerpo = $newbody; } function SetContent ($newcontent) { $this->content = $newcontent; } function SetScrollmsg ($newscrollmsg) { $this->scrollmsg = $newscrollmsg; } function Setkeywords ($newkeywords) { $this->keywords= $newkeywords; } function Setwindowname ($newwindowname) { $this->windowname = $newwindowname; } function Seturlwindowname ($newurlwindowname) { $this->urlwindowname = $newurlwindownane; } function Settitle ($newtitle) { $this->title = $newtitle; } function Setbuttons ($newbuttons) { $this->buttons = $newbuttons; } function SetHeader ($newlogoizq,$newcabecera,$newaltuk,$newaltfr,$newaltit,$newaltal,$newlogoder) { $this->logoizq= $newlogoizq; $this->cabecera= $newcabecera; $this->altuk= $newaltuk; $this->altfr =$newaltfr; $this->altit = $newaltit; $this->altal = $newaltal; $this->logoder = $newlogoder; } function Display() { echo "\n\n"; $this-> DisplayTitle(); $this-> DisplayKeywords(); $this-> DisplayStyles(); echo "\n"; echo $this->cuerpo; $this-> DisplayHead($this->logoiz,$this->cabecera,$this->altuk,$this->altfr,$this->altit,$this->altal,$this->logoder); $this-> DisplayMenu1($this->buttons); $this-> DisplayNewwindow($this->windowname,$this->urlwindowname); echo $this->content; $this-> DisplayFooter($this->scrollmsg); echo "\n\n"; } function DisplayTitle() { echo " $this->title "; } function DisplayKeywords() { echo "keywords\">"; } function DisplayStyles() { ?> logoder"; ?> width ='70' height ='70' align='right' >

cabecera"; ?>


\n"; echo "\n"; $width=25; while (list($name, $url) = each($buttons)) { $this->DisplayButton($width,$name,$url,$active); } echo "\n"; echo "\n"; } function DisplayNewWindow ($newwindowname,$newwindowurl) { ?>
Más información; || windowname,$this->windowurl)"; ?>">Abrir +info: | wwindowurl)"; ?>"> Cerrar info

newWindow = window.open(windowurl,$this->Windowname"; ?>,"width=330,height=250") newWindow.close(windowurl"; ?>) "; echo ""; echo ""; } else { echo " "; } } function DisplayFooter($newscrollmsg) { ?>
scrollmsg"; ?>