// JavaScript Document
function loadImages(){
	if (document.images){
 img1= new Image();
img1.src="http://iec.md/img/exch_btn.jpg";
 img2= new Image();
img2.src="http://iec.md/img/menu_link1.jpg";
 img3= new Image();
img3.src="http://iec.md/img/menu_link2.jpg";
 img4= new Image();
img4.src="http://iec.md/img/ro_flag.jpg";
 img6= new Image();
img6.src="http://iec.md/img/ru_flag.jpg";
 img7= new Image();
img7.src="http://iec.md/img/pic1.jpg";
  img8= new Image();
img8.src="http://iec.md/img/pic2.jpg";
 img9= new Image();
img9.src="http://iec.md/img/usa_map.jpg";
 img10= new Image();
img10.src="http://iec.md/img/img_holder_bg.jpg";
 img11= new Image();
img11.src="http://iec.md/new_year.jpg";
	}
}

	 function activeSection(check){
		  className = 'link_active';
		  elem = document.getElementById(check);
		 elem.setAttribute("class",className);
		 elem.setAttribute("className",className);
		 
		 }
		 
jQuery(document).ready(function() {		 
		 jQuery(function() {
// set opacity to nill on page load
jQuery("a#exchange span").css("opacity","0");

// on mouse over
jQuery("a#exchange span").hover(function () {
// animate opacity to full
jQuery(this).stop().animate({
opacity: 1
}, 'slow');
},
// on mouse out
function () {
// animate opacity to nill
jQuery(this).stop().animate({
opacity: 0
}, 'slow');
				});
			
jQuery('div#menu ul li a').css( {backgroundPosition: "0 0"} );
jQuery('div#menu ul li a').mouseover(function(){
		jQuery(this).stop().animate(
			{backgroundPosition:"(0 -125px)"}, 
			{duration:400})
		})
	.mouseout(function(){
		jQuery(this).stop().animate(
			{backgroundPosition:"(0 0)"}, 
			{duration:300})
		})
 });
});
 /*jQuery('#a a')
 .css( {backgroundPosition: "-20px 35px"} )
 .mouseover(function(){
 jQuery(this).stop().animate({backgroundPosition:"(-20px 94px)"}, {duration:500})
 })
.mouseout(function(){
jQuery(this).stop().animate({backgroundPosition:"(40px 35px)"}, {duration:200, complete:function(){
jQuery(this).css({backgroundPosition: "-20px 35px"})
}})
 })
 jQuery('#b a')
 .css( {backgroundPosition: "0 0"} )
 .mouseover(function(){
 jQuery(this).stop().animate({backgroundPosition:"(-150px 0)"}, {duration:500})
 })
 .mouseout(function(){
 jQuery(this).stop().animate({backgroundPosition:"(-300px 0)"}, {duration:200, complete:function(){
 jQuery(this).css({backgroundPosition: "0 0"})
 }})
 })
 jQuery('#c a')
 .css( {backgroundPosition: "0 0"} )
 .mouseover(function(){
 jQuery(this).stop().animate({backgroundPosition:"(0 -250px)"}, {duration:500})
 })
 .mouseout(function(){
 jQuery(this).stop().animate({backgroundPosition:"(0 0)"}, {duration:500})
 })*/

		
		 
