var shootArray = new Array();

function Shoot(name, physicalDir, description, isSecure)
{
    this.name = name;
    this.physicalDir = physicalDir;
    this.description = description;
    this.isSecure = isSecure;
}

function getPointerString()
{
    if (!document.all)
    {
        return "pointer";
    }
    return "hand";
}

function showShoot()
{
    //var secureString = "SECURE!!!&nbsp;&nbsp;";
    var secureString = "<img src='./images/lock.gif' border='0'/>&nbsp;&nbsp;";
    
    document.write("<table>");
    for(var i = 0; i < shootArray.length; i++)
    {
        document.write("<tr>");
        document.write("<td onClick=\"window.open('./" + shootArray[i].physicalDir + "/index.html', 'new', 'width=800,height=600,status=yes,scrollbars=yes,resizable=yes');\" onMouseOver='this.style.cursor=getPointerString()'>");
        if (shootArray[i].isSecure == 'true')
        {
            document.write(secureString);
        }
        document.write(shootArray[i].name);
        document.write(":&nbsp;&nbsp;<span style='font-weight:normal;'>");
        document.write(shootArray[i].description);
        document.write("</span>");
        document.write("<br>");
        document.write("<br>");
        document.write("</td>");
        document.write("</tr>");
    }

    document.write("</table>");
}
