+ if(document.location.hash){
+ $(document.location.hash + '_').show();
+ }
+ $("ul#portfolio li a.tab").each(function(){
+ if (document.location.href.indexOf($(this).attr("href")) == 0) {
+ $("#" + this.attr("href")).show("slide", 600);
+ }
+ $(this).attr("href", "#" + $(this).attr("href"));
+ });
+ var divs = document.getElementsByTagName('div');