﻿// JScript File
/* Screen resolution detection and notification on my website - Rajiv Sharma */

var correctwidth=1024
var correctheight=768
if (screen.width!=correctwidth||screen.height!=correctheight)
document.write("Bested viewed at "+correctwidth+"*"+correctheight+" (Current "+screen.width+"*"+screen.height+")")
else
document.write("Current resolution "+screen.width+"*"+screen.height+")")