﻿function detectscreen()
{
    var screen_width = screen.width;
    alert(screen_width);
    document.getElementById("scrwidth").value = screen_width;
}