<packet>
  <proto name="geninfo" pos="0" showname="General information" size="110">
    <field name="num" pos="0" show="13768" showname="Number" value="35c8" size="110"/>
    <field name="len" pos="0" show="110" showname="Packet Length" value="6e" size="110"/>
    <field name="caplen" pos="0" show="110" showname="Captured Length" value="6e" size="110"/>
    <field name="timestamp" pos="0" show="Aug 26, 2011 08:04:58.453291000" showname="Captured Time" value="1314338698.453291000" size="110"/>
  </proto>
<proto name="http" showname="Hypertext Transfer Protocol" size="771" pos="0">
    <field name="" show="POST /phpbb3/posting.php?mode=reply&amp;f=2&amp;sid=e2be3cb7ff2acd894d4e3cd9c5efe34f&amp;t=614 HTTP/1.1\r\n" size="93" pos="0" value="504f5354202f7068706262332f706f7374696e672e7068703f6d6f64653d7265706c7926663d32267369643d653262653363623766663261636438393464346533636439633565666533346626743d36313420485454502f312e310d0a">
      <field name="http.request.method" showname="Request Method: POST" size="4" pos="0" show="POST" value="504f5354"/>
      <field name="http.request.uri" showname="Request URI: /phpbb3/posting.php?mode=reply&amp;f=2&amp;sid=e2be3cb7ff2acd894d4e3cd9c5efe34f&amp;t=614" size="77" pos="5" show="/phpbb3/posting.php?mode=reply&amp;f=2&amp;sid=e2be3cb7ff2acd894d4e3cd9c5efe34f&amp;t=614" value="2f7068706262332f706f7374696e672e7068703f6d6f64653d7265706c7926663d32267369643d653262653363623766663261636438393464346533636439633565666533346626743d363134"/>
      <field name="http.request.version" showname="Request Version: HTTP/1.1" size="8" pos="83" show="HTTP/1.1" value="485454502f312e31"/>
    </field>
    <field name="http.host" showname="Host: 192.168.147.128\r\n" size="23" pos="93" show="192.168.147.128" value="486f73743a203139322e3136382e3134372e3132380d0a"/>
    <field name="http.user_agent" showname="User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3\r\n" size="116" pos="116" show="Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3" value="557365722d4167656e743a204d6f7a696c6c612f352e3020285831313b20553b204c696e757820693638363b20656e2d55533b2072763a312e392e302e3329204765636b6f2f32303038303932353130205562756e74752f382e303420286861726479292046697265666f782f332e302e330d0a"/>
    <field name="http.accept" showname="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n" size="73" pos="232" show="text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" value="4163636570743a20746578742f68746d6c2c6170706c69636174696f6e2f7868746d6c2b786d6c2c6170706c69636174696f6e2f786d6c3b713d302e392c2a2f2a3b713d302e380d0a"/>
    <field name="http.accept_language" showname="Accept-Language: en-us,en;q=0.5\r\n" size="33" pos="305" show="en-us,en;q=0.5" value="4163636570742d4c616e67756167653a20656e2d75732c656e3b713d302e350d0a"/>
    <field name="http.accept_encoding" showname="Accept-Encoding: gzip,deflate\r\n" size="31" pos="338" show="gzip,deflate" value="4163636570742d456e636f64696e673a20677a69702c6465666c6174650d0a"/>
    <field name="" show="Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n" size="48" pos="369" value="4163636570742d436861727365743a2049534f2d383835392d312c7574662d383b713d302e372c2a3b713d302e370d0a"/>
    <field name="" show="Keep-Alive: 300\r\n" size="17" pos="417" value="4b6565702d416c6976653a203330300d0a"/>
    <field name="http.connection" showname="Connection: keep-alive\r\n" size="24" pos="434" show="keep-alive" value="436f6e6e656374696f6e3a206b6565702d616c6976650d0a"/>
    <field name="http.referer" showname="Referer: http://192.168.147.128/phpbb3/posting.php?mode=reply&amp;f=2&amp;t=614\r\n" size="73" pos="458" show="http://192.168.147.128/phpbb3/posting.php?mode=reply&amp;f=2&amp;t=614" value="526566657265723a20687474703a2f2f3139322e3136382e3134372e3132382f7068706262332f706f7374696e672e7068703f6d6f64653d7265706c7926663d3226743d3631340d0a"/>
    <field name="http.cookie" showname="Cookie: phpbb3_ss2cb_u=53; phpbb3_ss2cb_k=; phpbb3_ss2cb_sid=e2be3cb7ff2acd894d4e3cd9c5efe34f; style_cookie=null\r\n" size="114" pos="531" show="phpbb3_ss2cb_u=53; phpbb3_ss2cb_k=; phpbb3_ss2cb_sid=e2be3cb7ff2acd894d4e3cd9c5efe34f; style_cookie=null" value="436f6f6b69653a207068706262335f73733263625f753d35333b207068706262335f73733263625f6b3d3b207068706262335f73733263625f7369643d65326265336362376666326163643839346434653363643963356566653334663b207374796c655f636f6f6b69653d6e756c6c0d0a"/>
    <field name="http.content_type" showname="Content-Type: multipart/form-data; boundary=---------------------------12852288041789376348502278611\r\n" size="102" pos="645" show="multipart/form-data; boundary=---------------------------12852288041789376348502278611" value="436f6e74656e742d547970653a206d756c7469706172742f666f726d2d646174613b20626f756e646172793d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d31323835323238383034313738393337363334383530323237383631310d0a"/>
    <field name="http.content_length" showname="Content-Length: 6263" size="22" pos="747" show="6263" value="436f6e74656e742d4c656e6774683a20363236330d0a"/>
    <field name="" show="\r\n" size="2" pos="769" value="0d0a"/>
    <field name="http.request" showname="Request: True" hide="yes" size="0" pos="0" show="1"/>
  </proto>
