<!--
var olid=0;
var oinm=0;
function oshowfly(count,listingid,imgnum,col,row)
{
 var txt='';
 txt+='<table cellpadding=0 cellspacing=0 style="width: 314px; height: 210px;">';
 txt+='<tr>';
 txt+='<td valign="top" style="background-image: url(\'/images/mouseoverbg.jpg\'); background-repeat: no-repeat;">';
 txt+='<table cellpadding=0 cellspacing=0 style="border: solid 1px black; top:1px; left: 1px; width: 309px; height: 204px;">';
 txt+='<tr>';
 txt+='<td colspan=2 style="border-bottom: solid 1px black; font-family: Arial; font-size: 11px; font-weight: bold; color: black; height: 24px; background-color: lightgreen;">';
 txt+='&nbsp;&nbsp;';
 eval('txt+='+'otitle'+count);
 txt+='</td>';
 txt+='</tr>';
 txt+='<tr>';
 txt+='<td valign="middle" align="center" style="border-bottom: solid 1px black; border-right: solid 1px black; height:104px; width: 104px; background-color: white;">';
 if (imgnum==-1)
 {
  txt+='<img border=0 src="';
  eval('txt+='+'okeywords'+count);
  txt+='">';
 }
 else
 {
  txt+='<img border=0 src="/cgi-bin/showimage.cgi?type=op&cid='+listingid+'&iid='+imgnum+'&in=1">';
 }
 txt+='</td>';
 txt+='<td valign="top" style="border-bottom: solid 1px black; width: 202px; padding: 2; background-color: #eeeeee;">';
 txt+='<SPAN style="font-family: Arial; font-size: 9px; font-weight:bold; color:black;">';
 eval('txt+='+'odesc'+count);
 txt+='</SPAN>';
 txt+='</td>';
 txt+='</tr>';
 txt+='<tr>';
 txt+='<td colspan=2 valign="middle" align="center" width="100%" style="border-bottom: solid 1px black; background-color: white;">';
 txt+='<SPAN style="font-family: Arial; font-size: 13px; font-weight:bold; color:navy;">';
 eval('txt+='+'oauc'+count);
 txt+='<BR>';
 txt+='</SPAN>';
 txt+='<SPAN style="font-family: Arial; font-size: 4px; font-weight:bold; color:black;">';
 txt+='<BR>';
 txt+='</SPAN>';
 txt+='<SPAN style="font-family: Arial; font-size: 11px; font-weight:bold; color:black;">';
 eval('txt+='+'otime'+count);
 txt+=' - ';
 eval('txt+='+'oloc'+count);
 txt+='</SPAN>';
 txt+='</td>';
 txt+='</tr>';
 txt+='<tr>';
// txt+='<td colspan=2 valign="middle" width="100%" style="border-bottom: solid 1px black; height:22px; background-color: #eeeeee;">';
 txt+='<td colspan=2 valign="middle" align="center" width="100%" style="border-bottom: solid 1px black; height:22px; background-color: #eeeeee;">';
// txt+='<table cellpadding=0 cellspacing=0 style="height:22px; width: 309px;">';
 txt+='<table cellpadding=0 cellspacing=0 style="height:22px;">';
 txt+='<tr>';
// txt+='<td valign="middle" style="border-right: solid 1px black; background-color: #eeeeee;">';
// txt+='<SPAN style="font-family: Arial; font-size: 12px; font-weight:bold; color: red;">';
// txt+='&nbsp;&nbsp;';
// eval('txt+='+'bid'+count);
// txt+='</SPAN>';
// txt+='</td>';
// txt+='<td align="right" valign="middle">';
// txt+='<td valign="top" style="width:150px; background-position: 2px 1px; background-image: url(\'/images/';
// txt+='<img border="0" src="/images/';
// eval('txt+='+'logo'+count);
// txt+='">';
// txt+='\'); background-repeat: no-repeat;">';
// txt+='&nbsp;&nbsp;';
 txt+='<td valign="top" style="width:150px; background-position: 2px 1px; background-image: url(\'/images/';
 eval('txt+='+'logo'+count);
 txt+='\'); background-repeat: no-repeat;">';
// txt+='&nbsp;&nbsp;';
 txt+='</td>';
 txt+='</tr>';
 txt+='</table>';
 txt+='</td>';
 txt+='</tr>';
 txt+='</table>';
 txt+='</td>'
 txt+='</tr>';
 txt+='</table>';
 eval('var onum='+'onum'+count);
 var ntxt='';
 var onClick=document.getElementById('olb'+count).getAttributeNode('onclick').value;
 ntxt+='<table cellpadding=0 cellspacing=0 onClick="'+onClick+'" style="width: 30px; height: 20px; border: solid 1px navy; cursor:pointer;cursor:hand;" onmouseover="oshowfly('+count+','+listingid+','+imgnum+','+col+','+row+');" onmouseout="ohidefly('+count+','+listingid+','+imgnum+','+col+','+row+');">';
 ntxt+='<tr>';
 ntxt+='<td valign="middle" align="center" style="color: black; background-color: #FEE525; background-image: url(\'/images/featgbox.gif\'); background-repeat: no-repeat;">';
 ntxt+=onum;
 ntxt+='</td>';
 ntxt+='</tr>';
 ntxt+='</table>';
 if ((listingid!=olid)||(imgnum!=oinm))
 {
  document.getElementById('ofly').innerHTML=txt;
  document.getElementById('onum').innerHTML=ntxt;
  olid=listingid;
  oinm=imgnum;
 }
// if (col>4)
// {
//  document.getElementById('fly').style.left=findPosX(document.getElementById('feat'+(col-3)))+'px';
// }
// else
// {
  document.getElementById('ofly').style.left=ofindPosX(document.getElementById('olb1'))+'px';
// }
 if (row<=2)
 {
  if((document.getElementById('featblock'))&&(document.getElementById('featblock').style.display=='none'))
  {
   document.getElementById('ofly').style.top=(ofindPosY(document.getElementById('olb'+count))+106)+'px';
  }
  else
  {
   if(document.getElementById('featblock'))
    document.getElementById('ofly').style.top=(ofindPosY(document.getElementById('olb'+count))-212)+'px';
   else
    document.getElementById('ofly').style.top=(ofindPosY(document.getElementById('olb'+count))+106)+'px';
  }
 }
 else
 {
  document.getElementById('ofly').style.top=(ofindPosY(document.getElementById('olb'+count))-212)+'px';
 }
 document.getElementById('ofly').style.visibility='visible';
 if (onum.length>0)
 {
  document.getElementById('onum').style.left=(ofindPosX(document.getElementById('olb'+count))+74)+'px';
  document.getElementById('onum').style.top=(ofindPosY(document.getElementById('olb'+count))+0)+'px';
  document.getElementById('onum').style.visibility='visible';
 }
}
function ohidefly(count,listingid,imgnum,col,row)
{
 document.getElementById('ofly').style.visibility='hidden';
 document.getElementById('onum').style.visibility='hidden';
}
function ofindPosX(obj) {
    var curleft = 0;
    if (obj.offsetParent) {
        while (1) {
            curleft+=obj.offsetLeft;
            if (!obj.offsetParent) {
                break;
            }
            obj=obj.offsetParent;
        }
    } else if (obj.x) {
        curleft+=obj.x;
    }
    return curleft;
}
function ofindPosY(obj) {
    var curtop = 0;
    if (obj.offsetParent) {
        while (1) {
            curtop+=obj.offsetTop;
            if (!obj.offsetParent) {
                break;
            }
            obj=obj.offsetParent;
        }
    } else if (obj.y) {
        curtop+=obj.y;
    }
    return curtop;
}
var oatxt='';
oatxt+='<table cellpadding=0 cellspacing=0 style="width: 314px; height: 210px;">';
oatxt+='<tr>';
oatxt+='<td style="background-image: url(\'/images/mouseoverbg.jpg\'); background-repeat: no-repeat;">';
oatxt+='</td>';
oatxt+='</tr>';
oatxt+='</table>';
document.write('<div id="ofly" style="position: absolute; z-index:40; visibility: hidden;">'+oatxt+'</div>');
oatxt='';
oatxt+='<table cellpadding=0 cellspacing=0 style="width: 30px; height: 20px;">';
oatxt+='<tr>';
oatxt+='<td valign="middle" align="center" style="color: black; background-color: #FEE525; background-image: url(\'/images/featgbox.gif\'); background-repeat: no-repeat;">';
oatxt+='</td>';
oatxt+='</tr>';
oatxt+='</table>';
document.write('<div id="onum" style="position: absolute; z-index:41; visibility: hidden;">'+oatxt+'</div>');
//-->

