$(function(){
     cur_url = window.location.href;
     new_url = cur_url;
     url_length = cur_url.length;
     if (cur_url[url_length -1] != '/'){
       cur_url = cur_url + '/';
       start = url_length - 9; end = url_length;
       sub = cur_url.substring(start, end);
       if (sub == "home.html" ){
         new_url = cur_url.substring(0,start);
       }
      //  alert(sub + " " + url_length + " " + cur_url + " " + new_url)
     }
     $("#overview").load(new_url+"overview.html");
     $("#skills").load(new_url+"skills.html");
     $("#contact").load(new_url+"contact.html");
});

@@ -186,60 +186,61 @@
     
-start = url_length - 9; end = url_length;%0A
+if (cur_url.indexOf(%22home.html%22) %3E -1 )%7B%0A   
       
- sub
+end
  = c
@@ -250,49 +250,16 @@
 url.
-substring(start, end);%0A       if (sub == 
+indexOf(
 %22hom
@@ -265,19 +265,18 @@
 me.html%22
- )%7B
+);
 %0A       
@@ -311,13 +311,11 @@
 g(0,
-start
+end
 );%0A 
@@ -326,80 +326,8 @@
   %7D%0A
-      //  alert(sub + %22 %22 + url_length + %22 %22 + cur_url + %22 %22 + new_url)%0A
     

load tab fix