if (screen.width <= 960) { 
document.write('<link rel="stylesheet" type="text/css" href="mstyle.css" />'); 
} 
if (screen.width > 480) { 
document.write('<link rel="stylesheet" type="text/css" href="style.css" />'); 
} 
