set_opacity("previous", can_go_previous() ? 0.7 : 0.1);
set_opacity("next", can_go_next() ? 0.7 : 0.1);
+ set_opacity("close", 0.7);
}
function set_opacity(id, amount)
if (can_go_previous()) {
set_opacity("previous", 0.99);
}
+ } else if (which == 27) { // escape
+ set_opacity("close", 0.99);
}
}
set_opacity("previous", 0.7);
go_previous();
}
+ } else if (which == 27) { // escape
+ set_opacity("close", 0.7);
+ do_close();
}
}
+function do_close()
+{
+ window.location = global_return_url;
+}
+
// enable the horrible horrible IE PNG hack
function ie_png_hack()
{