   Window.onDomReady(function(){
   var toolTips = new Tips($$('.videothumb'), {
    maxTitleChars: 50, 
    maxOpacity: .8, 
    timeOut: 200, 
    className: 'tip'
    });
   });

Window.onDomReady(function(){
$$('.go-bestof').addEvent('click', function(e) {
        e = new Event(e).stop();
        var url = "videos/bestof.html";
        new Ajax(url, {
                method: 'get',
                update: $('show')
        }).request();
});
});

Window.onDomReady(function(){
$$('.go1').addEvent('click', function(e) {
        e = new Event(e).stop();
        var url = "videos/1.html";
        new Ajax(url, {
                method: 'get',
                update: $('show')
        }).request();
});
});

Window.onDomReady(function(){
$$('.go2').addEvent('click', function(e) {
        e = new Event(e).stop();
        var url = "videos/2.html";
        new Ajax(url, {
                method: 'get',
                update: $('show')
        }).request();
});
});

Window.onDomReady(function(){
$$('.go3').addEvent('click', function(e) {
        e = new Event(e).stop();
        var url = "videos/3.html";
        new Ajax(url, {
                method: 'get',
                update: $('show')
        }).request();
});
});

Window.onDomReady(function(){
$$('.go4').addEvent('click', function(e) {
        e = new Event(e).stop();
        var url = "videos/audio-1.html";
        new Ajax(url, {
                method: 'get',
                update: $('show')
        }).request();
});
});

Window.onDomReady(function(){
$$('.go5').addEvent('click', function(e) {
        e = new Event(e).stop();
        var url = "videos/4.html";
        new Ajax(url, {
                method: 'get',
                update: $('show')
        }).request();
});
});

Window.onDomReady(function(){
$$('.go6').addEvent('click', function(e) {
        e = new Event(e).stop();
        var url = "videos/5.html";
        new Ajax(url, {
                method: 'get',
                update: $('show')
        }).request();
});
});

Window.onDomReady(function(){
$$('.go7').addEvent('click', function(e) {
        e = new Event(e).stop();
        var url = "videos/6.html";
        new Ajax(url, {
                method: 'get',
                update: $('show')
        }).request();
});
});

Window.onDomReady(function(){
$$('.go8').addEvent('click', function(e) {
        e = new Event(e).stop();
        var url = "videos/audio-2.html";
        new Ajax(url, {
                method: 'get',
                update: $('show')
        }).request();
});
});

Window.onDomReady(function(){
$$('.go9').addEvent('click', function(e) {
        e = new Event(e).stop();
        var url = "videos/7.html";
        new Ajax(url, {
                method: 'get',
                update: $('show')
        }).request();
});
});

Window.onDomReady(function(){
$$('.go10').addEvent('click', function(e) {
        e = new Event(e).stop();
        var url = "videos/8.html";
        new Ajax(url, {
                method: 'get',
                update: $('show')
        }).request();
});
});

Window.onDomReady(function(){
$$('.go11').addEvent('click', function(e) {
        e = new Event(e).stop();
        var url = "videos/audio-3.html";
        new Ajax(url, {
                method: 'get',
                update: $('show')
        }).request();
});
});

var pop = null;

function popdown() {
  if (pop && !pop.closed) pop.close();
}

function popup(obj,w,h) {
  var url = (obj.getAttribute) ? obj.getAttribute('href') : obj.href;
  if (!url) return true;
  w = (w) ? w += 20 : 150;
  h = (h) ? h += 25 : 150;
  var args = 'width='+w+',height='+h+', scrollbars=yes';
  popdown();
  pop = window.open(url,'',args);
  return (pop) ? false : true;
}



