$(document).ready(function(){  
/* show-hide sub menu */
	var path=document.location.href;
	
	if(
path=="http://iksystems.ru/rus/services/quality_management.php" 
|| path=="http://iksystems.ru/rus/services/food_safety.php"
|| path=="http://iksystems.ru/rus/services/production_management.php"
|| path=="http://iksystems.ru/rus/services/labour_safety.php"
|| path=="http://iksystems.ru/rus/services/environmental_management.php"
|| path=="http://iksystems.ru/rus/services/energy_management.php"
|| path=="http://iksystems.ru/rus/services/integrated_systems.php"
|| path=="http://iksystems.ru/rus/services/training.php"
|| path=="http://iksystems.ru/rus/services/systems_audit.php"
|| path=="http://iksystems.ru/rus/services/certification_support.php"
|| path=="http://iksystems.ru/rus/services/automation.php"
|| path=="http://www.iksystems.ru/rus/services/quality_management.php" 
|| path=="http://www.iksystems.ru/rus/services/food_safety.php"
|| path=="http://www.iksystems.ru/rus/services/production_management.php"
|| path=="http://www.iksystems.ru/rus/services/labour_safety.php"
|| path=="http://www.iksystems.ru/rus/services/environmental_management.php"
|| path=="http://www.iksystems.ru/rus/services/energy_management.php"
|| path=="http://www.iksystems.ru/rus/services/integrated_systems.php"
|| path=="http://www.iksystems.ru/rus/services/training.php"
|| path=="http://www.iksystems.ru/rus/services/systems_audit.php"
|| path=="http://www.iksystems.ru/rus/services/certification_support.php"
|| path=="http://www.iksystems.ru/rus/services/automation.php"
|| path=="http://iksystems.ru/eng/services/quality_managment.php" 
|| path=="http://iksystems.ru/eng/services/food_safety.php"
|| path=="http://iksystems.ru/eng/services/production_managment.php"
|| path=="http://iksystems.ru/eng/services/labour_safety.php"
|| path=="http://iksystems.ru/eng/services/environmental_managment.php"
|| path=="http://iksystems.ru/eng/services/energy_managment.php"
|| path=="http://iksystems.ru/eng/services/training.php"
|| path=="http://iksystems.ru/eng/services/systems_audit.php"
|| path=="http://iksystems.ru/eng/services/businnes_planning.php"
|| path=="http://iksystems.ru/eng/services/automation.php")	
        $(".sub_menu").slideToggle("slow");

  $(".sub").click(function(){
      $(".sub_menu").slideToggle("slow");
      $(this).toggleClass("active"); 
  });
  $(".active").click(function(){
      $(".sub_menu").slideToggle("hide");
      $(this).toggleClass("sub"); 
  });
/* /show-hide sub menu */

/* inputs */
var name = $('#el_1').val();
 $('#el_1').click(function(){
	if($('#el_1').val()==name) 
      $('#el_1').val(""); 
});
 
 $('#el_2').click(function(){
	if($('#el_2').val()=="E-mail") 
      $('#el_2').val(""); 
});

$('#el_1').bind("mouseleave",function(){
          if($('#el_1').val()=='') 
	$('#el_1').val(name);
});
$('#el_2').bind("mouseleave",function(){
          if($('#el_2').val()=='') 
	$('#el_2').val('E-mail'); 
});
/* /inputs */


/* hover for IE6 */
/*
  $(".left-menu li").hover(
      function () {
        $(this).addClass("hover png_bg");
      }, 
      function () {
        $(this).removeClass("hover png_bg");
      }
    );
	*/
 /* /hover for IE6 */ 

});



