
function releasenotes(audience){

var xmlDoc=null;


if (window.ActiveXObject)
{// code for IE
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
}
else if (document.implementation.createDocument)
{// code for Mozilla, Firefox, Opera, etc.
xmlDoc=document.implementation.createDocument("","",null);
}
else
{
alert('Your browser cannot handle this script');
}
if (xmlDoc!=null) 
{
xmlDoc.async=false;
xmlDoc.load(audience+'.xml');
var x=xmlDoc.getElementsByTagName("Table");

document.write("<table cellpadding='5' cellspacing='0' width='100%' border='1px' border-color='#F0F0F0' align='left'>");
document.write("<thead>");
document.write("<tr><th>ID#</th><th>Ver. (PAM Enterprise)</th><th>Ver. (PAM Desktop)</th><th>Software Area</th><th>Issue Type</th><th>Release Notes</th></tr>");
document.write("</thead>");

document.write("<tfoot>");
document.write("<tr><th colspan='5'><a href='changes.asp'> For the older issues lists go here </a></tr>");
document.write("</tfoot>");

var EEVer="x";
var DTVer="y";
var sVal="";

for (var i=0;i<x.length;i++)
{ 
document.write("<tr>");

document.write("<td align='left' class='inputcaption'>");
document.write(x[i].getElementsByTagName("ID")[0].childNodes[0].nodeValue);
document.write("</td>");

document.write("<td align='center' class='inputcaption'>");
sVal = x[i].getElementsByTagName("PAM_x0020_EE_x0020_Ver")[0].childNodes[0].nodeValue;
if (EEVer==sVal) 
{
document.write("<br>''");
}
else
{
EEVer=sVal;
document.write(sVal);
}

document.write("</td>");

document.write("<td align='center' class='inputcaption'>");
sVal = x[i].getElementsByTagName("PAM_x0020_Desktop_x0020_Ver")[0].childNodes[0].nodeValue;
if (DTVer==sVal)
{
document.write("<br>''");
}
else
{
DTVer=sVal;
document.write(sVal);
}
document.write("</td>");

document.write("<td align='left' class='inputcaption'>");
document.write(x[i].getElementsByTagName("Area")[0].childNodes[0].nodeValue);
document.write("</td>");

document.write("<td align='left' class='inputcaption'>");
document.write(x[i].getElementsByTagName("Issue_x0020_Type")[0].childNodes[0].nodeValue);
document.write("</td>");

document.write("<td align='left'>");
document.write(x[i].getElementsByTagName("Release_x0020_Notes")[0].childNodes[0].nodeValue);
document.write("</td>");

document.write("</tr>");

}
document.write("</table>");

}
return '';
}


