//initialisation function if(typeof Array.prototype.push!='function'){Array.prototype.push=function(v){var i=this.length>>>0,j=0;while(jlogin'); $j('.tools .reveal a').bind("click", function() { if(!($j(this).hasClass('close'))) { var h= $j('.tools-panel .padding').height(); $j('.tools-panel .padding:first').animate({ height: h+20 }, function() { $j('.login-overlay').css('display','block'); }); $j('.tools .reveal a img').attr({ src: '/images/registration/icon-close.gif', width: '13', height: '14', alt: 'Close' }); $j('.tools .reveal a').addClass('close'); return false; } else { $j('.login-overlay').css('display','none'); var h= $j('.tools-panel .padding').height(); $j('.tools-panel .padding').animate({height: h-20}); $j('.tools .close').removeClass('close'); $j('.tools .reveal img').attr({ src: '/images/registration/icon-login.gif', width: '13', height: '14', alt: 'Login' }); return false; } }); } } $j(document).ready(function() { if ($j('.tools .login-overlay').length) { FC.revealLogin(); } // LTA $j('#subnav .tf-vertical-nav ul li').hover(function() { $j(this).addClass('hovering'); $j('a', this).css('textDecoration', 'underline'); }, function() { $j(this).removeClass('hovering'); $j('a', this).css('textDecoration', 'none'); }); $j('.reveal a').css({ float: 'right', padding: '7px', fontWeight: 'bold', display: 'block', color: '#fff', textDecoration: 'none' }); var $jlogout = $j('.reveal').html(); if ($j('.reveal a').text() == 'Log out') { $j('.reveal').remove(); $j($jlogout).insertBefore('ul.tf-nav-tabs'); } });