(function(){var e=new CSInterface;(function(){themeManager.init();var a=function(b,a,c){this.bname=b;this.func=a;this.yt="http://www.youtube.com/watch?v=dQw4w9WgXcQ&t="+c+"s"},b=[];b.push(new a("perpTool","perpTool",46));b.push(new a("horizonTool","horizon",124));b.push(new a("recolor","changeColor",143));b.push(new a("xall","hideUnhidePerpLayers",164));b.push(new a("wrap","pathWarpChoser",181));b.push(new a("deperp","deperp",346));b.push(new a("resetTransform","resetTransform",550));b.push(new a("rotatePath",
"rotatePath",454));b.push(new a("correctPath","correctPath",497));for(var d in b)(function(a){$("."+b[a].bname+"").mousedown(function(){e.evalScript(""+b[a].func+"()",function(d){if("alt"===d)try{e.openURLInDefaultBrowser(b[a].yt)}catch(c){alert(c)}})}).mouseover(function(){$("#helper").css("background-image","url(icons/gifs/"+b[a].func+".gif)");$("#helper").text("")}).mouseout(function(){$("#helper").text("");$("#helper").css("background-image","url(icons/gifs/default.gif)")})})(d);$("#tabs").children().each(function(){$(this).hide()});
$("#tabs #tab1").show();$("#tab").addClass("active");$("#tab a").click(function(){$("#tabsSelf").children("div").each(function(){$(this).removeClass("active")});$(this).parent("div").addClass("active");var a=$(this).attr("href");$("#tabs div").hide();$(a).show();$(a).children("div").show();return!1});$(".fly").disableSelection()})()})();