How remove extra javascript
Can anybody know about how i can remove extra javascript code from my site genuinebatteries.com 

 So how i can remove javascript codes from site as SEO point of view it's too bad for us..

Example

Please see in your end if we can make this internal JAVASCRIPT codes to be EXTERNAL FILE through HTTP request or remove it completely 
 

    Here is the INTERNAL JAVASCRIPT for CURRENCY CONVERTER that can be found on the site.


    <scripttype="text/javascript">

      function get_url_var(url_var) {

        varurlHalves = String(document.location).toLowerCase().split('?');
        varurlVarValue = '';
        
        if (urlHalves[1]) {
               varurlVars = urlHalves[1].split('&');
 
               for (var i = 0; i <= (urlVars.length); i++) {
                       if (urlVars[i]) {
                               varurlVarPair = urlVars[i].split('=');
                               
                               if (urlVarPair[0] &&urlVarPair[0] == url_var.toLowerCase()) {
                                      urlVarValue = urlVarPair[1];
                               }
                       }
               }
        }
        
        return urlVarValue;
        } 


    $(document).ready(function () {
 
               
 
        $('#bussoc-paypal-express').live('click', function() {
               $.ajax({
                       url: 'https://www.genuinebatteries.com/payment/bussoc_paypal_express/init',
                       type: 'get',
                       dataType: 'json',
                       success: function(json) {
                               $('.success, .warning, .attention, information, .error').remove();
                               
                               if (json['error']) {
 
                                      if (json['error']) {
                                              $('#notification').html('<div class="warning" style="display: none;">' + json['error'] + '<imgsrc="catalog/view/theme/default/image/close.png" alt="" class="close" /></div>');
                                      
                                              $('.warning').fadeIn('slow');
                                      }
                               }       

    if (json['redirect']) {
                                      location = json['redirect'];
                               }       
                       }
               });            
        });     
        
                               
        
               
        if (get_url_var('route') == 'checkout/cart') {
               varobj = $('#content h1');
            if (obj != undefined ) {
               $(obj).append('<div style="float:right; margin-top:6px;"><a id="bussoc-paypal-express" ><imgsrc="catalog/view/theme/default/image/btn_xpressCheckout.gif" alt="Paypal Express" /></a></div>');
            }
        }
               });
</script>



How remove extra javascript
===

Can anybody know about how i can remove extra javascript code from my site genuinebatteries.com 

 So how i can remove javascript codes from site as SEO point of view it's too bad for us..

Example

Please see in your end if we can make this internal JAVASCRIPT codes to be EXTERNAL FILE through HTTP request or remove it completely 
 

    Here is the INTERNAL JAVASCRIPT for CURRENCY CONVERTER that can be found on the site.


    <scripttype="text/javascript">

      function get_url_var(url_var) {

        varurlHalves = String(document.location).toLowerCase().split('?');
        varurlVarValue = '';
        
        if (urlHalves[1]) {
               varurlVars = urlHalves[1].split('&');
 
               for (var i = 0; i <= (urlVars.length); i++) {
                       if (urlVars[i]) {
                               varurlVarPair = urlVars[i].split('=');
                               
                               if (urlVarPair[0] &&urlVarPair[0] == url_var.toLowerCase()) {
                                      urlVarValue = urlVarPair[1];
                               }
                       }
               }
        }
        
        return urlVarValue;
        } 


    $(document).ready(function () {
 
               
 
        $('#bussoc-paypal-express').live('click', function() {
               $.ajax({
                       url: 'https://www.genuinebatteries.com/payment/bussoc_paypal_express/init',
                       type: 'get',
                       dataType: 'json',
                       success: function(json) {
                               $('.success, .warning, .attention, information, .error').remove();
                               
                               if (json['error']) {
 
                                      if (json['error']) {
                                              $('#notification').html('<div class="warning" style="display: none;">' + json['error'] + '<imgsrc="catalog/view/theme/default/image/close.png" alt="" class="close" /></div>');
                                      
                                              $('.warning').fadeIn('slow');
                                      }
                               }       

    if (json['redirect']) {
                                      location = json['redirect'];
                               }       
                       }
               });            
        });     
        
                               
        
               
        if (get_url_var('route') == 'checkout/cart') {
               varobj = $('#content h1');
            if (obj != undefined ) {
               $(obj).append('<div style="float:right; margin-top:6px;"><a id="bussoc-paypal-express" ><imgsrc="catalog/view/theme/default/image/btn_xpressCheckout.gif" alt="Paypal Express" /></a></div>');
            }
        }
               });
</script>


