var mtt = 0; var om = -1; var tt1 = 0, tt2 = 0; function m(x,st) { mtt=0;clearTimeout(tt1);tt1=0;clearTimeout(tt2);tt2=0; var d = document.getElementById('m'+x); var dh = document.getElementById('mh'+x); if (st) { d.style.display = 'block';d.style.opacity=1;d.style.filter='alpha(opacity=100)';dh.className='a'; if (om!=x && om>=0) { document.getElementById('m'+om).style.display='none'; document.getElementById('mh'+om).className='' } om = x; }else{ om = -1; d.style.display = 'none'; dh.className = ''; } } function mt(x,st) { if (!tt1&&!mtt) { mtt = 5; tt1 = setTimeout('mo('+x+','+st+')',150); } } function mo(x,st) { clearTimeout(tt1);tt1=0; if (mtt) { if (!--mtt) { m(x,st); }else{ var d = document.getElementById('m'+x); var op = mtt*20+10;d.style.opacity=op/100;d.style.filter='alpha(opacity='+op+')'; tt2 = setTimeout('mo('+x+','+st+')',50); } } } function authf() { var a = document.getElementById('authsm'); a.style.display='block'; ScrollToElement(a); document.getElementById('aemail').focus(); return false; } function authf_cl() { document.getElementById('authsm').style.display='none'; return false; } function ScrollToElement(theElement){ var selectedPosX = 0; var selectedPosY = 0; while(theElement != null){ selectedPosX += theElement.offsetLeft; selectedPosY += theElement.offsetTop; theElement = theElement.offsetParent; } window.scrollTo(selectedPosX,selectedPosY); }function settingHomePage(objSrc) { if (objSrc.style.behavior) objSrc.setHomePage(homepage); else if (netscape && netscape.security && netscape.security.PrivilegeManager && navigator.preference) { netscape.security.PrivilegeManager.enablePrivilege("UniversalPreferencesWrite"); navigator.preference("browser.startup.homepage", homepage); } } var pdrx = 1; function drx(i) { if (i==pdrx) return; var pi = document.getElementById('drxi'+pdrx); var pt = document.getElementById('drxt'+pdrx); pi.style.display='none'; pt.className='n'; var ai = document.getElementById('drxi'+i); var at = document.getElementById('drxt'+i); ai.style.display='block'; at.className='a'; pdrx = i; }function pd(o,s) { o.style.display='none';o.parentNode.childNodes[s].style.display='inline'; var t = o.parentNode.parentNode.childNodes[1].innerHTML; var i = nodeIndex(o.parentNode.parentNode)-1; var ttp; if (i<3) ttp=1; else if (i<6) ttp=2; else ttp=1; var tt = document.getElementById('tt'); if (s) { tt.style.display='block'; tt.style.marginTop=(ttp*76+1)+'px'; tt.innerHTML = t; }else{ tt.style.display='none'; } } function nodeIndex(n) { for (var i = n.parentNode.childNodes.length; i >= 0; i--) { if (n.parentNode.childNodes[i] === n) { return i+1; } } return -1; }var sw = 289; var sh = 227; var bw = 590; var bh = bw*240/320+24; var bt = sh-bh; var bl = sw-bw; function initv() { $f("player", "/flowplayer/flowplayer-3.1.1.swf",{ onBeforeClick: function() { $f().unload(); $(this).find("img").fadeIn(); $(this.getParent()).animate({width:bw, height:bh, top:bt, left:bl}, 100, function() {$f(this).load()}); return false; }, onUnload: function() {$(this.getParent()).animate({width:sw, height:sh, top:0, left:0}, 100);}, onFinish: function() {this.unload();}, clip: { onPause: function() { if (!window.opera) {$(this.getParent()).animate({width:sw, height:sh, top:0, left:0}, 100)} }, onResume: function() { if (!window.opera) {$(this.getParent()).animate({width:bw, height:bh, top:bt, left:bl}, 100)} } } }); } function gors(o) { if (o.selectedIndex>0) document.location.href='mo-'+o.options[o.selectedIndex].value } 
