$(document).ready(function()
{   

            
$("#button0").click(function () 
{      
var $test = $('#meter');
$test.animate( 
{
    top:'328px'
            
},500); 
});
            
$("#button25000").click(function () 
{      
var $test = $('#meter');
$test.animate( 
{
    top:'315px'
            
},500); 
});
            
$("#button50000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'300px'
},500); 
});

$("#button75000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'285px'
},500); 
});

$("#button100000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'269px'
},500); 
});
            
$("#button125000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'258px'
},500); 
});

$("#button150000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'240px'
},500); 
});

$("#button175000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'230px'
},500); 
});
            
$("#button200000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'213px'
},500); 
});
            

$("#button225000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'200px'
},500); 
});

$("#button250000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'185px'
},500); 
});
            
$("#button275000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'170px'
},500); 
});
            
$("#button300000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'160px'
},500); 
});
            
$("#button325000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'145px'
},500); 
});
            
$("#button350000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'130px'
},500); 
});
            
$("#button375000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'115px'
},500); 
});

$("#button400000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'100px'
},500); 
});
            
$("#button425000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'87px'
},500); 
});

$("#button450000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'75px'
},500); 
});
            
$("#button475000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'60px'
},500); 
});
            
$("#button500000").click(function () 
{
var $test = $('#meter');
$test.animate( 
{
    top:'45px'
},500); 
});

$("#tabsmain li").removeClass("currenttabsmain");
$("#tabmain1").addClass("currenttabsmain");
$('div.boxmain').css({'z-index' : '1'});
$('#boxmain1').css({'z-index' : '3'}); 


$("#tabmain1").click(function () 
{    
    $("#tabsmain li").removeClass("currenttabsmain");
    $("#tabmain1").addClass("currenttabsmain");
    $('div.boxmain').css({'z-index' : '1'});
    $('#boxmain1').css({'z-index' : '3'});    
});
$("#tabmain2").click(function () 
{
    $("#tabsmain li").removeClass("currenttabsmain");
    $("#tabmain2").addClass("currenttabsmain");
    $('div.boxmain').css({'z-index' : '1'});
    $('#boxmain2').css({'z-index' : '3'});
        
});
$("#tabmain3").click(function () 
{
    $("#tabsmain li").removeClass("currenttabsmain");
    $("#tabmain3").addClass("currenttabsmain");
    $('div.boxmain').css({'z-index' : '1'});
    $('#boxmain3').css({'z-index' : '3'});        
});
$("#tabmain4").click(function () 
{
    $("#tabsmain li").removeClass("currenttabsmain");
    $("#tabmain4").addClass("currenttabsmain");
    $('div.boxmain').css({'z-index' : '1'});
    $('#boxmain4').css({'z-index' : '3'});        
});
		       
   
});
 
 
 




    

    
    
    
  
    
    
    
  


    




    
