I think this is the correct topic,

I've added cometchat to my site but atm ive put it into a script called footer.php and included it at the bottom of the main pages..

How could I include the chat into main.php (my layout) and have it ove lap over frames?

I've given a link to a print screen of my game, the black lines are the current frames just to show you what i mean.

http://oi56.tinypic.com/11ac2nt.jpg

Code:
<frameset rows="110,28,*" framespacing="0" border="0" frameborder="0">
<frame name="topB" scrolling="no" noresize="noresize" target="main" src="banana.php">
<frame name="top" scrolling="no" noresize="noresize" target="main" src="mini.php">

<frameset cols="180px, *, 180px">
<frame name="leftFrame" target="main" src="menu.php">
<frame name="main" src="news.php">
<frame name="rightFrame" target="main" src="chat.php">
        
      </frameset>