<proto name="mime_multipart">
<mimeparthdr value="436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d2269636f6e220d0a0d0a"/>
<mimepartdata value="30"/>
<mimeparthdr value="436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d227375626a656374220d0a0d0a"/>
<mimepartdata value="52653a2054657374546f706963"/>
<mimeparthdr value="436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d226164646262636f64653230220d0a0d0a"/>
<mimepartdata value="313030"/>
<mimeparthdr value="436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d226d657373616765220d0a0d0a"/>
<mimepartdata value="4669727374206c6574206d6520717569636b6c792073617920612073696e63657265207468616e6b73206e6f7420666f72206a75737420746865207265706c6965732062757420666f72207468652077696c6c696e676e65737320746f20756e6465727374616e64207468652070726f626c656d2e0d0a0d0a41706f6c6f6769657320696e20616476616e636520666f722074686520736c6f70707920636f646520666f726d617474696e6720616e6420686172642072657475726e732c206574632e0d0a0d0a4120636f75706c65206f66206b6579206974656d733a0d0a4920286f6276696f75736c792920646964206e6f74207772697465207468697320736372697074206275742074686520706572736f6e2077686f206469642067656e65726f75736c7920696e636c7564656420636f6d6d656e74732077686963682049206c656674206f7574206f66206d7920666972737420706f73742e2e2e736f20736f7272792c20492074686f7567687420616d6f6e67204a53206578706572747320697420776f756c64206265206d6572656c7920726564756e64616e7420616e642068617264657220746f206162736f72622074686520656e74697265207363726970742e2049206e6f7720756e6465727374616e6420686f77206d756368206f6620612062616420696465612074686174207761732e2e2e616c736f206974277320616c7265616479206120776f726b696e672073637269707420746861742c207769746820636f6d6d656e747320696e74616374206d69676874206265206f6620616464276c2075736520746f206120626567696e6e6572206f7220696e7465726d65646961746520636f6465722e2e2e616761696e2c20736f7272792c204e4f542062656e6566696369616c2e2054686579277265206261636b20696e2e0d0a0d0a616c736f20706c65617365206e6f74653a2031292074686973207363726970742068617320696e64656564206265656e2074657374656420746f20776f726b20696e204945202873656520636f6d6d656e74732061646472657373696e672074686174206163636f6d6d6f646174696f6e292c20616e64203229206e6f7465207468652073637269707420616c726561647920616c6c6f777320666f722061206261636b67726f756e6420696d61676520746f20626520696e636c756465642061732074686520636f6c6f7220626568696e64206974206368616e676573202864656d6f206c696e6b2062656c6f7720746f2073656520697420696e20616374696f6e292e204c6173746c792c206173207468652064656d6f2073686f77732c2061206469762063616e20696e697469616c6c792062652061737369676e6564206261636b67726f756e642d636f6c6f723a206e6f6e652e0d0a0d0a5468616e6b20796f752c206c6f76656c792070656f706c652e2052652d706f737420772f636f6d6d656e742069732062656c6f773a0d0a0d0a0d0a0d0a436f64653a0d0a3c68746d6c3e3c686561643e3c7469746c653e3c2f7469746c653e0d0a3c736372697074206c616e67756167653d6a6176617363726970743e0d0a0d0a2f2a204669727374207765207365747570206f757420636f6c6f727320696e20746865206f7264657220746865792077696c6c2062652075736564207573696e6720616e206172726179202a2f0d0a636f6c6f7273203d205b2223636163646361222c202223623262346232222c202223393639383936222c202223376437663764222c202223666666663030225d3b0d0a0d0a2f2a204e657874207765206465636c61726520616e20656d70747920617272617920746861742077652077696c6c2066696c6c20776974682052474220666f726d73206f66206f757220636f6c6f727320666f72204d5349452026204d6f7a696c6c6120636f6d7061746162696c697479202a2f0d0a63524742203d205b5d3b0d0a0d0a2f2a2054686973206973207468652066756e6374696f6e2074686174207472616e73666f726d7320746865206865782076616c75657320696e746f205247422076616c7565732c2069742073706c6974732074686520636f6c6f7220706172616d6174657220696e746f203320737562737472696e67732c20706172736573206120646563696d616c2066726f6d20746865206865782c20262063726561746573206120524742287272722c206767672c20626262290d0a737472696e6720616e642072657475726e732074686520737472696e6720746f2077686174657665722063616c6c6564207468652066756e6374696f6e202a2f0d0a66756e6374696f6e20746f52474228636f6c6f72297b0d0a76617220726762203d20227267622822202b207061727365496e7428636f6c6f722e737562737472696e6728312c33292c20313629202b20222c2022202b207061727365496e7428636f6c6f722e737562737472696e6728332c35292c20313629202b20222c2022202b207061727365496e7428636f6c6f722e737562737472696e6728352c37292c20313629202b202229223b0d0a72657475726e207267623b0d0a7d0d0a0d0a2f2a2054686973206c6f6f7073207468726f756768206f757220636f6c6f727320262066696c6c73206f757220635247422061727261792077697468207468652052474220737472696e672076616c7565732072657475726e65642066726f6d2074686520746f5247422066756e6374696f6e202a2f0d0a666f722876617220693d303b20693c636f6c6f72732e6c656e6774683b20692b2b297b0d0a635247425b695d203d20746f52474228636f6c6f72735b695d293b0d0a7d0d0a0d0a2f2a2074686973206973207468652066756e6374696f6e20746861742074616b65732063617265206f66206772616262696e67207468652063757272656e74206261636b67726f756e6420636f6c6f722026206368616e67696e67206163636f7264696e676c79202873656520696e6e657220636f6d6d656e747329202a2f0d0a2f2a2074617267657420706172616d617465722077696c6c206265207061737365642028746869732e6964292066726f6d20746865207464206f6e636c69636b206576656e7473202a2f0d0a66756e6374696f6e206368616e6765436f6c6f7228746172676574297b0d0a0d0a2f2a205468697320636865636b73206966207468652062726f7773657220697320616e204d5349452062726f777365722c20696620697420697320697420636f6e766572747320746865206865782076616c756520746861742077696c6c2062652072657475726e65642066726f6d20636865636b696e67207468652074617267657473206261636b67726f756e6420696e746f20616e2072676220737472696e672c2069660d0a6e6f74204d5349452069742075736573207468652076616c75652061732069732c2074686520726573756c742066726f6d206569746865722069732061737369676e656420746f20746865206c6f63616c207661726961626c6520227377617070657222202a2f2020200d0a7661722073776170706572203d206e6176696761746f722e61707056657273696f6e2e696e6465784f6628224d5349452229213d2d31203f20746f52474228646f63756d656e742e676574456c656d656e744279496428746172676574292e7374796c652e6261636b67726f756e64436f6c6f7229203a20646f63756d656e742e676574456c656d656e744279496428746172676574292e7374796c652e6261636b67726f756e64436f6c6f723b0d0a20200d0a2f2a206465636c61726520736f6d652068656c706572207661726961626c657320746f206b65657020747261636b206f66207768617420636f6c6f7220697320666f756e64202a2f20200d0a76617220736574203d2066616c73653b2020200d0a7661722078783b0d0a0d0a2f2a204c6f6f70207468726f75676820746865206352474220617272617920636f6d706172696e6720656163682076616c756520616761696e7374207468652076616c7565206f66207468652073776170706572207661726961626c65202a2f20200d0a666f722876617220693d303b20693c635247422e6c656e6774683b20692b2b297b0d0a20202020200d0a2f2a2069662074686579206d61746368202a2f20202020200d0a69662873776170706572203d3d20635247425b695d297b0d0a2020202020202020200d0a2f2a20696620616464696e67203120746f2069206d616b657320697420657175696c20746f20746865206c656e677468206f66207468652063524742206172726179207468656e207765206e65656420746f20757365207a65726f206173207468656e206e65787420696e646578206f662074686520617272617920746f207573652c20656c73652077652063616e2075736520692b31202a2f20202020202020200d0a6966282828692b312929203e3d20635247422e6c656e677468297b2020202020202020202020200d0a7878203d20303b2020202020202020200d0a7d656c73657b2020202020202020202020200d0a7878203d20692b313b2020202020202020200d0a7d0d0a20202020202020200d0a2f2a2073657420746865206261636b67726f756e64202a2f2020202020202020200d0a646f63756d656e742e676574456c656d656e744279496428746172676574292e7374796c652e6261636b67726f756e64436f6c6f72203d20636f6c6f72735b78785d3b0d0a20646f63756d656e742e676574456c656d656e744279496428746172676574292e7374796c652e6261636b67726f756e64496d6167652e73686f773b0d0a2020202020202020200d0a2f2a206b6565702074686520636f6e646974696f6e2061742074686520656e64206f66207468652066756e6374696f6e2066726f6d2061737369676e696e6720612064656661756c742076616c75652c206d616b65206920657175696c20746f20746865206c656e677468206f662074686520617272617920736f20746865206c6f6f702077696c6c2065786974202a2f2020202020202020200d0a736574203d20747275653b2020202020202020200d0a693d635247422e6c656e6774683b2020202020200d0a7d2020200d0a7d0d0a2020200d0a2f2a206966206e6f206d617463682077617320666f756e64207468656e2061737369676e20612064656661756c742076616c7565202a2f2020200d0a736574203f206e756c6c203a20646f63756d656e742e676574456c656d656e744279496428746172676574292e7374796c652e6261636b67726f756e64436f6c6f72203d20636f6c6f72735b315d3b0d0a7d0d0a3c2f5343524950543e0d0a0d0a3c2f686561643e0d0a3c626f6479206267636f6c6f723d2223333333333333223e0d0a3c6469763e0d0a3c6469762069643d22613122206f6e6d6f7573656f7665723d6368616e6765436f6c6f7228746869732e6964293b0d0a7374796c653d226c6566743a2031323070783b206261636b67726f756e642d696d6167653a2075726c286261636b67726f756e64312e706e67293b2077696474683a2031383070783b206261636b67726f756e642d7265706561743a206e6f2d7265706561743b20706f736974696f6e3a2072656c61746976653b206865696768743a20383070783b206261636b67726f756e642d636f6c6f723a206e6f6e65223e3c2f6469763e0d0a3c6469762069643d6132206f6e6d6f7573656f7665723d6368616e6765436f6c6f7228746869732e6964293b0d0a7374796c653d226c6566743a2031323070783b206261636b67726f756e642d696d6167653a2075726c286261636b67726f756e64322e676966293b2077696474683a2031383070783b206261636b67726f756e642d7265706561743a206e6f2d7265706561743b20706f736974696f6e3a2072656c61746976653b206865696768743a20383070783b206261636b67726f756e642d636f6c6f723a2023363636363333223e3c2f6469763e0d0a3c6469762069643d6133206f6e6d6f7573656f7665723d6368616e6765436f6c6f7228746869732e6964293b0d0a7374796c653d226c6566743a2031323070783b206261636b67726f756e642d696d6167653a2075726c286261636b67726f756e64332e706e67293b2077696474683a2031383070783b206261636b67726f756e642d7265706561743a206e6f2d7265706561743b20706f736974696f6e3a2072656c61746976653b206865696768743a20383070783b206261636b67726f756e642d636f6c6f723a2023363636363333223e3c2f6469763e3c2f6469763e0d0a0d0a3c2f626f64793e0d0a3c2f68746d6c3e44656d6f3a0d0a687474703a2f2f746865636c757463682e636f6d2f726f6c6c6f7665725f636f6c6f725f2e2e2e5f62676e64696d6167652e68746d"/>
<mimeparthdr value="436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d22746f7069635f6375725f706f73745f6964220d0a0d0a"/>
<mimepartdata value="34343631"/>
<mimeparthdr value="436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d226c617374636c69636b220d0a0d0a"/>
<mimepartdata value="31333134333338363930"/>
<mimeparthdr value="436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d2270726576696577220d0a0d0a"/>
<mimepartdata value="50726576696577"/>
<mimeparthdr value="436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d226174746163685f736967220d0a0d0a"/>
<mimepartdata value="6f6e"/>
<mimeparthdr value="436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d226372656174696f6e5f74696d65220d0a0d0a"/>
<mimepartdata value="31333134333338363930"/>
<mimeparthdr value="436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d22666f726d5f746f6b656e220d0a0d0a"/>
<mimepartdata value="34636538656634313764383231626164383239333237333438633031396333323032663961646262"/>
<mimeparthdr value="436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d2266696c6575706c6f6164223b2066696c656e616d653d22220d0a436f6e74656e742d547970653a206170706c69636174696f6e2f6f637465742d73747265616d0d0a0d0a"/>
<mimepartdata value=""/>
<mimeparthdr value="436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d2266696c65636f6d6d656e74220d0a0d0a"/>
<mimepartdata value=""/>
</proto>
</packet>

