/* IE 6 PNG Fix */if (BrowserDetect.browser == "Explorer" && parseInt(BrowserDetect.version) <= 6) {	document.write("<style type='text/css'>\n");	document.write("#cflb-header,#cflb-left,#cflb-right,#cflb-footer{behavior: url(../images/iepngfix.htc);}\n");	document.write("</style>\n");}function removeDiv(div) {	var olddiv = document.getElementById(div); // get container div	olddiv.parentNode.removeChild(olddiv);}function centerDiv(obj,width) {		if (document.all) { // Internet Explorer			screenWidth = document.body.clientWidth;			screenHeight = document.body.clientHeight;		} else { // FF, Opera etc.			screenWidth = window.innerWidth;			screenHeight = window.innerHeight;		}		var yScroll 		= parseInt(document.body.scrollTop)|| parseInt(document.documentElement.scrollTop);		var newScreenWidth 	= parseInt((screenWidth/2) -(width/2));		obj.style.top 		= 60+parseInt(yScroll)+"px";		obj.style.right		= newScreenWidth+"px";}var window_x_src = "images/window_x2.png";function cflb(id, url, width, center,overLay) {	if (!document.getElementById(id)) { // if div has not been created yet.		var newdiv = document.createElement('div');		newdiv.setAttribute('id', id);		newdiv.className 	= 'floatingDiv';		newdiv.style.position 	= "absolute";		newdiv.style.zIndex 	= 999;		newdiv.style.height 	= "350px";		document.body.appendChild(newdiv);				var winInfo = document.createElement('div');		winInfo.setAttribute('id', id+"InfoWindow");		var newHtml =		newdiv.appendChild(winInfo);		// displays veil over body		if (overLay) {displayOverlay();}								if (typeof document.body.style.maxHeight != "undefined") {var xImg = "http://media.worldvision.org/l2/images/window_x2.png";}			else {var xImg = "http://media.worldvision.org/l2/images/window_x2.gif";}			newHtml = '<div id="cflb">';				newHtml += '<div id="cflb-header"><div style="float: right; width: 43px; height: 42px; margin: 3px 5px 0 0; background: url('+xImg+') top left no-repeat; cursor: pointer;" onclick="removeDiv(\''+id+'\');"></div></div>';				newHtml += '<div id="cflb-left"></div>';				newHtml += '<div id="cflb-contents">';					newHtml += '<iframe height="450" width="850" name="iFrame'+id+'" id="iFrame'+id+'" frameborder="0" src="'+url+'" scrolling="auto"></iframe>';				newHtml += '</div>';				newHtml += '<div id="cflb-right"></div><div style="clear: both;"></div>';				newHtml += '<div id="cflb-footer"></div>';			newHtml += '</div>';		document.getElementById(id).innerHTML = newHtml;	}	// set width and center div is requested	if (width) {		document.getElementById(id).style.width = width+"px";		if (center) {			centerDiv(document.getElementById(id),width);		}	}	correctPNG();}function createIframe(html) {	var iframe = document.getElementById('shadowIframe');	if (iframe && iframe.contentDocument) {		iframeDoc = iframe.contentDocument;	}	else if (iframe && iframe.contentWindow) {		iframeDoc = iframe.contentWindow.document;	}	else if (iframe && window.frames[iframe.name]) {		iframeDoc = window.frames[iframe.name].document;	}	if (iframeDoc) {		iframeDoc.open();		iframeDoc.write('<html><head><link rel="stylesheet" type="text/css" href="styles_nonflash.css" /></head><body class="iFrame">'+GLOBAL_SHADOW_CONTENT+'<\/body><\/html>');		iframeDoc.close();		if (html) {			html.innerHTML = ""; // set it to nothing, then set it back when we're done.		}	}}function swapImg(oImg,newSrc) {oImg.src = newSrc;}var opacity = 10;setOpacity = function(id,intVal)	{	//document.getElementById("blah").innerHTML += "<br />"+intVal;	var e = document.getElementById(id);	e.style.opacity = intVal/10;	e.style.filter = 'alpha(opacity=' + intVal*10 + ')';}