
function effbot_download(div){function platform(cx){var els=div.getElementsByTagName('div');for(var i=0;i<els.length;i++){var e=els[i];var c=e.getAttribute("class")||e.getAttribute("className");if(c===cx){e.setAttribute("class",cx+" highlight");e.setAttribute("className",cx+" highlight");if(i!==0)
div.insertBefore(div.removeChild(e),els[0]);return;}}
if(cx!=="source")
platform("source");}
var p=navigator.platform;if(p.indexOf("Win")!==-1)
platform("windows");else if(p.indexOf("Mac")!==-1)
platform("mac");else if(p.indexOf("Linux")!==-1)
platform("linux");else
platform("source");}
window.onload=function()
{var div=document.getElementById('effbot_download');if(div)
effbot_download(div);}
document.onkeypress=function(e)
{if(window.effbot_page_id!==undefined){var event=window.event?window.event:e;var code=event.keyCode?event.keyCode:event.charCode;if(event.ctrlKey&&(event.charCode===69||event.keyCode===5))
document.location.href="/edit/"+effbot_page_id;}}