
// (c)Copyright 1997  Jon Madison, unless otherwise noted
      // if you use any of these scripts, you must keep this copyright notice
      // intact.
       debug = 0;

      // first test out version:
      agent = navigator.userAgent;
      platform = agent.substring(18,25);
      if(debug) document.writeln("platform: " + platform);
      vernum = agent.substring(8,9);
      //document.write("version num= ", vernum, ".");
      vergood = 0; // assume we're not on ver 3 or higher
      // if we don't see 3 there, it's not version 3.
      if (3 <= vernum) 
        {vergood = 1}
         else {vergood = 0};
      if (platform=="Windows") vergood = 0; // win31 is baaad
      if (vergood==1){
      btjs1 = new Image; btjs1.src="http://greatlocationsrealestate.com/images/oe_row8_left_over.gif";
      btjs1off = new Image; btjs1off.src="http://greatlocationsrealestate.com/images/oe_row8_left.gif";
      btjs2 = new Image; btjs2.src="http://greatlocationsrealestate.com/images/oe_row4_left-rl-on.gif";
      btjs2off = new Image; btjs2off.src="http://greatlocationsrealestate.com/images/oe_row4_left-rl-off.gif";
      btjs3 = new Image; btjs3.src="http://greatlocationsrealestate.com/images/oe_row5_left-oe-on.gif";
      btjs3off = new Image; btjs3off.src="http://greatlocationsrealestate.com/images/oe_row5_left-oe-off.gif";
      btjs4 = new Image; btjs4.src="http://greatlocationsrealestate.com/images/oe_row6_left-mls-on.gif";
      btjs4off = new Image; btjs4off.src="http://greatlocationsrealestate.com/images/oe_row6_left-mls-off.gif";
      btjs5 = new Image; btjs5.src="http://greatlocationsrealestate.com/images/oe_row5_left_over.gif";
      btjs5off = new Image; btjs5off.src="http://greatlocationsrealestate.com/images/oe_row5_left.gif";
      btjs6 = new Image; btjs6.src="http://greatlocationsrealestate.com/images/oe_row6_left_over.gif";
      btjs6off = new Image; btjs6off.src="http://greatlocationsrealestate.com/images/oe_row6_left.gif";
      btjs7 = new Image; btjs7.src="http://greatlocationsrealestate.com/images/oe_row4_left_over.gif";
      btjs7off = new Image; btjs7off.src="http://greatlocationsrealestate.com/images/oe_row4_left.gif";
      btjs8 = new Image; btjs8.src="http://greatlocationsrealestate.com/images/oe_row7_left_over.gif";
      btjs8off = new Image; btjs8off.src="http://greatlocationsrealestate.com/images/oe_row7_left.gif";
      }

      function ColorIt(imgName,imgIn) {
        if (vergood==1){
         document.images[imgName].src = eval(imgIn + ".src")
        }
      }

function newin(theval) {
newindow =
window.open('http://www.oceanedgebrewster.com/ocean_edge_condos/' + theval,'detail',
'height=500,width=450,scrollbars=0,resizable=1,toolbar=0,menubar=0,location=no,status=no');
}		
