﻿var winW = 0, winH = 0;

winW=1024
winH=768

if (parseInt(navigator.appVersion)>3) 
{
    if (navigator.appName=="Netscape") 
        { 
            winW = window.innerWidth-16;
            winH = window.innerHeight-16;
        }
}

if (navigator.appName.indexOf("Microsoft")!=-1) 
{ 
    winH = window.screen.height;
    winW = window.screen.width;     
}

if (winW <= 1024)  
    document.write('<link rel="stylesheet" type="text/css" href="styles/style1024.css">');

else
    document.write('<link rel="stylesheet" type="text/css" href="styles/style.css">');
