                        var arrow_rotate = new Array("templates/myApple/images/triangle/sArrow1.png", "templates/myApple/images/triangle/sArrow2.png", "templates/myApple/images/triangle/sArrow3.png"); //array for arrow animation          
                        var n_last_flag = false;

                        var cat_ids = new Array();

                        function close_all_other(but)
                        {
                                but_number = but.substring(1);
                                if (!but_number) return;
                                for (var i=0;i<cat_ids.length;i++)
                                {
                                        //alert (cat_ids[i]+" "+but_number);
                                        if (cat_ids[i]==but_number) continue;
                                        //alert ("here");
                                        img_el_n = document.getElementById("other_info_triangle_c"+cat_ids[i]);
                                        //alert (img_el_n);
                                        img_el_n.src = arrow_rotate[0];
                                        //alert ("wait");

                                        div_el_n = document.getElementById("div_other_info_c"+cat_ids[i]);
                                        //alert (div_el_n);
                                        div_el_n.style.display='none';
                                }
                        }

                        function n_oc_other_info(el)
                        {
                                div_el = document.getElementById("div_other_info_"+el);
                                img_el = document.getElementById("other_info_triangle_"+el);
                                if (div_el.style.display=='none')
                                {
                                        close_all_other(el);
                                        div_el.style.display = 'block';
                                        n_close_triangle(el);
                                }
                                else
                                {
                                        div_el.style.display='none';
                                        n_open_triangle(el);
                                }
                        }

			function n2_oc_other_info(el)
                        {
                                div_el = document.getElementById("div_other_info_"+el);
                                img_el = document.getElementById("other_info_triangle_"+el);
                                if (div_el.style.display=='none')
                                {
                                        div_el.style.display = 'block';
                                        n_close_triangle(el);
                                }
                                else
                                {
                                        div_el.style.display='none';
                                        n_open_triangle(el);
                                }
                        }

			 function n_open_triangle(el)
                        {
                                img_el = document.getElementById("other_info_triangle_"+el);
                                if (n_last_flag)
                                {
                                        img_el.src = arrow_rotate[0];
                                        n_last_flag = false;
                                         return;
                                }
                                img_el.src = arrow_rotate[1];
                                n_last_flag = true;
                                setTimeout('n_open_triangle("'+el+'")', 200);
                        }

                        function n_close_triangle(el)
                        {
                                img_el = document.getElementById("other_info_triangle_"+el);
                                //alert ("close: "+img_el)
                                if (n_last_flag)
                                {
                                        img_el.src = arrow_rotate[2];
                                        n_last_flag = false;
                                        return;
                                }
                                img_el.src = arrow_rotate[1];
                                n_last_flag = true;
                                setTimeout('n_close_triangle("'+el+'")', 200);
                        }


