// simply takes link from onclick event and opens in a new window.
function open_win(address) {
    window.open(address)
}
//requires 3 argumnets from link to pupup window.
function popUpWindow(SRC,imgwidth,imgheight) {
html = 'container.html?src='+SRC;
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(html, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+imgwidth+",height="+imgheight+",left = 200,top = 200');");

}

