

$(document).ready(function() {
	$('#m2 a.m2a').mouseover(function() {
		$('#sm2').show();
	}).mouseout(function(){
		$('#sm2').hide();
	});
	
	$('#sm2').mouseover(function() { 
		$(this).show();
	}).mouseout(function(){
		$(this).hide();		
	});
	
	$('#m3 a.m3a').mouseover(function() {
		$('#sm3').show();
	}).mouseout(function(){
		$('#sm3').hide();
	});
	
	$('#sm3').mouseover(function() { 
		$(this).show();
	}).mouseout(function(){
		$(this).hide();		
	});
	
	$('#m4 a.m4a').mouseover(function() {
		var screenWidth = screen.width;
		if(screenWidth<1400){
			$('#sm4').css("margin-left","-172px");
		}
		$('#sm4').show();
	}).mouseout(function(){
		$('#sm4').hide();
	});
	
	$('#sm4').mouseover(function() { 
		var screenWidth = screen.width;
		if(screenWidth<1400){
			$('#sm4').css("margin-left","-172px");
		}
		$('#sm4').show();
	}).mouseout(function(){
		$(this).hide();		
	});
});
