function pngFix_yellow(image)
{
	if (!image) {
		return;
	}
	var arVersion = navigator.appVersion.split("MSIE");
	var version = parseFloat(arVersion[1]);
	if ((version >= 5.5) && (version < 7) && (document.body.filters) && (image.src.toUpperCase().substring(image.src.length-3, image.src.length) == 'PNG')) {
		image.outerHTML = "<img border=\"0\" id=" + image.id + " style=\"" + "width:" + image.width + "px; height:" + image.height + "px;" + " display:inline-block; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + image.src + "', sizingMethod='image');\"" + "src=\"popup/transparent.gif\" usemap=\"#map_yellow\"" + " style=\"" + "width:" + image.width + "px; height:" + image.height + "px;\"/>"
	}
}

function showPopup_yellow()
{
	var popup_closed = readCookie_yellow('popup_closed_yellow');
	if (popup_closed) {
		return;
	}
	var el = document.getElementById('popup_yellow');
	el.style.visibility = 'visible';
}

function hidePopup_yellow()
{
	var el = document.getElementById('popup_yellow');
	el.style.visibility = 'hidden';
}

function closePopup_yellow()
{
	hidePopup_yellow();
	createCookie_yellow('popup_closed_yellow', 1);
}

function run_yellow()
{
	showPopup_yellow();
}

function createCookie_yellow(name,value,days)
{
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	} else {
		var expires = "";
	}
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie_yellow(name)
{
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') {
			c = c.substring(1,c.length);
		}
		if (c.indexOf(nameEQ) == 0) {
			return c.substring(nameEQ.length,c.length);
		}
	}
	return null;
}