==========================================

First let me quickly say a sincere thanks not for just the replies but for the willingness to understand the problem.

Apologies in advance for the sloppy code formatting and hard returns, etc.

A couple of key items:
I (obviously) did not write this script but the person who did generously included comments which I left out of my first post...so sorry, I thought among JS experts it would be merely redundant and harder to absorb the entire script. I now understand how much of a bad idea that was...also it's already a working script that, with comments intact might be of add'l use to a beginner or intermediate coder...again, sorry, NOT beneficial. They're back in.

also please note: 1) this script has indeed been tested to work in IE (see comments addressing that accommodation), and 2) note the script already allows for a background image to be included as the color behind it changes (demo link below to see it in action). Lastly, as the demo shows, a div can initially be assigned background-color: none.

Thank you, lovely people. Re-post w/comment is below:



Code:
<html><head><title></title>
<script language=javascript>

/* First we setup out colors in the order they will be used using an array */
colors = ["#cacdca", "#b2b4b2", "#969896", "#7d7f7d", "#ffff00"];

/* Next we declare an empty array that we will fill with RGB forms of our colors for MSIE & Mozilla compatability */
cRGB = [];

/* This is the function that transforms the hex values into RGB values, it splits the color paramater into 3 substrings, parses a decimal from the hex, & creates a RGB(rrr, ggg, bbb)
string and returns the string to whatever called the function */
function toRGB(color){
var rgb = "rgb(" + parseInt(color.substring(1,3), 16) + ", " + parseInt(color.substring(3,5), 16) + ", " + parseInt(color.substring(5,7), 16) + ")";
return rgb;
}

