<script language="JavaScript1.2">
var correctwidth=800
var correctheight=600
if (screen.width!=correctwidth||screen.height!=correctheight)
 document.write("在此加上你要的分辨率") 
else
 document.write("在此加上你要的另一个分辨率") 
</script>