//document.observe('dom:loaded', InitProductDisplay, false);

function InitProductDisplay() {
		var tables = $$('#content .outerdivni');
		tables.each(function(outerdivni) {
		    var table = outerdivni.firstDescendant();
		    new grower(table, outerdivni);
		    }
		);
		
        $('content').select('span.defined').each(function(element){
            var rel = element.readAttribute('rel');
            if(rel != '' && rel != undefined){
                element.cleanWhitespace();
                new Tip(element, rel, {effect: 'appear', hook:{target: 'topLeft', tip: 'bottomLeft'}});
            }            
            });
}

if (typeof(Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();