var height
var width

width = screen.availWidth
height = screen.availHeight+30;

document.write( width + "x" + height )

if (width < 1024)
{
alert("Your resolution " + "(" + width + "x" + height + ")" + " does not meet the minimal resolution for optimal viewing. This site is designed for 1024x768 and up!")
}
else




