
function zoom(p, w, h) {
	pic = window.open('_blank', 'pic', 'width='+w+', height='+h+', resizable=1');
	pic.document.write('<html><head><title>&copy; Candy Froggie</title></head>'
			+ '<body style="margin:0px;background-image:url('+p+');background-repeat:no-repeat" '
			+ 'onclick="self.close();"></body></html>');
	pic.document.close();
	pic.focus();
}


function writeMlx() {
	document.write ('<a href="javascript:mlx();" '
			+ 'title="blo'
			+ 'g&#6'
			+ '4;candy'
			+ 'froggie.'
			+ 'co'
			+ 'm">Em'
			+ 'ai'
			+ 'l</a>');
}

function mlx() {
	window.location.href 	= 'mai'
				+ 'lt'
				+ 'o:'
				+ 'bl'
				+ 'og'
				+ '@'
				+ 'candy'
				+ 'froggie'
				+ '.c'
				+ 'om';
}

function adjust() {
	var w = 1000;
	if (window.innerWidth) {
		w = window.innerWidth;
	} else if (document.body && document.body.offsetWidth) {
		w = document.body.offsetWidth;
	} else if (window.screen && window.screen.availableWidth) {
		w = window.screen.availableWidth;
	}
	if (w < 1000) {
		var col = document.getElementById('column');
		col.style.position='static';
		col.style.top='auto';
		col.style.left='auto';
		col.style.float='right';
		var out = document.getElementById('outer');
		out.style.backgroundImage='none';
	}
}

