imgs= new Array() imgs[0]='http://farm5.static.flickr.com/4005/4204497503_a0c43c561d_s.jpg'; imgs[1]='http://farm3.static.flickr.com/2462/3699860526_a25614bb84_s.jpg'; imgs[2]='http://farm4.static.flickr.com/3212/2927472363_325a28dd34_s.jpg'; imgs[3]='http://farm2.static.flickr.com/1331/1168176011_f983bf499a_s.jpg'; imgs[4]='http://farm3.static.flickr.com/2444/3643688303_a4c191160d_s.jpg'; imgs[5]='http://farm4.static.flickr.com/3220/2925465406_433e4378fc_s.jpg'; imgs[6]='http://farm3.static.flickr.com/2167/2401472657_b93d505754_s.jpg'; imgs[7]='http://farm4.static.flickr.com/3428/3736723953_69637b9f41_s.jpg'; imgs[8]='http://farm4.static.flickr.com/3023/3036750338_2bc5cd5c11_s.jpg'; imgs[9]='http://farm4.static.flickr.com/3145/2875112613_59264cab73_s.jpg'; imgs[10]='http://farm4.static.flickr.com/3486/3834533399_2bf60f75a0_s.jpg'; imgs[11]='http://farm4.static.flickr.com/3323/3216011304_467aff2a11_s.jpg'; imgs[12]='http://farm2.static.flickr.com/1072/3169634831_7dc08847f2_s.jpg'; imgs[13]='http://farm4.static.flickr.com/3205/2961856820_6db9f656d6_s.jpg'; imgs[14]='http://farm4.static.flickr.com/3255/2887316754_5b55469d64_s.jpg'; imgs[15]='http://farm4.static.flickr.com/3044/2632848200_f989851b9b_s.jpg'; imgs[16]='http://farm4.static.flickr.com/3225/2609652376_026a1dae7f_s.jpg'; imgs[17]='http://farm4.static.flickr.com/3096/2601525067_82e5a502ba_s.jpg'; function hop(){ var iH=''; var imgsN=Math.floor(screenInfo()[0]/75) a=document.createElement('DIV'); a.setAttribute('id','flHead'); document.body.appendChild(a); document.getElementById('flHead').style.position='absolute' document.getElementById('flHead').style.overflow='hidden' document.getElementById('flHead').style.height='77px' for (x=0;x' } document.getElementById('flHead').innerHTML=iH } onload=hop; function screenInfo(){ var widthUser; var heightUser; if(typeof(window.innerWidth) == 'number'){ widthUser = window.innerWidth; heightUser = window.innerHeight; } else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)){ widthUser = document.documentElement.clientWidth; heightUser = document.documentElement.clientHeight; } else if(document.body && (document.body.clientWidth || document.body.clientHeight)){ widthUser = document.body.clientWidth; heightUser = document.body.clientHeight; } return Array(widthUser,heightUser); }