<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$('font>table').addClass('xdebug-error');
		$('font>table *').removeAttr('style').removeAttr('bgcolor');
		$('font>table tr:first-child').addClass('xdebug-error_description');
		$('font>table tr:nth-child(2)').addClass('xdebug-error_callStack');
	});
</script>

<style type="text/css">
	.xdebug-error {
		background-color: #ddd;
		border-color: #999;
		border-radius: 3px;
		font-family: sans-serif;
		font-size: 12px;
		margin: 15px auto;
		width: 95%;
	}
	.xdebug-error th,
	.xdebug-error td {
		border: none;
		padding: 2px;
		text-align: left;
	}
	.xdebug-error th {
		background: #ccc;
	}
	.xdebug-error td {
		background: #eee;
	}
	.xdebug-error span {
		display: none;
	}
	.xdebug-error_description th {
		background: url(data:image/png;base64,[encoded data, 30736 characters]) #ccc no-repeat left top;
		background-position: 10px center;
		background-size: 70px;
		font-size: 1.2em;
		padding: 20px 4px 20px 100px;
	}
	.xdebug-error_callStack th {
		background: #666;
		color: #ddd;
	}
</style>