/**
 * Knuchel Farben AG
 *
 * Copyright (c) 2008 PROMACX AG (promacx.ch)
 *
 */

jQuery(document).bind('ready', function (){
	jQuery('#LinesMap area').bind("mouseover",function (){
		if(!jQuery("#pmx-hider").attr("id")){
			
			var html = jQuery("#Content").append('<div id="pmx-hider" style="position:absolute;top:170px;width:680px; height:410px;background-color:white;">&nbsp;</div>');
		}else{
			jQuery("#pmx-hider").show();
		}
		jQuery('.pagetitle span').html("&nbsp;");
		jQuery('#' + jQuery(this).attr('class')).fadeIn(500);
		//alert(jQuery('#ColorLine .pagetitle').html());
	});
	jQuery('#LinesMap area').bind("mouseout",function (){
		
		jQuery('#' + jQuery(this).attr('class')).fadeOut(300); /**/
	});
	jQuery('#LinesMap').bind("mouseout",function (){
		/*jQuery("#pmx-hider").fadOut(300);*/
		jQuery("#pmx-hider").hide();
		 
	});
		
	/*
	jQuery('#LinesMap area').hover(function (){
		if(!jQuery("#pmx-hider").attr("id")){
			
			var html = jQuery("#Content").append('<div id="pmx-hider" style="position:absolute;top:170px;width:680px; height:420px;background-color:white;">&nbsp;</div>');
		}
		 
		jQuery('#' + jQuery(this).attr('class')).fadeIn(1000);
	}, function (){
		jQuery("#pmx-hider").hide(1);
		jQuery("#pmx-hider").remove();
		jQuery('#' + jQuery(this).attr('class')).fadeOut(1);
	});
	*/
	
});

