<!DOCTYPE html>
<html lang="en-US">
<body>
<script>
var i, j, k;
for(i=65; i<=69; i++)
{
for(j=69; j>=65; j--)
{
if(i == j)
document.write(String.fromCharCode(j));
else
document.write(" ");
}
for(k=66; k<=69; k++)
{
if(i == k)
document.write(String.fromCharCode(k));
else
document.write(" ");
}
document.write("<br>");
}
</script>
</body>
</html>