this
code:
<script language="JavaScript">
if (screen.width) {
if (screen.width==640) {
document.write('Resolution is 640x480.');
} elseif (screen.width==800) {
document.write('Resolution is 800x600.');
} elseif (screen.width==1024) {
document.write('Resolution is 1024x768.');
} else {
document.write('Resolution is greater than 1024x768');
}
} else {
document.write('Not using Internet Explorer; can't detect resolution.');
}
</script>
didnt werk

it sed Expected ;