// JavaScript Document
// Load CSS based on screen resolution

if (screen.width==1280||screen.height==800)
{document.write("<link rel='stylesheet' href='css/style_1280_800.css' type='text/css' media='screen' charset='utf-8' />");}

else if (screen.width==1440||screen.height==900) 
{document.write("<link rel='stylesheet' href='css/style.css' type='text/css' media='screen' charset='utf-8' />");}

else if (screen.width==1024||screen.height==768) 
{document.write("<link rel='stylesheet' href='css/style_1024_768.css' type='text/css' media='screen' charset='utf-8' />");}

else if (screen.width==1600||screen.height==1050) 
{document.write("<link rel='stylesheet' href='css/style_1600_1050.css' type='text/css' media='screen' charset='utf-8' />");}

else if (screen.width==1600||screen.height==900) 
{document.write("<link rel='stylesheet' href='css/style_1600_900.css' type='text/css' media='screen' charset='utf-8' />");}

else if (screen.width==1280||screen.height==1024) // usa la stessa del 1280x800
{document.write("<link rel='stylesheet' href='css/style_1280_800.css' type='text/css' media='screen' charset='utf-8' />");}

else if (screen.width==1600||screen.height==1024) // usa la stessa del 1600x900
{document.write("<link rel='stylesheet' href='css/style_1600_900.css' type='text/css' media='screen' charset='utf-8' />");}

else if (screen.width==1920||screen.height==1200)
{document.write("<link rel='stylesheet' href='css/style_1920_1200.css' type='text/css' media='screen' charset='utf-8' />");}

else //if different else
{document.write("<link rel='stylesheet' href='css/style.css' type='text/css' media='screen' charset='utf-8' />");}
