questExist=false;zoomExist=false; _d=document; function actQuest () { if (!questExist) { _d.body.insertAdjacentHTML ('beforeEnd','
'); questExist=true } else quest.style.display=''; qData.location.href='/quest.asp'; quest.style.top=_d.body.scrollTop+(_d.body.clientHeight-quest.clientHeight)/2; quest.style.left=_d.body.scrollLeft+(_d.body.clientWidth-quest.clientWidth)/2; return false; } function iZoom(ni) { /*if (!zoomExist) { _d.body.insertAdjacentHTML ('beforeEnd','
'); zoomExist=true }; zData.location.href='zoom.asp?'+ni;*/ window.open ('zoom.asp?'+ni, 'img', 'fullscreen=yes,status=no,scrollbars=no,resizable=no,titlebar=no,toolbar=no'); return false; } function alignZoom () { with (parent.zoom.style) { display=''; x=event.srcElement.clientWidth; width=(x>900)?900:x; zdiv.style.width=(x>900)?898:x; y=event.srcElement.clientHeight+38; height=(y>500)?500:y; zdiv.style.height=(x>500)?498-38:y; top=parent.document.body.scrollTop+(parent.document.body.clientHeight-parent.zoom.clientHeight)/2; left=parent.document.body.scrollLeft+(parent.document.body.clientWidth-parent.zoom.clientWidth)/2; } return false; } function act(the) { with(the.style) display=(display=='')?'none':''; return false; } function actMenu(the) { if (the.style.display!='') for (i=1;i<6;i++) eval ('menu'+i).style.display='none'; act (the); return false; } function eMail (ema,domain,txt) { ema+='@'+domain; if (txt=='') txt=ema; document.write (''+txt+''); return false; } function url (u,txt) { document.write (''+txt+''); return false; }