// ==UserScript==
// @name           flickrnovideos
// @namespace      http://tsuyuguchi.com/
// @include        http://www.flickr.com/*
// @include        http://flickr.com/*
// ==/UserScript==

/* Change Logs 
version 0.0.3 2008/04/21
	- change logic to make play button disappear
version 0.0.2 2008/04/11
	- changed xpath
version 0.0.1 2008/04/10
	- initial version
*/

(function(){

var path = location.pathname;

GM_addStyle(["img.trans_png{ display:none!important; }",
             "img.nextprev_stew_indicator{ display:none!important; }"
            ].join('') );

if( path.match( new RegExp("/photos/[^/]+/(\\d+)/") ) ){
	var id = RegExp.$1;
	var swf = document.getElementById("stewart_swf"+id);
	if( !swf )
		return;
	swf.style.display = 'none';
	document.getElementById("stewart_swf"+id+"_img").style.display = 'block';
	document.getElementById("stewart_swf"+id+"_loading_el").style.display = 'none';

	return;
}


})();