help converting javascript to block

Permalink
I am trying to convert the following code into the block format? I have read all the forum posts that I could find already. If someone could just get me going in the right direction I could probably figure it out.

Here is how I load the script on a non-C5 site:
<script type="text/javascript" src="scripts/pwa.js"></script>
<script type="text/javascript">username='Photos2006@simleyfootball.com'; photosize='800'; columns='3'; galleryname='2006 Photos'; gallery_URL='111067781819917136445';</script>


Thanks,
Jeremy

 
JohntheFish replied on at Permalink Reply
JohntheFish
As a starting point, simply put that in an html block.

The main hazard is that problems could arise when you are next in edit mode if the external script interferes with editing that page.

The way to revert would then be to go to the sitemap in the dashboard and go back to an old version of the page from there.