/*
 * 
 * Part of article How to detect screen size and apply a CSS style
 * http://www.ilovecolors.com.ar/detect-screen-size-css-style/
 *
 */

<!-- Begin
if (screen.width == 352 && screen.height == 240) {
document.write('<body background="images/bg_352x240.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 704 && screen.height == 480) {
document.write('<body background="images/bg_704x480.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 720 && screen.height == 350) {
document.write('<body background="images/bg_720x350.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 640 && screen.height == 200) {
document.write('<body background="images/bg_640x200.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 720 && screen.height == 348) {
document.write('<body background="images/bg_720x348.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 640 && screen.height == 350) {
document.write('<body background="images/bg_640x350.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 640 && screen.height == 480) {
document.write('<body background="images/bg_640x480.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 640 && screen.height == 960) {
document.write('<body background="images/bg_640x960.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 320 && screen.height == 240) {
document.write('<body background="images/bg_320x240.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 320 && screen.height == 480) {
document.write('<body background="images/bg_320x480.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 480 && screen.height == 272) {
document.write('<body background="images/bg_480x272.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 240 && screen.height == 160) {
document.write('<body background="images/bg_240x160.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 160 && screen.height == 120) {
document.write('<body background="images/bg_160x120.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 160 && screen.height == 128) {
document.write('<body background="images/bg_160x128.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 1366 && screen.height == 768) {
document.write('<body background="images/bg_1600x900.jpg" no-repeat;>');
}
else {
if (screen.width == 1280 && screen.height == 720) {
document.write('<body background="images/bg_1280x720.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 1280 && screen.height == 800) {
document.write('<body background="images/bg_1280x800.jpg" no-repeat fixed;>');
}

else {
if (screen.width == 1600 && screen.height == 900) {
document.write('<body background="images/bg_160x900.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 1440 && screen.height == 900) {
document.write('<body background="images/bg_1440x900.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 1680 && screen.height == 1050) {
document.write('<body background="images/bg_1680x1050.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 1920 && screen.height == 1080) {
document.write('<body background="images/bg_1920x1080.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 1920 && screen.height == 1200) {
document.write('<body background="images/bg_1920x1200.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 2048 && screen.height == 1080) {
document.write('<body background="images/bg_2048x1080.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 2048 && screen.height == 1536) {
document.write('<body background="images/bg_2048x1536.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 2560 && screen.height == 1440) {
document.write('<body background="images/bg_2560x1440.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 2560 && screen.height == 1600) {
document.write('<body background="images/bg_2560x1600.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 2560 && screen.height == 2048) {
document.write('<body background="images/bg_2560x2048.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 3200 && screen.height == 2048) {
document.write('<body background="images/bg_3200x2048.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 3200 && screen.height == 2400) {
document.write('<body background="images/bg_3200x2400.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 4096 && screen.height == 1716) {
document.write('<body background="images/bg_4096x1716.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 4096 && screen.height == 3072) {
document.write('<body background="images/bg_4096x3072.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 5120 && screen.height == 3200) {
document.write('<body background="images/bg_5120x3200.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 5120 && screen.height == 4096) {
document.write('<body background="images/bg_5120x4096.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 800 && screen.height == 600) {
document.write('<body background="images/bg_800x600.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 1024 && screen.height == 768) {
document.write('<body background="images/bg_1024x768.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 1152 && screen.height == 768) {
document.write('<body background="images/bg_1152x768.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 1152 && screen.height == 864) {
document.write('<body background="images/bg_1152x864.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 1280 && screen.height == 1024) {
document.write('<body background="images/bg_1280x1024.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 1400 && screen.height == 1050) {
document.write('<body background="images/bg_1400x1050.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 1600 && screen.height == 1200) {
document.write('<body background="images/bg_1600x1200.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 2048 && screen.height == 1536) {
document.write('<body background="images/bg_2048x1536.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 2560 && screen.height == 1600) {
document.write('<body background="images/bg_2560x1600.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 2560 && screen.height == 1440) {
document.write('<body background="images/bg_2560x1600.jpg" no-repeat fixed;>');
}
else {
if (screen.width == 3840 && screen.height == 2400) {
document.write('<body background="images/bg_3840x2400.jpg" no-repeat fixed;>');
}
else {
document.write('<body background="images/bg_3840x2400.jpg" no-repeat fixed;>');
   }
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
//  End -->


