function sendPost(action, name1, value1){
	form = "<form method='POST' id='postform' action='"+action+"'>";
	for( i = 1 ; i < arguments.length ; i += 2)
		form += "<input type='hidden' name='"+arguments[i]+"' value='"+arguments[i+1]+"'>";
	form += "</form>";
	document.body.innerHTML += form;
	document.getElementById( 'postform' ).submit();
}