// JavaScript Document
var password;
function create_account(b) {
	a = $("#choose_password");
	if(b) a.fadeIn("slow"); else a.fadeOut("slow");
}
function add_more(id) {
	$("#a-addmore"+id).hide();
	$("#a-remove"+id).show();
	id= (id*1) + 1;
	appendDOM("template","div_upload",id);
	a = $("#div_"+id); a.hide(); a.fadeIn("slow");
	_get("count").value = id;
}
function remove(id) {
	a = $("#div_"+id); a.fadeOut("slow");
	setTimeout(function() { removeDOM("div_"+id) },1000);
}