function mailer(to, subject, body)
{
	to = 'znvygb;' + to;
	to = to.replace(/\*/, '@');
	to = to.replace(/\:/, '.');
	to = to.replace(/\;/, ':');
	to = to.rot13();
	if (typeof subject == 'string') {
		to += '?subject=' + subject + '&';
	}
	if (typeof body == 'string') {
		to += 'body=' + body + '&';
	}
	if (confirm('メールを作成しますか？')) {
		location.href = to;
	}
}
String.prototype.rot13 = function() {
	return this.replace(/[a-z]/ig, function(c) {
		var n;
		return String.fromCharCode((n = c.charCodeAt(0) + 13) > (c <= 'Z' ? 90 : 122) ? n - 26 : n);
	});
};

