I have a question that goes back a few posts, again about the centercolumn_footer_defines.php file.

It works 100% when using plain text. You can control how it looks with css. My question is, how can I add something more complicated to centercolumn_footer_defines.php? For example, I would like to call a script that parses rss feeds into my centercolumn footer. The html that calls the script is:

PHP Code:
<!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" lang="en" xml:lang="en">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
style type="text/css">

/*Example CSS for the two demo scrollers*/

#pscroller1{
width650px;
height1.2em;
border1px dashed black;
padding5px;
background-colorlightyellow;
}

#pscroller2{
width650px;
height90px;
border1px solid black;
padding5px;
background-color#F0F0F0;
}

.
rssclass .rsstitle{
font-weightbold;
}

.
rssclass .rssdate{
colorgray;
font-size85%;
}

.
rssclass a{
text-decorationnone;
}

</
style>

<
script type="text/javascript" src="rsspausescroller.js">

</script>

</head>

<body>

<script type="text/javascript">

//new rsspausescroller(RSS_id, divId, divClass, delay, linktarget, optionalswitch)
//1) RSS_id: "Array key of RSS feed in scrollerbridge.php script"
//2) divId: "ID of DIV to display ticker in. DIV is dynamically created"
//3) divClass: "Class name of this ticker, for styling purposes"
//4) delay: delay between message change, in milliseconds
//5) linktarget: Target of links inside RSS feed. Set to "" for current page.
//6) optionalswitch: "optional arbitrary" string to create additional logic for formatrssmessage() to use.
//   By default, optionalswitch supports "date", or "date+description" to also show these parts of a RSS feed.

new rsspausescroller("cnn", "pscroller1", "rssclass", 3000, "_new")

document.write("<br />") //add a divider for demo

new rsspausescroller("dynamicdrive", "pscroller2", "rssclass", 3000, "", "date+description")

</script>
 
</body>

</html> 
But when I add this as is to centercolumns_footer_defines.php, it breaks the cart and everything goes blank.

Any ideas?