imgs= new Array() imgs[0]='http://farm2.static.flickr.com/1298/5188694473_c9670571d7_s.jpg'; imgs[1]='http://farm5.static.flickr.com/4069/4307720943_50da93c068_s.jpg'; imgs[2]='http://farm4.static.flickr.com/3469/3865108573_bace5435f9_s.jpg'; imgs[3]='http://farm4.static.flickr.com/3024/2863165737_abdda0ff53_s.jpg'; imgs[4]='http://farm4.static.flickr.com/3191/2684451364_25b2956680_s.jpg'; imgs[5]='http://farm3.static.flickr.com/2226/2232012326_8f6ce5140d_s.jpg'; imgs[6]='http://farm2.static.flickr.com/1018/5188699799_70de404fbd_s.jpg'; imgs[7]='http://farm5.static.flickr.com/4085/5188049459_a7d34f021d_s.jpg'; imgs[8]='http://farm4.static.flickr.com/3126/3239688138_b8ae2eef1b_s.jpg'; imgs[9]='http://farm2.static.flickr.com/1014/541839566_e6bdee3178_s.jpg'; imgs[10]='http://farm1.static.flickr.com/193/523941848_7b7406b354_s.jpg'; imgs[11]='http://farm3.static.flickr.com/2305/2203158108_0b767b5f4b_s.jpg'; imgs[12]='http://farm6.static.flickr.com/5103/5881290475_103207a164_s.jpg'; imgs[13]='http://farm4.static.flickr.com/3146/5816397839_7204891980_s.jpg'; imgs[14]='http://farm6.static.flickr.com/5047/5310241974_6f463944aa_s.jpg'; imgs[15]='http://farm6.static.flickr.com/5281/5280690941_37673709da_s.jpg'; imgs[16]='http://farm5.static.flickr.com/4132/5187664239_a3ac902455_s.jpg'; imgs[17]='http://farm5.static.flickr.com/4090/4953547397_2a93868e29_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); }