function submitSimply(destination){
	document.blog.action = destination;
	document.blog.submit(true);
	return false;
}

function submitWithM(destination, m){
	document.blog.action = destination;
	document.blog.m.value = m;
	document.blog.submit(true);
	return false;
}

function submitWithC(destination, c){
	document.blog.action = destination;
	document.blog.c.value = c;
	document.blog.m.value = 3;
	document.blog.b.value = '';
	document.blog.submit(true);
	return false;
}

function submitWithD(destination){
	if(document.blog.d.value != '-'){
		document.blog.action = destination;
		document.blog.m.value = 3;
		document.blog.b.value = '';
		document.blog.submit(true);
	}
	return false;
}

function submitWithR(destination, r){
	document.blog.action = destination;
	document.blog.r.value = r;
	document.blog.submit(true);
	return false;
}

function submitForComment(destination, b){
	document.blog.action = destination;
	document.blog.b.value = b;
	document.blog.m.value = 4;
	document.blog.submit(true);
	return false;
}

function smiley(icon) {
    wContents = document.getElementById("wContents");
	icon = ' ' + icon + ' ';
	wContents.value += icon;
}

