function rowOverEffect(object) {
  if (object.className == 'dataTableRowOn') object.className = 'dataTableRowOver';
}

function rowOutEffect(object) {
  if (object.className == 'dataTableRowOver') object.className = 'dataTableRowOn';
}

function listingOverEffect(object) {
  if (object.className == 'listingTableRowOn') object.className = 'listingTableRowOver';
}

function listingOutEffect(object) {
  if (object.className == 'listingTableRowOver') object.className = 'listingTableRowOn';
}

<!--
//var filename = "/images/<?= $new_img_dir ?>l/J368-0.jpg";
var isIE=document.all;
var isNN=!document.all&&document.getElementById;
var isN4=document.layers;
var isHot=false;

document.onmousedown=ddInit;
document.onmouseup=Function("ddEnabled=false");

function enlargeImage() {

   var filename_new = document.getElementById("main_picture");
//   filename_replace=filename_new.src
	 filename_name = filename_new.name;
     filename_replace="/images/l/"+filename_name;

   if (isIE||isNN) {
       whichDog.style.visibility="visible";
   }
   else if (isN4) {
       document.Enlarge.visibility="show";
   }
   var img = document.getElementById("large_image");
   if (img != null) {
       img.src = filename_replace;
   }
}

function hideImage(){
   if (isIE||isNN) whichDog.style.visibility="hidden";
   else if (isN4) document.Enlarge.visibility="hide";
}
function ddInit(e) {
   topDog=isIE ? "BODY" : "HTML";
   whichDog=isIE ? document.all.Enlarge : document.getElementById("Enlarge");
   hotDog=isIE ? event.srcElement : e.target;
   while (hotDog.id!="Enlarge"&&hotDog.tagName!=topDog) {
       hotDog=isIE ? hotDog.parentElement : hotDog.parentNode;
   }
   if (hotDog.id=="Enlarge") {
       offsetx=isIE ? event.clientX : e.clientX;
       offsety=isIE ? event.clientY : e.clientY;
       nowX=parseInt(whichDog.style.left);
       nowY=parseInt(whichDog.style.top);
       ddEnabled=true;
       document.onmousemove=dd;
   }
}
function dd(e) {
   if (!ddEnabled) return;
   whichDog.style.left=isIE ? nowX+event.clientX-offsetx :
nowX+e.clientX-offsetx;
   whichDog.style.top=isIE ? nowY+event.clientY-offsety :
nowY+e.clientY-offsety;
   return false;
}
function ddN4(whatDog) {
   if (!isN4) return;
   N4=eval(whatDog);
   N4.captureEvents(Event.MOUSEDOWN|Event.MOUSEUP);
   N4.onmousedown=function(e) {
       N4.captureEvents(Event.MOUSEMOVE);
       N4x=e.x;
       N4y=e.y;
   }
   N4.onmousemove=function(e) {
       if (isHot){
           N4.moveBy(e.x-N4x,e.y-N4y);
           return false;
       }
   }
   N4.onmouseup=function() {
       N4.releaseEvents(Event.MOUSEMOVE);
   }
}
//-->

 function moveImage(replace_image) {
				   var img = document.getElementById("main_picture");
				   var full_path = "/images/m/";
					
					full_path =	full_path + replace_image;
				    img.src = full_path;
					img.name = replace_image;


					}

  function body_window(link) { 
										  window.open( link,"newWindow", "resizable=1, status=1, menubar=1, scrollbars=1, toolbar=1, titlebar=1, location=1, width=600, height=300" );
										  }
