var loaded = new Array();
function lRo(img,name) {
if (img && img.src &&
(null == img.out || typeof(img.out) == typeof(void(0)))) {
s = img.src;
img.out = new Image();
img.out.src = s;
img.over = new Image();
if (name.lastIndexOf('/') >= 0 || name.lastIndexOf('\\') >= 0) {
s = name;
} else {
i = s.lastIndexOf('/');
if (i<0) i = s.lastIndexOf('\\');
if (i<0) { s = name; }
else { s = s.substring(0,i+1) + name; }
}
img.over.src = s;
loaded[img.name] = img;
}
}
function roll(name,over) {
if (document.images) {
if (over) { imageObject = "over"; }
else { imageObject = "out"; }
image = loaded[name];
if (image) {
ref = eval("image."+imageObject);
if (ref) image.src = eval("image."+imageObject+".src");
}
if (window.event)
window.event.cancelBubble = true;
}
}