﻿var picnum = 1;

function piclink(id, alignment) 
{
    var temp = "<img src=\"/pictures/" + id + "-" + picnum + ".jpg\" border=\"0\" align=\"" + alignment + "\" class=\"padded\">";
    document.writeln(temp);
    picnum = picnum + 1;
}

function djump(menucat, docargs)
{
    parent.menu.location = "menu.php?category=" + menucat;
    parent.docframe.location = "document.php?" + docargs;
    parent.adframe.location = "ad_display.php?category=" + menucat;
}