
$(document).ready(function(){
     
    $('.rp_inner:odd').css('color','#DCF4FF');
     
    main_menu_roll();
    
    rental_side_cate();
    
    rental_per_color();
    
    sub_small();

 
});



function main_menu_roll(){
 
     //SERVICE////////  
    
    $('li#service').hover(
    
        function(){
            $('div#sub_service').show();
            $('div#sub_rental').hide();
             $('div#sub_company').hide();
              $('div#small_amp').hide();
                $('#small_keyboard').hide();
                $('#small_drum').hide();
                $('#small_midi').hide();
        },
        function(){}
    
    );
    
    $('#sub_service li').height(30);
    
    //RENTAL////////  
    
        $('li#rental').hover(
    
        function(){
            $('div#sub_rental').show();
             $('div#sub_service').hide();
             $('div#sub_company').hide();
               $('div#small_amp').hide();
                $('#small_keyboard').hide();
                $('#small_drum').hide();
                $('#small_midi').hide();
        },
        function(){}
    
    );
    
    $('#sub_rental li').height(30);
    
    //RENTAL SMALL CATEGORY////////
    
        $('li#big_amp').hover(
            function(){
                $('div#small_amp').show();
                $('#small_keyboard').hide();
                $('#small_drum').hide();
                $('#small_midi').hide();
            },
            function(){}
    
        );
        
        $('li#big_keyboard').hover(
            function(){
                $('#small_keyboard').show();
                $('div#small_amp').hide();
                $('#small_drum').hide();
                $('#small_midi').hide();
            },
            function(){}
    
        );
        
        $('li#big_drum').hover(
            function(){
                $('#small_drum').show();
                 $('div#small_amp').hide();
                $('#small_keyboard').hide();
                $('#small_midi').hide();
            },
            function(){}
    
        );
        
      $('li#big_midi').hover(
            function(){
                $('#small_midi').show();
                $('div#small_amp').hide();
                $('#small_keyboard').hide();
                $('#small_drum').hide();
            },
            function(){}
    
        );
        
     //OTHER////////
          $('#menu_wireless,#menu_dj,#menu_effect,#menu_guitar,#menu_ac,#LP,#contact,#title').hover(
            function(){
                $('#small_midi').hide();
                $('div#small_amp').hide();
                $('#small_keyboard').hide();
                $('#small_drum').hide();
            },
            function(){}
    
        );
    
      $('#title,#LP,#contact,#sitemap,#links').hover(
            function(){
              $('div#sub_rental').hide();
             $('div#sub_service').hide();
             $('div#sub_company').hide();
                $('#small_midi').hide();
                $('#small_amp').hide();
                $('#small_keyboard').hide();
                $('#small_drum').hide();
            },
            function(){}
    
        );


    //COMPANY////////    
    
        $('#company').hover(
    
        function(){
             $('div#sub_company').show();
             $('div#sub_rental').hide();
             $('div#sub_service').hide();
             $('div#small_amp').hide();
             $('#small_keyboard').hide();
             $('#small_drum').hide();
             $('#small_midi').hide();
        },
        function(){}
    
    );
    
    $('#sub_company li').height(30);
    
    
    
}









function swapImage(target,src) {
 if (document.images) document.images[target].src = src;
}


/* swapimage */
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


/* rollover */
function sign(obj,val) {
obj.src = val;
 }




