From 2389d66da849798f8d4ec5f10e3b07c11da49185 Mon Sep 17 00:00:00 2001 From: Michael Francis Date: Sat, 28 May 2011 13:28:16 -0400 Subject: Initial Commit --- webroot/15452_files/tumblelog.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 webroot/15452_files/tumblelog.js (limited to 'webroot/15452_files/tumblelog.js') diff --git a/webroot/15452_files/tumblelog.js b/webroot/15452_files/tumblelog.js new file mode 100644 index 0000000..882e3d8 --- /dev/null +++ b/webroot/15452_files/tumblelog.js @@ -0,0 +1 @@ +function flashVersion(){if(navigator.plugins&&navigator.plugins.length>0){var a=navigator.mimeTypes;if(a&&a["application/x-shockwave-flash"]&&a["application/x-shockwave-flash"].enabledPlugin&&a["application/x-shockwave-flash"].enabledPlugin.description){return parseInt(a["application/x-shockwave-flash"].enabledPlugin.description.split(" ")[2].split(".")[0],10)}}else{if(navigator.appVersion.indexOf("Mac")==-1&&window.execScript){try{var c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");var b=c.GetVariable("$version");return b.split(",")[0].split(" ")[1]}catch(d){}return 0}}}function replaceIfFlash(b,a,c){if(flashVersion()>=b){document.getElementById(a).innerHTML=c}}function renderVideo(c,g,e,a,b){var d=navigator.userAgent.toLowerCase();var f=(d.indexOf("iphone")!=-1);if(f){document.getElementById(c).innerHTML=''}else{replaceIfFlash(10,c,'')}}; \ No newline at end of file -- cgit v1.2.3