;LiPs
; Bookmarklet that opens all linked movies and pictures, 
;  autoplaying movies in their original size, and centering images.
; Use Tab to skip to the next image, and space to go one screen down.
; Reload page to autoplay all movies after they have loaded.
;Skrommel @2006 

javascript:a='';b='';d=document.links;for(t=0;t<d.length;t++){v=0;for(u=t+1;u<d.length;u++){if(d[t].href==d[u].href)v=1;break}if(v==1)continue;if(d[t].href.match(/(avi|wmv|mpg|mpeg|mpe|mp4|divx)$/i)){a+='<embed src="'+d[t]+'">'}else if(d[t].href.match(/(mov|rm|ram|smi)$/i)){a+='<embed src="'+d[t]+'" width=320 height=240>'}else if(d[t].href.match(/(jpg|jpeg|jpe|gif|png|bmp)$/i)){b+='<img src="'+d[t]+'"><br>'}};document.write('<center>1HourSoftware.com<p>'+a+b);void(document.close())