function showcontainer() {
if (document.layers) {document.container.visibility = 'show'; }
	else if (document.all) { document.all.container.style.visibility = 'visible'; };
}
function ihide(target) {
if (document.layers) {document.layers.container.document[target].visibility = 'hide'; }
	else if (document.all) { document.all[target].style.visibility = 'hidden'; };
}
function ishow(target) {
if (document.layers) {document.layers.container.document[target].visibility = 'show'; }
	else if (document.all) { document.all[target].style.visibility = 'visible'; };
}
function miGlow(target) {
	ishow('hl-'+target);
	ishow('bullet-'+target);
}
function miShade(target) {
	ihide('hl-'+target);
	ihide('bullet-'+target);
}
function btGlow(target) {
	ishow('bt-bullet-'+target);
}
function btShade(target) {
	ihide('bt-bullet-'+target);
}

function center() {
	if (document.all) {
		mx = document.body.clientWidth; my = document.body.clientHeight;
	}
	else {
		mx = window.innerWidth; my = window.innerHeight;
	}
	mx -= 735;
	if (mx <= 0) {mx = 0} else {mx = mx/2};
	my -= 388;
	if (my <= 0) {my = 0} else {my = my/2};

	if (document.layers) {
		document['container'].left = parseInt(mx);
		document['container'].top = parseInt(my);
	}
	else if (document.all) {
		document.all['container'].style.left = parseInt(mx);
		document.all['container'].style.top = parseInt(my);
	};
}

function start() {
	center();
	showcontainer();
	if (document.layers) {
		OrigWidth  = window.innerWidth;
		OrigHeight = window.innerHeight;
		window.onresize = function (){
    		if (window.innerWidth == OrigWidth && window.innerHeight == OrigHeight) return;
			window.history.go(0);
			center();
		}
	}
	else if (document.all) {
		window.onresize = function (){
		center();
		}
	}
}
