function email(){$('stext').onfocus=function(){this.style.background='#fff09e'}; $('stext').onblur=function(){this.style.background=''}; var a,b;a='<a hr';b='rfq';a+='ef="mai';b+='@';a+='lto:';b+='tokenonline.net';return a+b+'">'+b+'</a>';}
window.addEvent('domready', function(){
var ulst=$$('ul.tn');
var alist=$$('a.aa');
var threelist=$$('ul.dv');
var r_default=$('cMain').innerHTML;
function c_all(){
alist.each(function(e){e.style.cssText='background-position:left center;color:#33f'});
}
function m_review(){
c_all();
$('cMain').innerHTML=r_default;
$('divgd').style.background='#fff';
}
function mm_uu(_uid){
threelist.each(function(m,t){m.style.display='none';$('ulayer'+t).className='uu';});
$('ulayer'+_uid).className='uc';
threelist[_uid].style.display='block';
}
threelist.each(function(mt,i){
var n_ul = new Element('ul');
n_ul.id='ulayer'+i;
n_ul.className='uu';
n_ul.addEvent('mouseover', function(){m_review()});
var n_li = new Element('li');
var n_a = new Element('a');
n_a.className='u'+i;n_a.href='#';n_a.innerHTML='&nbsp;';
n_a.style.cssText='display:block;padding:7px 16px 8px 15px;_padding:7px 10px 6px 15px;border-bottom:1px solid #fff;border-top:1px solid #fff;background-repeat:no-repeat;background-color:#fff;font-weight:bold;letter-spacing:3px;_width:100%';
n_a.addEvent('mouseover', function(){this.style.backgroundColor='';});
n_a.addEvent('mouseout', function(){this.style.backgroundColor='#fff';});
n_a.addEvent('focus', function(){this.blur();});
n_a.onclick=function(){mm_uu(i);return false;};
n_li.appendChild(n_a);
n_ul.appendChild(n_li);
if(mt.parentNode) mt.parentNode.insertBefore(n_ul,mt);
});

$('tabody').addEvent('mouseleave', function(){m_review()});

$$('li.ml').each(function(et,z){
et.addEvent('mouseenter', function(){
c_all();
$('divgd').style.background = 'url(../image/bgmail.gif) repeat-x #eaeff5';
$('cMain').innerHTML = '<div class="sid">' + alist[z].innerHTML + '</div> <ul>' + ulst[z].innerHTML + '</ul>';
alist[z].style.cssText='background-position:-220px center;color:#000';
});
});

mm_uu(0);
$('mu').style.cssText='_padding-bottom:60px';

});
