var widthsetting = 1024;
var heightsetting = 768;
if (screen.width != widthsetting || screen.height != heightsetting) {
msg = "This site was designed for mozila firefox with a resolution "
+ "set to " + widthsetting + "x" + heightsetting + ", "
+ "but your screen resolution is " + screen.width + "x"
+ screen.height + ".  To best view the site,  "
+ "please change your screen resolution, if possible.  Thanks!";
document.write(alert(msg));
}