function dropDown() {
	
$(document).ready(function(){
									
  var a;
  var b;

  $("#chromemenu ul li").click(function(){
  var x = $(this).attr("rel");
  var t2 = "#" + x;
  $(t2).insertAfter(this);
  if(a == undefined || a == t2){
	 a = t2; 
  }else{
	  $(a).slideUp(800);
	  a = t2;
  }
  $(t2).slideToggle(800);
  });
   
  $(".dropmenudiv div.test").click(function(){
  $(this).parent().clearQueue();
  var y = $(this).attr("rel");
  var t3 = "#" + y;
  $(t3).appendTo(this);
  if(b == undefined || b == t3){
	 b = t3; 
  }else{
	  $(b).slideUp(500);
	  b = t3;
  }
  $(t3).slideToggle(500);
  });
   
});

}

