var css_browser_selector=function(){var ua=navigator.userAgent.toLowerCase(),is=function(t){return ua.indexOf(t)!=-1;},h=document.getElementsByTagName('html')[0],b=(!(/opera|webtv/i.test(ua))&&/msie\s(\d)/.test(ua))?('ie ie'+RegExp.$1):is('firefox/2')?'gecko ff2':is('firefox/3')?'gecko ff3':is('gecko/')?'gecko':is('opera/9')?'opera opera9':/opera\s(\d)/.test(ua)?'opera opera'+RegExp.$1:is('konqueror')?'konqueror':is('chrome')?'chrome webkit safari':is('applewebkit/')?'webkit safari':is('mozilla/')?'gecko':'',os=(is('x11')||is('linux'))?' linux':is('mac')?' mac':is('win')?' win':'';var c=b+os+' js';h.className+=h.className?' '+c:c;}();
var $j = jQuery.noConflict();

$j(function() {
	$j('.blank').attr('target', '_blank');
	var isIE_lt_7 = false;
    if($j.browser.msie) isIE_lt_7 = navigator.userAgent.match(/MSIE (\d)/i)[1] < 7;
    if($j.browser.msie && isIE_lt_7) {}

    if((typeof $j.fn.crossAroundCarousel == 'function') && ($j('#carousel').size() > 0)) {
      $j('#carousel').crossAroundCarousel({speed:30});
    }

    $j('#nav li:not(:last-child)').after('<b class="delimiter"></b>');

    $j('#nav li').click(function() {
      window.location = $j(this).find('a').attr('href');
    });
    $j('#nav li').hover(
      function() { $j(this).addClass('hover'); },
      function() { $j(this).removeClass('hover'); }
    );

});
function mycarousel_initCallback(carousel)
{
    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};
