/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
if (!document.getElementById) {
	if (document.all)
		document.getElementById=function() {
		if ( typeof(document.all[arguments[0]]) != "undefined")
			return document.all[arguments[0]];
		else
			return null;
		}
	else if (document.layers)
		document.getElementById=function() {
			if ( typeof(document[arguments[0]]) != "undefined")
				return document[arguments[0]];
			else
				return null;
	}
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
function resizeFlash () {

	var ele = document.getElementById('flashcontent');

	if (!ele) {
		return false;
	}

	if (window.innerWidth && window.innerHeight) {
		w = window.innerWidth;
		h = window.innerHeight;
	} else {
		w = window.screen.width;
		h = window.screen.height;
	}

	if (w && h) {

		if (w < 950) {
			w = "950px";
		} else {
			w = "100%";
		}

		if (h < 600) {
			h = "600px";
		} else {
			h = "100%";
		}

		ele.style.width = w;
		ele.style.height = h;

		if (w == "100%" && h == "100%") {
			document.body.style.overflow = "hidden";
		} else {
			document.body.style.overflow = "auto";
		}
	}
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
//window.onresize = resizeFlash;
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/