
var div_array = new Array("div1", "div2", "div3","div4","div14","div15");
function changeDiv(the_div, the_change)
{

if (document.all&&document.readyState=="complete"){

    if (document.all)
    {
        div_string = "window.document.all." + the_div + ".style";
    } 

if (document.all)
{var theX= window.event.x;var theY= window.event.y;}



    the_div = eval(div_string);
    the_div.visibility = the_change;
    

    if (document.all){
the_div.left=theX+document.body.scrollLeft - 5;
the_div.top=theY+10 + document.body.scrollTop - 5;}
}

if (document.layers) {
        div_string = "window.document." + the_div; the_div = eval(div_string);
    the_div.visibility = the_change;
    } 
  
}




function closeAll()
{
    for (var loop=0; loop < div_array.length; loop++)
    {
       changeDiv(div_array[loop], "hidden");
    }
}







