function OpenViewingTableIcon1(a) 
{
   if(document.getElementById(a).style.visibility == "visible")
   {
    document.getElementById(a).style.visibility = "visible";
   }
   else 
   {
    CloseTables();
    document.getElementById(a).style.visibility = "visible";
   }
}

function CloseViewingTable(b)
{
    document.getElementById(b).style.visibility = "hidden";
}
function CloseTables() 
{
   if(document.getElementById("ShowPhoto").style.visibility == "visible")
   {
    CloseViewingTable("ShowPhoto");
   }
   if (document.getElementById("ShowPhoto1"))   
   {
    CloseViewingTable("ShowPhoto1");
   }
   if (document.getElementById("ShowPhoto2"))   
   {
    CloseViewingTable("ShowPhoto2");
   }
   if (document.getElementById("ShowPhoto3"))   
   {
    CloseViewingTable("ShowPhoto3");
   }
   if (document.getElementById("ShowPhoto4"))   
   {
    CloseViewingTable("ShowPhoto4");
   }
   if (document.getElementById("ShowPhoto5"))   
   {
    CloseViewingTable("ShowPhoto5");
   }
   if (document.getElementById("ShowPhoto6"))   
   {
    CloseViewingTable("ShowPhoto6");
   }
   if (document.getElementById("ShowPhoto7"))   
   {
    CloseViewingTable("ShowPhoto7");
   }
   if (document.getElementById("ShowPhoto8"))   
   {
    CloseViewingTable("ShowPhoto8");
   }
   if (document.getElementById("ShowPhoto9"))   
   {
    CloseViewingTable("ShowPhoto9");
   }
   if (document.getElementById("ShowPhoto10"))   
   {
    CloseViewingTable("ShowPhoto10");
   }
   if (document.getElementById("ShowPhoto11"))   
   {
    CloseViewingTable("ShowPhoto11");
   }
}

function GetStarted(a) 
{
    CloseTables();
	OpenViewingTableIcon1(a);
}


