﻿
    function showSubProduct(id){
        //hide other divs that are inside 
        $$('#text_content div').each(function(el){
            //check if it matches 'prod'
            if(el.id.sub('prod_','') != el.id && el.id != id)
                if ($(el).visible()){
                    new Effect.DropOut(el);
                }
        });
        //show this one
        new Effect.SlideDown(id);
        //$(id).show();
    }
    function showMenu(){
        $('product_sub').show();
    };
