<script type="text/javascript">
document.write("Screen resolution: ")
document.write(screen.width + "*" + screen.height)
document.write("Available view area: ")
document.write(screen.availWidth + "*" + screen.availHeight)
document.write("Color depth: ")
document.write(screen.colorDepth)
document.write("Buffer depth: ")
document.write(screen.bufferDepth)
document.write("DeviceXDPI: ")
document.write(screen.deviceXDPI)
document.write("DeviceYDPI: ")
document.write(screen.deviceYDPI)
document.write("LogicalXDPI: ")
document.write(screen.logicalXDPI)