function PrintContent()
    {
        var DocumentContainer = document.getElementById(arguments[0]);
        var WindowObject = window.open('', "TrackHistoryData", 
                              "width=664,height=500,top=200,left=250,toolbars=no,scrollbars=yes,status=no,resizable=no");
		WindowObject.document.writeln("<link href=\"../style.css\" rel=\"stylesheet\" type=\"text/css\" />");
        
		var str=DocumentContainer.innerHTML;
		
		while (str.indexOf("</A>|<A", 0) >= 0)
{
    str=str.replace("</A>|<A", "</A><A");
}

while (str.indexOf("Print This Panel", 0) >= 0)
{
    str=str.replace("Print This Panel", "");
}

while (str.indexOf("Close All Panels", 0) >= 0)
{
    str=str.replace("Close All Panels", "");
}

while (str.indexOf("Close Panel", 0) >= 0)
{
    str=str.replace("Close Panel", "");
}

while (str.indexOf("back to top", 0) >= 0)
{
    str=str.replace("back to top", "");
}
		WindowObject.document.writeln(str);
        WindowObject.document.close();
        WindowObject.focus();
        WindowObject.print();
        WindowObject.close();
    }