﻿var overTitle = new Class({
    Binds: ["_returnType"],
    initialize: function() {
        var aArr = $("content").getElements("div.thumb a.overTitle, div.big a.overTitle");
        if (aArr.length > 0) {
            
            aArr.each(function(aElt) {
                new Tips(aElt, { "title": this._returnType, "text" : "", "class" : "tip"});
            }, this);
        }
    },
    _returnType: function(aElt) {
        return aElt.get("rel");
    }
});
