window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}};(function(e){function h(){}for(var g="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),f;f=g.pop();){e[f]=e[f]||h}})((function(){try{console.log();return window.console}catch(a){return window.console={}}})());function tabSwitch(e,c,b,d){for(var a=1;a<c+1;a++){$("#"+d+a).hide("fast");$("#"+b+a).removeClass("active")}$("#"+d+e).show("fast");$("#"+b+e).addClass("active")}function enforceFullView(){if(window.location.href!=window.parent.location.href){window.parent.location.href=window.location.href}}function getLatestContentForWord(a){tabSwitch(a,4,"tab_","content_")}function getLatestContent(){var a=window.location.href;if(a.indexOf("#why")>0){getLatestContentForWord(2)}if(a.indexOf("#who")>0){getLatestContentForWord(3)}if(a.indexOf("#where")>0){getLatestContentForWord(4)}}function getInternalLinks(){$('a[href^="#"]').click(function(){if($(this).attr("href")=="#what"){getLatestContentForWord(1)}if($(this).attr("href")=="#why"){getLatestContentForWord(2)}if($(this).attr("href")=="#who"){getLatestContentForWord(3)}if($(this).attr("href")=="#where"){getLatestContentForWord(4)}})}$(document).ready(function(){getInternalLinks();getLatestContent()});