/* This loops through our colors & fills our cRGB array with the RGB string values returned from the toRGB function */
for(var i=0; i<colors.length; i++){
cRGB[i] = toRGB(colors[i]);
}

/* this is the function that takes care of grabbing the current background color & changing accordingly (see inner comments) */
/* target paramater will be passed (this.id) from the td onclick events */
function changeColor(target){

/* This checks if the browser is an MSIE browser, if it is it converts the hex value that will be returned from checking the targets background into an rgb string, if
not MSIE it uses the value as is, the result from either is assigned to the local variable "swapper" */   
var swapper = navigator.appVersion.indexOf("MSIE")!=-1 ? toRGB(document.getElementById(target).style.backgroundColor) : document.getElementById(target).style.backgroundColor;
  
/* declare some helper variables to keep track of what color is found */  
var set = false;   
var xx;

/* Loop through the cRGB array comparing each value against the value of the swapper variable */  
for(var i=0; i<cRGB.length; i++){
     
/* if they match */     
if(swapper == cRGB[i]){
         
/* if adding 1 to i makes it equil to the length of the cRGB array then we need to use zero as then next index of the array to use, else we can use i+1 */        
if(((i+1)) >= cRGB.length){            
xx = 0;         
}else{            
xx = i+1;         
}
        
/* set the background */         
document.getElementById(target).style.backgroundColor = colors[xx];
 document.getElementById(target).style.backgroundImage.show;
         
/* keep the condition at the end of the function from assigning a default value, make i equil to the length of the array so the loop will exit */         
set = true;         
i=cRGB.length;      
}   
}
   
/* if no match was found then assign a default value */   
set ? null : document.getElementById(target).style.backgroundColor = colors[1];
}
</SCRIPT>

</head>
<body bgcolor="#333333">
<div>
<div id="a1" onmouseover=changeColor(this.id);
style="left: 120px; background-image: url(background1.png); width: 180px; background-repeat: no-repeat; position: relative; height: 80px; background-color: none"></div>
<div id=a2 onmouseover=changeColor(this.id);
style="left: 120px; background-image: url(background2.gif); width: 180px; background-repeat: no-repeat; position: relative; height: 80px; background-color: #666633"></div>
<div id=a3 onmouseover=changeColor(this.id);
style="left: 120px; background-image: url(background3.png); width: 180px; background-repeat: no-repeat; position: relative; height: 80px; background-color: #666633"></div></div>

</body>
</html>Demo:
http://theclutch.com/rollover_color_..._bgndimage.htm