   $(document).ready(function(){
     $("div#sort_types").mouseover(function(){
       $(this).css('background-image', 'url(images/sort2_aug.png)');
       $("div#select_title").css('color','#888888');
     }).mouseout(function(){
        $(this).css('background-image', 'url(images/sort1_aug.png)');
        $("div#select_title").css('color','#888888');
     }).mousedown(function(){
        $(this).css('background-image', 'url(images/sort3_aug.png)');
        $("input#show_type_button").attr("checked", true);
     }).mouseup(function () {
        $(this).hide();
	$("div#sort_types1").show();
	$("input#show_type_button1").attr("checked", true);
        $("div#select_title_1").css('color','#ffffff');
        $("div#show_sort_options").css('display','block');
        $("div#show_sort_options_1").css('display','none');
      }
     );
     $("div#sort_types1").click(function(){
     $(this).hide();
      $("div#sort_types").show(); 
      $("div#show_sort_options").css('display','none');
      $("div#show_sort_options_1").css('display','block');
     });
     $("div#sort_sizes").mouseover(function(){
		$(this).css('background-image', 'url(images/sort2_aug.png)');
		 $("div#select_title1").css('color','#888888');
	  }).mouseout(function(){
		 $(this).css('background-image', 'url(images/sort1_aug.png)');
		  $("div#select_title1").css('color','#888888');
	  }).mousedown(function(){
        $(this).css('background-image', 'url(images/sort3_aug.png)');
        $("input#show_size_button").attr("checked", true);
     }).mouseup(function () {
        $(this).hide();
	$("div#sort_sizes1").show();
	$("input#show_size_button1").attr("checked", true);
        $("div#select_title1_1").css('color','#ffffff');
        $("div#show_sort_size").css('display','block');
        $("div#show_sort_size_1").css('display','none');
      }
     );
     $("div#sort_sizes1").click(function(){
          $(this).hide();
           $("div#sort_sizes").show();  
          $("div#show_sort_size").css('display','none'); 
          $("div#show_sort_size_1").css('display','block');
     });
     $("div#sort_letterwidth").mouseover(function(){
     		$(this).css('background-image', 'url(images/sort2_aug.png)');
     		 $("div#select_title9").css('color','#888888');
     	  }).mouseout(function(){
     		 $(this).css('background-image', 'url(images/sort1_aug.png)');
     		  $("div#select_title9").css('color','#888888');
     	  }).mousedown(function(){
             $(this).css('background-image', 'url(images/sort3_aug.png)');
             $("input#show_letterwidth_button").attr("checked", true);
          }).mouseup(function () {
             $(this).hide();
     	$("div#sort_letterwidth1").show();
     	$("input#show_letterwidth_button1").attr("checked", true);
             $("div#select_title9_1").css('color','#ffffff');
             $("div#show_sort_letterwidth").css('display','block');
             $("div#show_sort_letterwidth_1").css('display','none');
           }
          );
          $("div#sort_letterwidth1").click(function(){
               $(this).hide();
                $("div#sort_letterwidth").show();  
               $("div#show_sort_letterwidth").css('display','none'); 
               $("div#show_sort_letterwidth_1").css('display','block');
     });
     $("div#sort_shoe_sizes").mouseover(function(){
     		$(this).css('background-image', 'url(images/sort2_long.png)');
     		 $("div#select_title_shoe").css('color','#888888');
     	  }).mouseout(function(){
     		 $(this).css('background-image', 'url(images/sort1_long.png)');
     		  $("div#select_title_shoe").css('color','#888888');
     	  }).mousedown(function(){
             $(this).css('background-image', 'url(images/sort3_long.png)');
             $("input#show_shoesize_button1").attr("checked", true);
          }).mouseup(function () {
             $(this).hide();
     	$("div#sort_shoe_sizes1").show();
     	$("input#show_shoesize_button1").attr("checked", true);
             $("div#select_title_shoe_1").css('color','#ffffff');
             $("div#show_sort_shoesize").css('display','block');
             $("div#show_sort_shoesize_1").css('display','none');
           }
          );
          $("div#sort_shoe_sizes1").click(function(){
               $(this).hide();
                $("div#sort_shoe_sizes").show();  
               $("div#show_sort_shoesize").css('display','none'); 
               $("div#show_sort_shoesize_1").css('display','block');
          });
     
     $("div#sort_waists").mouseover(function(){
		$(this).css('background-image', 'url(images/sort2_aug.png)');
		$("div#select_title2").css('color','#888888');
	  }).mouseout(function(){
		 $(this).css('background-image', 'url(images/sort1_aug.png)');
		 $("div#select_title2").css('color','#888888');
	  }).mousedown(function(){
        $(this).css('background-image', 'url(images/sort3_aug.png)');
        $("input#show_waist_button").attr("checked", true);
     }).mouseup(function () {
        $(this).hide();
	$("div#sort_waists1").show();
	$("input#show_waist_button1").attr("checked", true);
        $("div#select_title2_1").css('color','#ffffff');
         $("div#show_sort_waist").css('display','block');
         $("div#show_sort_waist_1").css('display','none');
      }
     );
      $("div#sort_waists1").click(function(){
               $(this).hide();
          $("div#sort_waists").show();  
              $("div#show_sort_waist").css('display','none'); 
              $("div#show_sort_waist_1").css('display','block');
     });
     $("div#sort_busts").mouseover(function(){
		$(this).css('background-image', 'url(images/sort2_aug.png)');
		$("div#select_title3").css('color','#888888');
	  }).mouseout(function(){
		 $(this).css('background-image', 'url(images/sort1_aug.png)');
		 $("div#select_title3").css('color','#888888');
	  }).mousedown(function(){
        $(this).css('background-image', 'url(images/sort3_aug.png)');
        $("input#show_busts_button").attr("checked", true);
     }).mouseup(function () {
        $(this).hide();
	$("div#sort_busts1").show();
	$("input#show_busts_button1").attr("checked", true);
        $("div#select_title3_1").css('color','#ffffff');
         $("div#show_sort_bust").css('display','block');
         $("div#show_sort_bust_1").css('display','none');
      }
     );
     $("div#sort_busts1").click(function(){
       $(this).hide();
       $("div#sort_busts").show(); 
       $("div#show_sort_bust").css('display','none');
       $("div#show_sort_bust_1").css('display','block');
     });	  
     
     $("div#sort_hips").mouseover(function(){
		$(this).css('background-image', 'url(images/sort2_aug.png)');
		$("div#select_title4").css('color','#888888');
	  }).mouseout(function(){
		 $(this).css('background-image', 'url(images/sort1_aug.png)');
		 $("div#select_title4").css('color','#888888');
	  }).mousedown(function(){
        $(this).css('background-image', 'url(images/sort3_aug.png)');
        $("input#show_hips_button").attr("checked", true);
     }).mouseup(function () {
        $(this).hide();
	$("div#sort_hips1").show();
	$("input#show_hips_button1").attr("checked", true);
        $("div#select_title4_1").css('color','#ffffff');
        $("div#show_sort_hip").css('display','block');
        $("div#show_sort_hip_1").css('display','none');
      }
     );
      $("div#sort_hips1").click(function(){
            $(this).hide();
            $("div#sort_hips").show(); 
             $("div#show_sort_hip").css('display','none');
             $("div#show_sort_hip_1").css('display','block');
     });
     $("div#sort_colors").mouseover(function(){
		$(this).css('background-image', 'url(images/sort2_aug.png)');
		$("div#select_title5").css('color','#888888');
	  }).mouseout(function(){
		 $(this).css('background-image', 'url(images/sort1_aug.png)');
		 $("div#select_title5").css('color','#888888');
	  }).mousedown(function(){
        $(this).css('background-image', 'url(images/sort3_aug.png)');
        $("input#show_colors_button").attr("checked", true);
     }).mouseup(function () {
        $(this).hide();
	$("div#sort_colors1").show();
	$("input#show_colors_button1").attr("checked", true);
        $("div#select_title5_1").css('color','#ffffff');
        $("div#show_sort_color").css('display','block');
        $("div#show_sort_color_1").css('display','none');
      }
     );
      $("div#sort_colors1").click(function(){
	 $(this).hide();
	 $("div#sort_colors").show(); 
	 $("div#show_sort_color").css('display','none');
         $("div#show_sort_color_1").css('display','block');
     });
     $("div#sort_era").mouseover(function(){
		$(this).css('background-image', 'url(images/sort2_aug.png)');
		$("div#select_title8").css('color','#888888');
	  }).mouseout(function(){
		 $(this).css('background-image', 'url(images/sort1_aug.png)');
		 $("div#select_title8").css('color','#888888');
	  }).mousedown(function(){
        $(this).css('background-image', 'url(images/sort3_aug.png)');
        $("input#show_era_button").attr("checked", true);
     }).mouseup(function () {
        $(this).hide();
	$("div#sort_era1").show();
	$("input#show_era_button1").attr("checked", true);
        $("div#select_title8_1").css('color','#ffffff');
        $("div#show_sort_era").css('display','block');
        $("div#show_sort_era_1").css('display','none');
      }
     );
    $("div#sort_era1").click(function(){
          	 $(this).hide();
          	 $("div#sort_era").show();
          	 $("div#show_sort_era").css('display','none');
                 $("div#show_sort_era_1").css('display','block');
     }); 
    $("div#xsmall").click(function(){
     $(this).css({'background-color' : '#FAFF99'});
     $("div#small").css({'background-color' : '#ffffff'});
     $("div#medium").css({'background-color' : '#ffffff'});
     $("div#large").css({'background-color' : '#ffffff'});
     $("div#xlarge").css({'background-color' : '#ffffff'});
     $("div.sortxsmall").css({'background-color' : '#FAFF99'});
     $("div.sortsmall").css({'background-color' : '#ffffff'});
     $("div.sortmedium").css({'background-color' : '#ffffff'});
     $("div.sortlarge").css({'background-color' : '#ffffff'});
     $("div.sortxlarge").css({'background-color' : '#ffffff'});
    $("input.xsmall").attr("checked", true);
    $("input.small").attr("checked", false);
    $("input.medium").attr("checked", false);
    $("input.large").attr("checked", false);
    $("input.xlarge").attr("checked", false);
    $("div#show_sort_bust").css('display','block');
    $("div#show_sort_bust").animate({scrollTop: '0px'}, 500);
    $("div#show_sort_bust_1").css('display','none');
    $("div#select_title3_1").css('color','#ffffff');
     $("div#sort_busts1").show(); 
     $("div#sort_busts").hide(); 
     $("input#show_busts_button1").attr("checked", true); 
     $("div#sort_waists1").show(); 
     $("div#sort_waists").hide(); 
     $("input#show_waist_button1").attr("checked", true);
      $("div#show_sort_waist").css('display','block');
      $("div#show_sort_waist").animate({scrollTop: '0px'}, 500);
     $("div#show_sort_waist_1").css('display','none');
     $("div#select_title2_1").css('color','#ffffff');
     $("div#sort_hips1").show(); 
     $("div#sort_hips").hide(); 
     $("input#show_hips_button1").attr("checked", true);
     $("div#show_sort_hip").css('display','block');
     $("div#show_sort_hip").animate({scrollTop: '0px'}, 500);
     $("div#show_sort_hip_1").css('display','none');
     $("div#select_title4_1").css('color','#ffffff');
     }); 
      $("div#small").click(function(){
          $(this).css({'background-color' : '#D6FDAC'});
          $("div#xsmall").css({'background-color' : '#ffffff'});
          $("div#medium").css({'background-color' : '#ffffff'});
          $("div#large").css({'background-color' : '#ffffff'});
          $("div#xlarge").css({'background-color' : '#ffffff'});
          $("div.sortxsmall").css({'background-color' : '#ffffff'});
	  $("div.sortsmall").css({'background-color' : '#D6FDAC'});
	  $("div.sortmedium").css({'background-color' : '#ffffff'});
	  $("div.sortlarge").css({'background-color' : '#ffffff'});
          $("div.sortxlarge").css({'background-color' : '#ffffff'});
          $("input.xsmall").attr("checked", false);
	  $("input.small").attr("checked", true);
	  $("input.medium").attr("checked", false);
	  $("input.large").attr("checked", false);
          $("input.xlarge").attr("checked", false);
          $("div#show_sort_bust").css('display','block');
          $("div#show_sort_bust").animate({scrollTop: '62px'}, 500);
          $("div#show_sort_bust_1").css('display','none');
          $("div#select_title3_1").css('color','#ffffff');
          $("div#sort_busts1").show(); 
          $("div#sort_busts").hide(); 
          $("input#show_busts_button1").attr("checked", true); 
          $("div#sort_waists1").show(); 
          $("div#sort_waists").hide(); 
          $("input#show_waist_button1").attr("checked", true);
          $("div#show_sort_waist").css('display','block');
          $("div#show_sort_waist").animate({scrollTop: '155px'}, 500);
          $("div#show_sort_waist_1").css('display','none');
          $("div#select_title2_1").css('color','#ffffff');
          $("div#sort_hips1").show(); 
          $("div#sort_hips").hide(); 
          $("input#show_hips_button1").attr("checked", true);
          $("div#show_sort_hip").css('display','block');
          $("div#show_sort_hip").animate({scrollTop: '62px'}, 500);
          $("div#show_sort_hip_1").css('display','none');
          $("div#select_title4_1").css('color','#ffffff');
     });
     $("div#medium").click(function(){
            $(this).css({'background-color' : '#A9DFFF'});
            $("div#xsmall").css({'background-color' : '#ffffff'});
            $("div#small").css({'background-color' : '#ffffff'});
            $("div#large").css({'background-color' : '#ffffff'});
            $("div#xlarge").css({'background-color' : '#ffffff'});
            $("div.sortxsmall").css({'background-color' : '#ffffff'});
            $("div.sortsmall").css({'background-color' : '#ffffff'});
            $("div.sortmedium").css({'background-color' : '#A9DFFF'});
            $("div.sortlarge").css({'background-color' : '#ffffff'});
            $("div.sortxlarge").css({'background-color' : '#ffffff'});
            $("input.xsmall").attr("checked", false);
            $("input.small").attr("checked", false);
            $("input.medium").attr("checked", true);
            $("input.large").attr("checked", false);
            $("input.xlarge").attr("checked", false);
            $("div#show_sort_bust").css('display','block');
            $("div#show_sort_bust").animate({scrollTop: '100px'}, 500);
            $("div#show_sort_bust_1").css('display','none');
            $("div#select_title3_1").css('color','#ffffff');
            $("div#sort_busts1").show(); 
            $("div#sort_busts").hide(); 
            $("input#show_busts_button1").attr("checked", true); 
            $("div#sort_waists1").show(); 
            $("div#sort_waists").hide(); 
            $("input#show_waist_button1").attr("checked", true);
            $("div#show_sort_waist").css('display','block');
            $("div#show_sort_waist").animate({scrollTop: '215px'}, 500);
            $("div#show_sort_waist_1").css('display','none');
            $("div#select_title2_1").css('color','#ffffff');
            $("div#sort_hips1").show(); 
            $("div#sort_hips").hide(); 
            $("input#show_hips_button1").attr("checked", true);
            $("div#show_sort_hip").css('display','block');
            $("div#show_sort_hip").animate({scrollTop: '100px'}, 500);
            $("div#show_sort_hip_1").css('display','none');
            $("div#select_title4_1").css('color','#ffffff');
     });
     $("div#large").click(function(){
           $(this).css({'background-color' : '#FFACFE'});
           $("div#xsmall").css({'background-color' : '#ffffff'});
           $("div#small").css({'background-color' : '#ffffff'});
           $("div#medium").css({'background-color' : '#ffffff'});
           $("div#xlarge").css({'background-color' : '#ffffff'});
           $("div.sortxsmall").css({'background-color' : '#ffffff'});
           $("div.sortsmall").css({'background-color' : '#ffffff'});
           $("div.sortmedium").css({'background-color' : '#ffffff'});
           $("div.sortlarge").css({'background-color' : '#FFACFE'});
           $("div.sortxlarge").css({'background-color' : '#ffffff'});
           $("input.xsmall").attr("checked", false);
           $("input.small").attr("checked", false);
           $("input.medium").attr("checked", false);
           $("input.large").attr("checked", true);
           $("input.xlarge").attr("checked", false);
           $("div#show_sort_bust").css('display','block');
           $("div#show_sort_bust").animate({scrollTop: '150px'}, 500);
           $("div#show_sort_bust_1").css('display','none');
           $("div#select_title3_1").css('color','#ffffff');
           $("div#sort_busts1").show(); 
           $("div#sort_busts").hide(); 
           $("input#show_busts_button1").attr("checked", true); 
           $("div#sort_waists1").show(); 
           $("div#sort_waists").hide(); 
           $("input#show_waist_button1").attr("checked", true);
           $("div#show_sort_waist").css('display','block');
           $("div#show_sort_waist").animate({scrollTop: '265px'}, 500);
           $("div#show_sort_waist_1").css('display','none');
           $("div#select_title2_1").css('color','#ffffff');
           $("div#sort_hips1").show(); 
           $("div#sort_hips").hide(); 
           $("input#show_hips_button1").attr("checked", true);
           $("div#show_sort_hip").css('display','block');
           $("div#show_sort_hip").animate({scrollTop: '150px'}, 500);
           $("div#show_sort_hip_1").css('display','none');
           $("div#select_title4_1").css('color','#ffffff');   
     });
      $("div#xlarge").click(function(){
           $(this).css({'background-color' : '#FFC798'});
            $("div#xsmall").css({'background-color' : '#ffffff'});
            $("div#small").css({'background-color' : '#ffffff'});
            $("div#medium").css({'background-color' : '#ffffff'});
            $("div#large").css({'background-color' : '#ffffff'});
            $("div.sortxsmall").css({'background-color' : '#ffffff'});
            $("div.sortsmall").css({'background-color' : '#ffffff'});
            $("div.sortmedium").css({'background-color' : '#ffffff'});
            $("div.sortlarge").css({'background-color' : '#ffffff'});
            $("div.sortxlarge").css({'background-color' : '#FFC798'});
            $("input.xsmall").attr("checked", false);
            $("input.small").attr("checked", false);
            $("input.medium").attr("checked", false);
            $("input.large").attr("checked", false);
            $("input.xlarge").attr("checked", true);
            $("div#show_sort_bust").css('display','block');
            $("div#show_sort_bust").animate({scrollTop: '200px'}, 500);
            $("div#show_sort_bust_1").css('display','none');
            $("div#select_title3_1").css('color','#ffffff');
            $("div#sort_busts1").show(); 
            $("div#sort_busts").hide(); 
            $("input#show_busts_button1").attr("checked", true); 
            $("div#sort_waists1").show(); 
            $("div#sort_waists").hide(); 
            $("input#show_waist_button1").attr("checked", true);
            $("div#show_sort_waist").css('display','block');
            $("div#show_sort_waist").animate({scrollTop: '385px'}, 500);
            $("div#show_sort_waist_1").css('display','none');
            $("div#select_title2_1").css('color','#ffffff');
            $("div#sort_hips1").show(); 
            $("div#sort_hips").hide(); 
            $("input#show_hips_button1").attr("checked", true);
            $("div#show_sort_hip").css('display','block');
            $("div#show_sort_hip").animate({scrollTop: '200px'}, 500);
            $("div#show_sort_hip_1").css('display','none');
            $("div#select_title4_1").css('color','#ffffff');        
     }); 
     $("div.sort_bust_free").click(function () {
           
              $("input[@name='sort_bust[]']").attr("checked", true);
              $("div.sort_bust_free").css('display','none'); 
               $("div.sort_bust_free1").css('display','block'); 
       });
        $("div.sort_bust_free1").click(function () {
                  
              $("input[@name='sort_bust[]']").attr("checked", false);
              $("div.sort_bust_free").css('display','block');
              $("div.sort_bust_free1").css('display','none'); 
       });
        $("div.sort_waist_free").click(function () {
                  
       $("input[@name='sort_waist[]']").attr("checked", true);
       $("div.sort_waist_free").css('display','none'); 
       $("div.sort_waist_free1").css('display','block'); 
        });
       $("div.sort_waist_free1").click(function () {

	     $("input[@name='sort_waist[]']").attr("checked", false);
	     $("div.sort_waist_free").css('display','block');
	     $("div.sort_waist_free1").css('display','none'); 
       });
        $("div.sort_hip_free").click(function () {
                         
      $("input[@name='sort_hip[]']").attr("checked", true);
      $("div.sort_hip_free").css('display','none'); 
      $("div.sort_hip_free1").css('display','block'); 
       });
      $("div.sort_hip_free1").click(function () {

     $("input[@name='sort_hip[]']").attr("checked", false);
     $("div.sort_hip_free").css('display','block');
     $("div.sort_hip_free1").css('display','none'); 
       });
         $("div.sort_fabric_free").click(function () {
                                
             $("input[@name='sort_material[]']").attr("checked", true);
             $("div.sort_fabric_free").css('display','none'); 
             $("div.sort_fabric_free1").css('display','block'); 
              });
             $("div.sort_fabric_free1").click(function () {
       
            $("input[@name='sort_material[]']").attr("checked", false);
            $("div.sort_fabric_free").css('display','block');
            $("div.sort_fabric_free1").css('display','none'); 
       });
        $("div.sort_cate_free").click(function () {
                                
             $("input[@name='cateid[]']").attr("checked", true);
             $("div#show_sort_options").css("background", "#eee" );
             $("div.sort_cate_free").css('display','none'); 
             $("div.sort_cate_free1").css('display','block'); 
              });
             $("div.sort_cate_free1").click(function () {
       
            $("input[@name='cateid[]']").attr("checked", false);
            $("div#show_sort_options").css("background", "#fff" );
            $("div.sort_cate_free").css('display','block');
            $("div.sort_cate_free1").css('display','none'); 
       });
      $("div#25 input:checkbox").click(function () {
       if( $(this).is(':checked'))
       {
        $("div#25").css("background", "#eee" );
         }
         else
         {
          $("div#25").css("background", "#fff" );
         }
       });
       $("div#all_category input:checkbox").click(function () {
       if( $(this).is(':checked'))
       {
       $("div#all_category").css("background", "#eee" );
	}
	else
	{
	 $("div#all_category").css("background", "#fff" );
	}
       });
       $("div#26 input:checkbox").click(function () {
        if( $(this).is(':checked'))
        {
         $("div#26").css("background", "#eee" );
       	}
       	else
       	{
       	 $("div#26").css("background", "#fff" );
       	}
       });
       $("div#27 input:checkbox").click(function () {
         if( $(this).is(':checked'))
        {
        $("div#27").css("background", "#eee" );
	}
	else
	{
	 $("div#27").css("background", "#fff" );
	}
       });
       $("div#28 input:checkbox").click(function () {
	if( $(this).is(':checked'))
       {
       $("div#28").css("background", "#eee" );
       	}
       	else
       	{
       	 $("div#28").css("background", "#fff" );
       	}
       });
       $("div#29 input:checkbox").click(function () {
       	if( $(this).is(':checked'))
       {
       $("div#29").css("background", "#eee" );
	}
	else
	{
	 $("div#29").css("background", "#fff" );
	}
       });
       $("div#37 input:checkbox").click(function () {
	if( $(this).is(':checked'))
       {
       $("div#37").css("background", "#eee" );
       	}
       	else
       	{
       	 $("div#37").css("background", "#fff" );
       	}
       });
       $("div#52 input:checkbox").click(function () {
	if( $(this).is(':checked'))
       {
       $("div#52").css("background", "#eee" );
       	}
       	else
       	{
       	 $("div#52").css("background", "#fff" );
       	}
       });
       $(".selectcolor1 #checkbox-select1").click(
       		function(event) {
       			event.preventDefault();
       			$("div#checkbox-deselect1").css('display','block');
       			$("div#checkbox-select1").css('display','none');
       			$(this).parent().find(":checkbox").attr("checked","checked");
       		}
       	);
       
       	$(".selectcolor1  #checkbox-deselect1").click(
       		function(event) {
       			event.preventDefault();
       			$("div#checkbox-deselect1").css('display','none');
       			$("div#checkbox-select1").css('display','block');
       			$(this).parent().find(":checkbox").removeAttr("checked");
       		}
       	);
         $(".selectcolor1 #checkbox-select2").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect2").css('display','block');
			$("div#checkbox-select2").css('display','none');
			$(this).parent().find(":checkbox").attr("checked","checked");
		}
	);

	$(".selectcolor1  #checkbox-deselect2").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect2").css('display','none');
			$("div#checkbox-select2").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
       	);
       	 $(".selectcolor1 #checkbox-select3").click(
			function(event) {
				event.preventDefault();
				$("div#checkbox-deselect3").css('display','block');
				$("div#checkbox-select3").css('display','none');
				$(this).parent().find(":checkbox").attr("checked","checked");
			}
		);
	
		$(".selectcolor1  #checkbox-deselect3").click(
			function(event) {
				event.preventDefault();
				$("div#checkbox-deselect3").css('display','none');
				$("div#checkbox-select3").css('display','block');
				$(this).parent().find(":checkbox").removeAttr("checked");
			}
       	);
       	 $(".selectcolor1 #checkbox-select4").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect4").css('display','block');
			$("div#checkbox-select4").css('display','none');
			$(this).parent().find(":checkbox").attr("checked","checked");
		}
	);

	$(".selectcolor1  #checkbox-deselect4").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect4").css('display','none');
			$("div#checkbox-select4").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
       	);
       	 $(".selectcolor1 #checkbox-select5").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect5").css('display','block');
			$("div#checkbox-select5").css('display','none');
			$(this).parent().find(":checkbox").attr("checked","checked");
		}
	);

	$(".selectcolor1  #checkbox-deselect5").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect5").css('display','none');
			$("div#checkbox-select5").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
       	);
       	$(".selectcolor1 #checkbox-select6").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect6").css('display','block');
			$("div#checkbox-select6").css('display','none');
			$(this).parent().find(":checkbox").attr("checked","checked");
		}
	);

	$(".selectcolor1  #checkbox-deselect6").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect6").css('display','none');
			$("div#checkbox-select6").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
       	);
	$(".selectcolor1 #checkbox-select7").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect7").css('display','block');
			$("div#checkbox-select7").css('display','none');
			$(this).parent().find(":checkbox").attr("checked","checked");
		}
	);

	$(".selectcolor1  #checkbox-deselect7").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect7").css('display','none');
			$("div#checkbox-select7").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
       	);
       	$(".selectcolor1 #checkbox-select8").click(
			function(event) {
				event.preventDefault();
				$("div#checkbox-deselect8").css('display','block');
				$("div#checkbox-select8").css('display','none');
				$(this).parent().find(":checkbox").attr("checked","checked");
			}
		);
	
		$(".selectcolor1  #checkbox-deselect8").click(
			function(event) {
				event.preventDefault();
				$("div#checkbox-deselect8").css('display','none');
				$("div#checkbox-select8").css('display','block');
				$(this).parent().find(":checkbox").removeAttr("checked");
			}
       	);
       	 	$(".selectcolor1 #checkbox-select9").click(
				function(event) {
					event.preventDefault();
					$("div#checkbox-deselect9").css('display','block');
					$("div#checkbox-select9").css('display','none');
					$(this).parent().find(":checkbox").attr("checked","checked");
				}
			);
		
			$(".selectcolor1  #checkbox-deselect9").click(
				function(event) {
					event.preventDefault();
					$("div#checkbox-deselect9").css('display','none');
					$("div#checkbox-select9").css('display','block');
					$(this).parent().find(":checkbox").removeAttr("checked");
				}
       	);
       	
       	$(".selectcolor1 #checkbox-select10").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect10").css('display','block');
			$("div#checkbox-select10").css('display','none');
			$(this).parent().find(":checkbox").attr("checked","checked");
		}
	);

	$(".selectcolor1  #checkbox-deselect10").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect10").css('display','none');
			$("div#checkbox-select10").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
	       	);
	$(".selectcolor1 #checkbox-select11").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect11").css('display','block');
			$("div#checkbox-select11").css('display','none');
			$(this).parent().find(":checkbox").attr("checked","checked");
		}
	);

	$(".selectcolor1  #checkbox-deselect11").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect11").css('display','none');
			$("div#checkbox-select11").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
		);
     	$(".selectcolor1 #checkbox-select12").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect12").css('display','block');
			$("div#checkbox-select12").css('display','none');
			$(this).parent().find(":checkbox").attr("checked","checked");
		}
	);

	$(".selectcolor1  #checkbox-deselect12").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect12").css('display','none');
			$("div#checkbox-select12").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
		); 
     	$(".selectcolor1 #checkbox-select13").click(
     		function(event) {
     			event.preventDefault();
     			$("div#checkbox-deselect13").css('display','block');
     			$("div#checkbox-select13").css('display','none');
     			$(this).parent().find(":checkbox").attr("checked","checked");
     		}
     	);
     
     	$(".selectcolor1  #checkbox-deselect13").click(
     		function(event) {
     			event.preventDefault();
     			$("div#checkbox-deselect13").css('display','none');
     			$("div#checkbox-select13").css('display','block');
     			$(this).parent().find(":checkbox").removeAttr("checked");
     		}
		);
      $(".selectcolor1 #checkbox-select14").click(
           		function(event) {
           			event.preventDefault();
           			$("div#checkbox-deselect14").css('display','block');
           			$("div#checkbox-select14").css('display','none');
           			$(this).parent().find(":checkbox").attr("checked","checked");
           		}
           	);
           
           	$(".selectcolor1  #checkbox-deselect14").click(
           		function(event) {
           			event.preventDefault();
           			$("div#checkbox-deselect14").css('display','none');
           			$("div#checkbox-select14").css('display','block');
           			$(this).parent().find(":checkbox").removeAttr("checked");
           		}
      		);
       $(".selectcolor1 #checkbox-select15").click(
                 		function(event) {
                 			event.preventDefault();
                 			$("div#checkbox-deselect15").css('display','block');
                 			$("div#checkbox-select15").css('display','none');
                 			$(this).parent().find(":checkbox").attr("checked","checked");
                 		}
                 	);
                 
                 	$(".selectcolor1  #checkbox-deselect15").click(
                 		function(event) {
                 			event.preventDefault();
                 			$("div#checkbox-deselect15").css('display','none');
                 			$("div#checkbox-select15").css('display','block');
                 			$(this).parent().find(":checkbox").removeAttr("checked");
                 		}
      		);
        $(".selectcolor1 #checkbox-select16").click(
                       		function(event) {
                       			event.preventDefault();
                       			$("div#checkbox-deselect16").css('display','block');
                       			$("div#checkbox-select16").css('display','none');
                       			$(this).parent().find(":checkbox").attr("checked","checked");
                       		}
                       	);
                       
                       	$(".selectcolor1  #checkbox-deselect16").click(
                       		function(event) {
                       			event.preventDefault();
                       			$("div#checkbox-deselect16").css('display','none');
                       			$("div#checkbox-select16").css('display','block');
                       			$(this).parent().find(":checkbox").removeAttr("checked");
                       		}
      		);
       $(".selectcolor1 #checkbox-select17").click(
			function(event) {
				event.preventDefault();
				$("div#checkbox-deselect17").css('display','block');
				$("div#checkbox-select17").css('display','none');
				$(this).parent().find(":checkbox").attr("checked","checked");
			}
		);

		$(".selectcolor1  #checkbox-deselect17").click(
			function(event) {
				event.preventDefault();
				$("div#checkbox-deselect17").css('display','none');
				$("div#checkbox-select17").css('display','block');
				$(this).parent().find(":checkbox").removeAttr("checked");
			}
      		);
	 $(".selectcolor1 #checkbox-select18").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect18").css('display','block');
			$("div#checkbox-select18").css('display','none');
			$(this).parent().find(":checkbox").attr("checked","checked");
		}
	);

	$(".selectcolor1  #checkbox-deselect18").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect18").css('display','none');
			$("div#checkbox-select18").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
	);
	 $(".selectcolor1 #checkbox-select19").click(
			function(event) {
				event.preventDefault();
				$("div#checkbox-deselect19").css('display','block');
				$("div#checkbox-select19").css('display','none');
				$(this).parent().find(":checkbox").attr("checked","checked");
			}
		);
	
		$(".selectcolor1  #checkbox-deselect19").click(
			function(event) {
				event.preventDefault();
				$("div#checkbox-deselect19").css('display','none');
				$("div#checkbox-select19").css('display','block');
				$(this).parent().find(":checkbox").removeAttr("checked");
			}
	);
	$(".selectcolor1 #checkbox-select20").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect20").css('display','block');
			$("div#checkbox-select20").css('display','none');
			$(this).parent().find(":checkbox").attr("checked","checked");
		}
	);

	$(".selectcolor1  #checkbox-deselect20").click(
		function(event) {
			event.preventDefault();
			$("div#checkbox-deselect20").css('display','none');
			$("div#checkbox-select20").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
	);
	$(".selectcolor1 #checkbox-select21").click(
			function(event) {
				event.preventDefault();
				$("div#checkbox-deselect21").css('display','block');
				$("div#checkbox-select21").css('display','none');
				$(this).parent().find(":checkbox").attr("checked","checked");
			}
		);
	
		$(".selectcolor1  #checkbox-deselect21").click(
			function(event) {
				event.preventDefault();
				$("div#checkbox-deselect21").css('display','none');
				$("div#checkbox-select21").css('display','block');
				$(this).parent().find(":checkbox").removeAttr("checked");
			}
	);
	
	 $(".selectwidth1 #wcheckbox-select1").click(
	       		function(event) {
	       			event.preventDefault();
	       			$("div#wcheckbox-deselect1").css('display','block');
	       			$("div#wcheckbox-select1").css('display','none');
	       			$(this).parent().find(":checkbox").attr("checked","checked");
	       		}
	       	);
	       
	$(".selectwidth1  #wcheckbox-deselect1").click(
		function(event) {
			event.preventDefault();
			$("div#wcheckbox-deselect1").css('display','none');
			$("div#wcheckbox-select1").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
	);
	
	 $(".selectwidth1 #wcheckbox-select2").click(
	       		function(event) {
	       			event.preventDefault();
	       			$("div#wcheckbox-deselect2").css('display','block');
	       			$("div#wcheckbox-select2").css('display','none');
	       			$(this).parent().find(":checkbox").attr("checked","checked");
	       		}
	       	);
	       
	$(".selectwidth1  #wcheckbox-deselect2").click(
		function(event) {
			event.preventDefault();
			$("div#wcheckbox-deselect2").css('display','none');
			$("div#wcheckbox-select2").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
	);
	 $(".selectwidth1 #wcheckbox-select3").click(
	       		function(event) {
	       			event.preventDefault();
	       			$("div#wcheckbox-deselect3").css('display','block');
	       			$("div#wcheckbox-select3").css('display','none');
	       			$(this).parent().find(":checkbox").attr("checked","checked");
	       		}
	       	);
	       
	$(".selectwidth1  #wcheckbox-deselect3").click(
		function(event) {
			event.preventDefault();
			$("div#wcheckbox-deselect3").css('display','none');
			$("div#wcheckbox-select3").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
	);
	 $(".selectwidth1 #wcheckbox-select4").click(
	       		function(event) {
	       			event.preventDefault();
	       			$("div#wcheckbox-deselect4").css('display','block');
	       			$("div#wcheckbox-select4").css('display','none');
	       			$(this).parent().find(":checkbox").attr("checked","checked");
	       		}
	       	);
	       
	$(".selectwidth1  #wcheckbox-deselect4").click(
		function(event) {
			event.preventDefault();
			$("div#wcheckbox-deselect4").css('display','none');
			$("div#wcheckbox-select4").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
	);
	 $(".selectwidth1 #wcheckbox-select5").click(
	       		function(event) {
	       			event.preventDefault();
	       			$("div#wcheckbox-deselect5").css('display','block');
	       			$("div#wcheckbox-select5").css('display','none');
	       			$(this).parent().find(":checkbox").attr("checked","checked");
	       		}
	       	);
	       
	$(".selectwidth1  #wcheckbox-deselect5").click(
		function(event) {
			event.preventDefault();
			$("div#wcheckbox-deselect5").css('display','none');
			$("div#wcheckbox-select5").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
	);
	 $(".selectwidth1 #wcheckbox-select6").click(
	       		function(event) {
	       			event.preventDefault();
	       			$("div#wcheckbox-deselect6").css('display','block');
	       			$("div#wcheckbox-select6").css('display','none');
	       			$(this).parent().find(":checkbox").attr("checked","checked");
	       		}
	       	);
	       
	$(".selectwidth1  #wcheckbox-deselec6").click(
		function(event) {
			event.preventDefault();
			$("div#wcheckbox-deselect6").css('display','none');
			$("div#wcheckbox-select6").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
	);
	 $(".selectwidth1 #wcheckbox-select7").click(
	       		function(event) {
	       			event.preventDefault();
	       			$("div#wcheckbox-deselect7").css('display','block');
	       			$("div#wcheckbox-select7").css('display','none');
	       			$(this).parent().find(":checkbox").attr("checked","checked");
	       		}
	       	);
	       
	$(".selectwidth1  #wcheckbox-deselect7").click(
		function(event) {
			event.preventDefault();
			$("div#wcheckbox-deselect7").css('display','none');
			$("div#wcheckbox-select7").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
	);
	 $(".selectwidth1 #wcheckbox-select8").click(
	       		function(event) {
	       			event.preventDefault();
	       			$("div#wcheckbox-deselect8").css('display','block');
	       			$("div#wcheckbox-select8").css('display','none');
	       			$(this).parent().find(":checkbox").attr("checked","checked");
	       		}
	       	);
	       
	$(".selectwidth1  #wcheckbox-deselect8").click(
		function(event) {
			event.preventDefault();
			$("div#wcheckbox-deselect8").css('display','none');
			$("div#wcheckbox-select8").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
	);
	 $(".selectwidth1 #wcheckbox-select9").click(
	       		function(event) {
	       			event.preventDefault();
	       			$("div#wcheckbox-deselect9").css('display','block');
	       			$("div#wcheckbox-select9").css('display','none');
	       			$(this).parent().find(":checkbox").attr("checked","checked");
	       		}
	       	);
	       
	$(".selectwidth1  #wcheckbox-deselect9").click(
		function(event) {
			event.preventDefault();
			$("div#wcheckbox-deselect9").css('display','none');
			$("div#wcheckbox-select9").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
	);
	 $(".selectwidth1 #wcheckbox-select10").click(
	       		function(event) {
	       			event.preventDefault();
	       			$("div#wcheckbox-deselect10").css('display','block');
	       			$("div#wcheckbox-select10").css('display','none');
	       			$(this).parent().find(":checkbox").attr("checked","checked");
	       		}
	       	);
	       
	$(".selectwidth1  #wcheckbox-deselect10").click(
		function(event) {
			event.preventDefault();
			$("div#wcheckbox-deselect10").css('display','none');
			$("div#wcheckbox-select10").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
	);
	 $(".selectwidth1 #wcheckbox-select11").click(
	       		function(event) {
	       			event.preventDefault();
	       			$("div#wcheckbox-deselect11").css('display','block');
	       			$("div#wcheckbox-select11").css('display','none');
	       			$(this).parent().find(":checkbox").attr("checked","checked");
	       		}
	       	);
	       
	$(".selectwidth1  #wcheckbox-deselect10").click(
		function(event) {
			event.preventDefault();
			$("div#wcheckbox-deselect11").css('display','none');
			$("div#wcheckbox-select11").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
	);
	 $(".selectwidth1 #wcheckbox-select12").click(
	       		function(event) {
	       			event.preventDefault();
	       			$("div#wcheckbox-deselect12").css('display','block');
	       			$("div#wcheckbox-select12").css('display','none');
	       			$(this).parent().find(":checkbox").attr("checked","checked");
	       		}
	       	);
	       
	$(".selectwidth1  #wcheckbox-deselect12").click(
		function(event) {
			event.preventDefault();
			$("div#wcheckbox-deselect12").css('display','none');
			$("div#wcheckbox-select12").css('display','block');
			$(this).parent().find(":checkbox").removeAttr("checked");
		}
        );
        $(".selectwidth1 #wcheckbox-select13").click(
		       		function(event) {
		       			event.preventDefault();
		       			$("div#wcheckbox-deselect13").css('display','block');
		       			$("div#wcheckbox-select13").css('display','none');
		       			$(this).parent().find(":checkbox").attr("checked","checked");
		       		}
		       	);
		       
		$(".selectwidth1  #wcheckbox-deselect13").click(
			function(event) {
				event.preventDefault();
				$("div#wcheckbox-deselect13").css('display','none');
				$("div#wcheckbox-select13").css('display','block');
				$(this).parent().find(":checkbox").removeAttr("checked");
			}
        );
   });