function count(action,id) {
	counter = document.getElementById('counter' + id);
	teller = counter.value;
	teller = parseInt(teller);

	if ((action == "min") && (teller > 1)) {
		counter.value = teller - 1;
	}
	else if ((action == "plus") && (teller >= 1)) {
		counter.value = teller + 1;
	}
	else if ((action == "check") && (teller >= 1)) {
	}
	else {
		counter.value = 1;
	}
}

function details(url) {
	window.open(url, '_blank', 'status=no, toolbar=no, menubar=no, resizable=no, scrollbars=auto, top=100, left=100, width=450, height=275');
}

function photoUpdate() {

	if (document.getElementById('fileupdate').value != "") {
	document.getElementById('dropdown').value = "change";
	}
	else {
	document.getElementById('dropdown').value = "nochange";
	}

}
