// LOGGING //
function logci(id, ci, type) 
{
var querystr = "id="+id+"&ci="+ci+"&t="+type+"&p="+encodeURIComponent(window.location);
new Image().src = "http://logger.lworldmedia.com/log.asp?"+querystr;
}

function ilogppc(count, term) 
{
var querystr = "count="+count+"&ci=i&term="+term+"&t=ppc&p="+encodeURIComponent(window.location);
new Image().src = "http://logger.lworldmedia.com/log.asp?"+querystr;
}

function clogppc(pos, term) 
{
var querystr = "pos="+pos+"&ci=c&term="+term+"&t=ppc&p="+encodeURIComponent(window.location);
new Image().src = "http://logger.lworldmedia.com/log.asp?"+querystr;
}

function logpage() 
{
new Image().src = "/common/jslogger.asp";
}

// LISTINGS //
function showextra(id, urlencoded)
{
  document.write("<"+"a href='/common/linkcentral.asp?id="+id+"&url="+urlencoded+"'>");
  document.write("<"+"img src='/common/images/wrev.gif' align='absbottom' border='0' WIDTH='16' HEIGHT='16' hspace='1'>");
  document.write("<"+"/a>");
}

// DROPDOWN AD //
function showhidead(adid, dispval) {
  document.getElementById('adbox'+adid).style.visibility=dispval;
  var adclose = document.getElementById('adclose'+adid);
  if (adclose != null) {adclose.style.visibility=dispval};
}

// MISC //
function maddr(val2, val1, title) {
if (title == '') {
title = val1+"@"+val2;
}
document.write('<'+'a hr'+'ef="ma'+'ilto'+':'+val1+'@'+val2+'">'+title+'</'+'a>');
}
