$(document).ready(function () {
if ($.browser.msie && $.browser.version == 6) {
   top.location="ie6.html"
} 


  // ------- Уголки -------
  $(".corn").corner("3px");
  // ------- Уголки ------- 
  
$("#flag_by").mouseover(function(){
  $(".flag_by").css("margin-left","-9px");  

  $(".flag_by").animate({ 
    width:"199px",
	top:"370px",
    opacity: 5
  }, 100 );   
});
$("#flag_by").mouseout(function(){   
   $(".flag_by").animate({  
	width:"199px",   
	top: "350px",
    opacity: -1
	}, 50 );      
});
  
// PK
$("#flag_pk").mouseover(function(){
  $(".flag_pk").css("margin-left","54px");  
  $(".flag_pk").animate({ 
    width:"189px",
	top:"370px",
    opacity: 5
  }, 100 );   
 });
$("#flag_pk").mouseout(function(){   
   $(".flag_pk").animate({  
	width:"189px",   
	top: "350px",
    opacity: -1
	}, 50 );      
}); 
// KH
$("#flag_kh").mouseover(function(){
  $(".flag_kh").css("margin-left","111px");    
  $(".flag_kh").animate({ 
    width:"189px",
	top:"370px",
    opacity: 5
  }, 100 );   
});
 $("#flag_kh").mouseout(function(){   
   $(".flag_kh").animate({  
	width:"189px",   
	top: "350px",
    opacity: -1
	}, 50 );      
  });
// AZ
 $("#flag_az").mouseover(function(){
 $(".flag_az").css("margin-left","169px");    
  $(".flag_az").animate({ 
    width:"189px",
	top:"370px",
        opacity: 5
  }, 100 );   
 });
 $("#flag_az").mouseout(function(){   
   $(".flag_az").animate({  
	width:"189px",   
	top: "350px",
    opacity: -1
	}, 50 );      
  });
// NG
 $("#flag_ng").mouseover(function(){
 $(".flag_ng").css("margin-left","228px");    
  $(".flag_ng").animate({ 
    width:"189px",
	top:"370px",
        opacity: 5
  }, 100 );   
 });
 $("#flag_ng").mouseout(function(){   
   $(".flag_ng").animate({  
	width:"189px",   
	top: "350px",
    opacity: -1
	}, 50 );      
  });
  
// KE
 $("#flag_ke").mouseover(function(){
 $(".flag_ke").css("margin-left","287px");    
  $(".flag_ke").animate({ 
    width:"189px",
	top:"370px",
        opacity: 5
  }, 100 );   
 });
 $("#flag_ke").mouseout(function(){   
   $(".flag_ke").animate({  
	width:"189px",   
	top: "350px",
    opacity: -1
	}, 50 );      
  });

  
$("#mts").mouseover(function(){
  $(".mts").css("left","72px");    
  $(".mts").animate({ 
    width:"120px",
	height:"50px",
	top:"527px",
    opacity: 5
  }, 100 );   
});
$("#mts").mouseout(function(){   
   $(".mts").animate({  
	top: "527px",
    opacity: -1
	}, 50 );      
});  

$("#velcom").mouseover(function(){
  $(".velcom").css("left","179px");   
  $(".velcom").animate({ 
    width:"120px",
	height:"50px",
	top:"527px",
    opacity: 5
  }, 100 );   
});
$("#velcom").mouseout(function(){   
   $(".velcom").animate({  
	width:"120px",   
	top: "527px",
    opacity: -1
	}, 50 );      
}); 

$("#life").mouseover(function(){
  $(".life").css("left","287px");    
  $(".life").animate({ 
    width:"120px",
	height:"50px",
	top:"527px",
    opacity: 5
  }, 100 );   
});
$("#life").mouseout(function(){   
   $(".life").animate({  
	width:"120px",   
	top: "527px",
    opacity: -1
	}, 50 );      
}); 

$("#diallog").mouseover(function(){
  $(".diallog").css("left","380px");  
  $(".diallog").animate({ 
    width:"120px",
	height:"50px",
	top:"527px",
    opacity: 5
  }, 100 );   
});
$("#diallog").mouseout(function(){   
   $(".diallog").animate({  
	width:"120px",   
	top: "527px",
    opacity: -1
	}, 50 );      
}); 

$("#diallog2").mouseover(function(){
  $(".diallog2").css("left","475px");  
  $(".diallog2").animate({ 
    width:"120px",
	height:"50px",
	top:"527px",
    opacity: 5
  }, 100 );   
});
$("#diallog2").mouseout(function(){   
   $(".diallog2").animate({  
	width:"120px",   
	top: "527px",
    opacity: -1
	}, 50 );      
}); 

$("#smart").mouseover(function(){
  $(".smart").css("left","557px");  
  $(".smart").animate({ 
    width:"120px",
	height:"50px",
	top:"527px",
    opacity: 5
  }, 100 );   
});
$("#smart").mouseout(function(){   
   $(".smart").animate({  
	width:"120px",   
	top: "527px",
    opacity: -1
	}, 50 );      
}); 

$("#metfone").mouseover(function(){
  $(".metfone").css("left","654px");  
  $(".metfone").animate({ 
    width:"120px",
	height:"50px",
	top:"527px",
    opacity: 5
  }, 100 );   
});
$("#metfone").mouseout(function(){   
   $(".metfone").animate({  
	width:"120px",   
	top: "527px",
    opacity: -1
	}, 50 );      
}); 

$("#nar").mouseover(function(){
  $(".nar").css("left","63px");   
 $(".nar").animate({ 
    width:"120px",
	height:"50px",
	top:"625px",
    opacity: 5
  }, 100 );
});
$("#nar").mouseout(function(){   
   $(".nar").animate({  
	width:"120px",   
	top: "625px",
    opacity: -1
	}, 50 );      
}); 

$("#azercell").mouseover(function(){
  $(".azercell").css("left","165px");   
 $(".azercell").animate({ 
    width:"120px",
	height:"50px",
	top:"605px",
    opacity: 5
  }, 100 );
});
$("#azercell").mouseout(function(){   
   $(".azercell").animate({  
	width:"120px",   
	top: "605px",
    opacity: -1
	}, 50 );      
}); 

$("#bakcell").mouseover(function(){
  $(".bakcell").css("left","278px");   
 $(".bakcell").animate({ 
    width:"120px",
	height:"50px",
	top:"605px",
    opacity: 5
  }, 100 );
});
$("#bakcell").mouseout(function(){   
   $(".bakcell").animate({  
	width:"120px",   
	top: "605px",
    opacity: -1
	}, 50 );      
}); 

$("#glo").mouseover(function(){
  $(".glo").css("left","373px");
 $(".glo").animate({ 
    width:"120px",
	height:"50px",
	top:"625px",
    opacity: 5
  }, 100 );
});
$("#glo").mouseout(function(){  
   $(".glo").animate({  
	width:"120px",   
	top: "625px",
    opacity: -1
	}, 50 );      
}); 

$("#visafone").mouseover(function(){
  $(".visafone").css("left","464px");  
  $(".visafone").animate({ 
    width:"120px",
	height:"50px",
	top:"615px",
    opacity: 5
  }, 100 );   
});
$("#visafone").mouseout(function(){   
   $(".visafone").animate({  
	width:"120px",   
	top: "615px",
    opacity: -1
	}, 50 );      
}); 

$("#MTN").mouseover(function(){
  $(".MTN").css("left","557px");  
  $(".MTN").animate({ 
    width:"120px",
	height:"50px",
	top:"622px",
    opacity: 5
  }, 100 );   
});
$("#MTN").mouseout(function(){   
   $(".MTN").animate({  
	width:"120px",   
	top: "622px",
    opacity: -1
	}, 50 );      
}); 

$("#etisalat").mouseover(function(){
  $(".etisalat").css("left","655px");
 $(".etisalat").animate({ 
    width:"120px",
	height:"50px",
	top:"615px",
    opacity: 5
  }, 100 );
});
$("#etisalat").mouseout(function(){  
   $(".etisalat").animate({  
	width:"120px",   
	top: "615px",
    opacity: -1
	}, 50 );      
}); 

$("#airtel").mouseover(function(){
  $(".airtel").css("left","140px");
 $(".airtel").animate({ 
    width:"120px",
	height:"50px",
	top:"715px",
    opacity: 5
  }, 100 );
});
$("#airtel").mouseout(function(){  
   $(".airtel").animate({  
	width:"120px",   
	top: "715px",
    opacity: -1
	}, 50 );      
}); 

$("#safaricom").mouseover(function(){
  $(".safaricom").css("left","234px");
 $(".safaricom").animate({ 
    width:"120px",
	height:"50px",
	top:"695px",
    opacity: 5
  }, 100 );
});
$("#safaricom").mouseout(function(){  
   $(".safaricom").animate({  
	width:"120px",   
	top: "695px",
    opacity: -1
	}, 50 );      
}); 






$("#SMS").mouseover(function(){
  $(".SMS").css("left","209px");  

  $(".SMS").animate({ 
    width:"120px",
	top:"1005px",
    opacity: 5
  }, 50 );   
});
$("#SMS").mouseout(function(){   
   $(".SMS").animate({  
	width:"120px",   
	top: "1010px",
    opacity: -1
	}, 50 );      
}); 

$("#MMS").mouseover(function(){
  $(".MMS").css("left","272px");  

  $(".MMS").animate({ 
    width:"120px",
	top:"1005px",
    opacity: 5
  }, 50 );   
});
$("#MMS").mouseout(function(){   
   $(".MMS").animate({  
	width:"120px",   
	top: "1010px",
    opacity: -1
	}, 50 );      
}); 

$("#DSTK").mouseover(function(){
  $(".DSTK").css("left","340px");  

  $(".DSTK").animate({ 
    width:"120px",
	top:"1005px",
    opacity: 5
  }, 50 );   
});
$("#DSTK").mouseout(function(){   
   $(".DSTK").animate({  
	width:"120px",   
	top: "1005px",
    opacity: -1
	}, 50 );      
});

$("#STK").mouseover(function(){
  $(".STK").css("left","416px");  

  $(".STK").animate({ 
    width:"120px",
	top:"1005px",
    opacity: 5
  }, 50 );   
});
$("#STK").mouseout(function(){   
   $(".STK").animate({  
	width:"120px",   
	top: "1010px",
    opacity: -1
	}, 50 );      
});

$("#WAP").mouseover(function(){
  $(".WAP").css("left","477px");  

  $(".WAP").animate({ 
    width:"120px",
	top:"1005px",
    opacity: 5
  }, 50 );   
});
$("#WAP").mouseout(function(){   
   $(".WAP").animate({  
	width:"120px",   
	top: "1010px",
    opacity: -1
	}, 50 );      
});

$("#IVR").mouseover(function(){
  $(".IVR").css("left","310px");  

  $(".IVR").animate({ 
    width:"120px",
	top:"1030px",
    opacity: 5
  }, 50 );   
});
$("#IVR").mouseout(function(){   
   $(".IVR").animate({  
	width:"120px",   
	top: "1040px",
    opacity: -1
	}, 50 );      
});

$("#USSD").mouseover(function(){
  $(".USSD").css("left","375px");  

  $(".USSD").animate({ 
    width:"120px",
	top:"1030px",
    opacity: 5
  }, 50 );   
});
$("#USSD").mouseout(function(){   
   $(".USSD").animate({  
	width:"120px",   
	top: "1040px",
    opacity: -1
	}, 50 );      
});

$("#ICB").mouseover(function(){
  $(".ICB").css("left","440px");  

  $(".ICB").animate({ 
    width:"120px",
	top:"1030px",
    opacity: 5
  }, 50 );   
});
$("#ICB").mouseout(function(){   
   $(".ICB").animate({  
	width:"120px",   
	top: "1040px",
    opacity: -1
	}, 50 );      
});

$("#RBT").mouseover(function(){
  $(".RBT").css("left","500px");  

  $(".RBT").animate({ 
    width:"120px",
	top:"1030px",
    opacity: 5
  }, 50 );   
});
$("#RBT").mouseout(function(){   
   $(".RBT").animate({  
	width:"120px",   
	top: "1040px",
    opacity: -1
	}, 50 );      
});


brown_theme_text = '<h3>VAS & New Media Provider<br />Mobile & Interactive Marketing Agency<br />OÜ BAMBOO GROUP</h3><p>Ahtri 10B, 10151 Tallinn, Estonia (EU)<br /><span class="phone">+375 29 699 00 99<br />+372 55 988 822</span><br />info@bam-boo.mobi</p>';	  

map_text = '<img src="img/map/map.png" alt="map"  />';	  

structure_text = '<img src="./img/structure/structure_full.gif" alt="Structure" />';	
	  
});
