﻿$ektron(document).ready(function(){
 
//    //This avoids the tabs css class to be applied to the data
// 
    $ektron("#fragment-1").removeClass("tabs-container");
// 
    $ektron("#fragment-2").removeClass("tabs-container");
 
   $ektron("#fragment-3").removeClass("tabs-container");
 
    $ektron("#fragment-4").removeClass("tabs-container");
// 
//   shows the custom properties tab
// 
   $ektron("#fragment-4").removeClass("tabs-hide");
// 
//   //This removes the tabs from displaying
// 
    $ektron("#container-1 ul").hide();
 
// // This aligns the custom properties with the general table properties
// 
    $ektron("#ek_dvcustomproperties table").attr("width","300px")
    
   
// 
//   //This remove the fields: latitude, longitude, avatar and upload avatar fileds
// 
    $ektron("#general_tab table tr").eq(11).hide();
// 
    $ektron("#general_tab table tr").eq(10).hide();
// 
   $ektron("#general_tab table tr").eq(9).hide();
// 
    $ektron("#general_tab table tr").eq(8).hide();
    $ektron("#general_tab table tr").eq(7).hide();
    $ektron("#general_tab table tr").eq(6).hide();
// 
 //$ektron("#ek_dvcustomproperties table tr").eq(1).remove();
// 

});
 
// This empty function has been added to avoid the page from 
 
// reloading after an error on the page which messes up the styles.
 
// This function forces it not to call that function
 
function ShowPane(id)
 
{
 
}
