﻿var div;
var aTag;
var winRef;

function showDescription(id)
{
    div = document.getElementById("description" + id);
    aTag = document.getElementById("showhidelink" + id);
    
    if(winRef != null)
        winRef.close();
    
    
        winRef=window.open("about:blank", "malex", "width=400, height=500, resizable=yes, alwaysRaised=yes, scrollbars=yes")
        
        var text = div.innerHTML;
        text.replace("\n", "<br />")
        winRef.window.document.write(text);
        
    
}
