var RapidFTR = {};

// START: Tabs
RapidFTR.tabControl = function() {
    $(".tab").hide(); //Hide all content
    $(".tab-handles li:first").addClass("current").show(); //Activate first tab
    $(".tab:first").show(); //Show first tab content

    //On Click Event
    $(".tab-handles a").click(function() {

        $(".tab-handles li").removeClass("current"); //Remove any "active" class
        $(".tab").hide(); //Hide all tab content

        var activeTab = $(this).attr("href"); //Find the href attribute value to identify the active tab + content

        $(this).parent().addClass("current"); //Add "active" class to selected tab
        $(activeTab).show(); //Fade in the active ID content
        return false;
    });

    // submitting forms with links
    $(".submit-form").click(function()
    {
        var formToSubmit = $(this).attr("href");
        $(formToSubmit).submit();
        return false;
    });

    $(document.getElementById("enable_form")).click(function()
    {

        var form = document.getElementById("enable_or_disable_form_section");
        form.action = 'form_section/enable';
        form.submit();
        return true;
    });


    $(document.getElementById("disable_form")).click(function()
    {

        var form = document.getElementById("enable_or_disable_form_section");
        form.action = 'form_section/disable';
        form.submit();
        return true;
    });


    //hiding field direction buttons (first up button and second down)
    $("#formFields .up-link:first").hide();
    $("#formFields .down-link:last").hide();
};

RapidFTR.followTextFieldControl = function(selector, followSelector, transformFunction){
    $(selector).keyup(function(){
		var val = $(this).val();	
		var transformed =  transformFunction(val);
       	$(followSelector).val(transformed); 
    });
}

@@ -63,18 +63,16 @@
 ion() %7B%0A
-  
   $(%22.ta
@@ -98,26 +98,24 @@
 all content%0A
-  
   $(%22.tab-ha
@@ -182,18 +182,16 @@
 t tab%0A  
- 
- 
 $(%22.tab:
@@ -232,18 +232,16 @@
 ontent%0A%0A
-  
   //On C
@@ -253,18 +253,16 @@
 Event%0A  
- 
- 
 $(%22.tab-
@@ -289,28 +289,24 @@
 nction() %7B%0A%0A
-    
     $(%22.tab-
@@ -374,20 +374,16 @@
 ass%0A    
-   
- 
 $(%22.tab%22
@@ -412,28 +412,24 @@
 ab content%0A%0A
-    
     var acti
@@ -532,20 +532,16 @@
 nt%0A%0A    
-   
- 
 $(this).
@@ -607,20 +607,16 @@
 ted tab%0A
-    
     $(ac
@@ -664,28 +664,24 @@
 content%0A    
-   
- 
 return false
@@ -674,34 +674,32 @@
   return false;%0A
-  
   %7D);%0A%0A    // su
@@ -691,18 +691,16 @@
  %7D);%0A%0A  
- 
- 
 // submi
@@ -722,18 +722,16 @@
 h links%0A
-  
   $(%22.su
@@ -765,16 +765,10 @@
 )%0A  
- 
- 
 %7B%0A
-    
     
@@ -812,20 +812,16 @@
 %22);%0A    
-   
- 
 $(formTo
@@ -830,36 +830,32 @@
 bmit).submit();%0A
-    
     return false
@@ -856,18 +856,16 @@
  false;%0A
-  
   %7D);%0A%0A 
@@ -861,26 +861,24 @@
 e;%0A  %7D);%0A%0A  
- 
- 
 $(document.g
@@ -920,35 +920,29 @@
 (function()%0A
-  
   %7B%0A%0A
-    
     var form
@@ -999,36 +999,32 @@
 _section%22);%0A    
- 
-   
 form.action = 'f
@@ -1040,28 +1040,24 @@
 on/enable';%0A
-    
     form.sub
@@ -1059,36 +1059,32 @@
 m.submit();%0A    
- 
-   
 return true;%0A   
@@ -1076,34 +1076,32 @@
 eturn true;%0A
-  
   %7D);%0A%0A%0A
     $(docume
@@ -1088,18 +1088,16 @@
   %7D);%0A%0A%0A
-  
   $(docu
@@ -1152,25 +1152,19 @@
 ion()%0A  
- 
- 
 %7B%0A%0A
-    
     var 
@@ -1229,20 +1229,16 @@
 tion%22);%0A
-    
     form
@@ -1271,20 +1271,16 @@
 sable';%0A
-    
     form
@@ -1294,20 +1294,16 @@
 ();%0A    
-   
- 
 return t
@@ -1311,18 +1311,16 @@
 ue;%0A
-  
   %7D);%0A%0A%0A
     
@@ -1315,18 +1315,16 @@
   %7D);%0A%0A%0A
-  
   //hidi
@@ -1384,18 +1384,16 @@
 d down)%0A
-  
   $(%22#fo
@@ -1428,18 +1428,16 @@
 de();%0A  
- 
- 
 $(%22#form
@@ -1562,18 +1562,16 @@
 ction)%7B%0A
-  
   $(sele
@@ -1594,18 +1594,20 @@
 tion()%7B%0A
-%09%09
+    
 var val 
@@ -1626,12 +1626,15 @@
 l();
-%09%0A%09%09
+  %0A    
 var 
@@ -1680,12 +1680,8 @@
     
-   %09
 $(fo
@@ -1713,18 +1713,16 @@
 rmed); %0A
-  
   %7D);%0A%7D%0A

Convert tabs to spaces and back again: now soft tabbing at 2 in application.js