// JavaScript Document
function ChangeBck()
{ 
 if((screen.width>=800) &&(screen.width<1024))
  {
  
      KeywordArray = new Array(4);  
    KeywordArray[0] = "img1_1024.jpg";  
    KeywordArray[1] = "img2_1024.jpg";  
    KeywordArray[2] = "img3_1024.jpg";  
	KeywordArray[3] = "img4_1024.jpg";  
    randno = Math.floor ( Math.random() * KeywordArray.length ); 
        document.body.style.backgroundImage="url(http://letourister.com/wp-content/themes/Eline/images/"+KeywordArray[randno]+")";
        
  }
  else if((screen.width>=1024) &&(screen.width<1128))
  {
          KeywordArray0 = new Array(4);  
    KeywordArray0[0] = "img1_1128.jpg";  
    KeywordArray0[1] = "img2_1128.jpg";  
    KeywordArray0[2] = "img3_1128.jpg";  
	KeywordArray0[3] = "img4_1128.jpg";  
    randno = Math.floor ( Math.random() * KeywordArray0.length ); 
        document.body.style.backgroundImage="url(http://letourister.com/wp-content/themes/Eline/images/"+KeywordArray0[randno]+")";
        
    
  }
 
 else if((screen.width>=1128) &&(screen.width<1366))
      {
         KeywordArray1 = new Array(4);  
    KeywordArray1[0] = "img1_1366.jpg";  
    KeywordArray1[1] = "img2_1366.jpg";  
    KeywordArray1[2] = "img3_1366.jpg";  
	KeywordArray1[3] = "img4_1366.jpg"; 
    randno = Math.floor ( Math.random() * KeywordArray1.length ); 
        document.body.style.backgroundImage="url(http://letourister.com/wp-content/themes/Eline/images/"+KeywordArray1[randno]+")";
        
       
  }
   else if((screen.width>=1366))
  {
          KeywordArray2 = new Array(4);  
    KeywordArray2[0] = "img1_1920.jpg";  
    KeywordArray2[1] = "img2_1920.jpg";  
    KeywordArray2[2] = "img3_1920.jpg";  
	KeywordArray2[3] = "img4_1920.jpg";
    randno = Math.floor ( Math.random() * KeywordArray2.length ); 
        document.body.style.backgroundImage="url(http://letourister.com/wp-content/themes/Eline/images/"+KeywordArray2[randno]+")";
        
  }
else
  {
   //document.getElementsByTagName('body')[0].className="Small";
       KeywordArray2 = new Array(4);  
    KeywordArray2[0] = "img1_1920.jpg";  
    KeywordArray2[1] = "img2_1920.jpg";  
    KeywordArray2[2] = "img3_1920.jpg";  
	KeywordArray2[3] = "img4_1920.jpg";
    randno = Math.floor ( Math.random() * KeywordArray2.length ); 
        document.body.style.backgroundImage="url(http://letourister.com/wp-content/themes/Eline/images/"+KeywordArray2[randno]+")";
        
  }


}

