function pick(obj) {
obj.filters.alpha.opacity=100;
obj.filters.gray.enabled=false;
}
function unpick(obj) {
obj.filters.alpha.opacity=60;
obj.filters.gray.enabled=true;
}
var file;
function openWin(file) {
var w = 500;
var h = 350;
var x = screen.availWidth;
var y = screen.availHeight;
w = open(file, "find","width="+w+",height="+h+",status=no,toolbar=no,scrollbars=yes,menubar=no,left="+(x-w)/2+",top="+(y-h)/2);
}
var standstill=1
var xdistance=0
var ydistance=20
var timer
var x,y
var standstill=1000*standstill
var opensubmenu
var closesubmenu
var activated=false
function initiate() { 
if (document.all) {
closesubmenu=eval("document.all.submenu1.style")
activated=true
}
if (document.layers) {
closesubmenu=eval("document.submenu1")
activated=true
}}
function show(whatsubmenu) {
if (activated) { 
if (document.all) {
closesubmenu.visibility="hidden"
closesubmenu=eval("document.all."+whatsubmenu+".style")
opensubmenu=eval("document.all."+whatsubmenu+".style")
opensubmenu.posTop=y+ydistance
opensubmenu.posLeft=x+xdistance
opensubmenu.visibility="visible"
timer=setTimeout("hidesubmenu()",standstill)
}
if (document.layers) {
closesubmenu.visibility="hidden"
closesubmenu=eval("document."+whatsubmenu)
opensubmenu=eval("document."+whatsubmenu)
opensubmenu.top=y+ydistance
opensubmenu.left=x+xdistance
opensubmenu.visibility="visible"
timer=setTimeout("hidesubmenu()",standstill)
}}}
function hidesubmenu() {
clearTimeout(timer)
closesubmenu.visibility="hidden"
opensubmenu.visibility="hidden"
}
function handlerMM(e){
x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
}
if (document.layers){
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove=handlerMM;
window.onload=initiate