var wnd
var upwnd

function rollover(obj) {
  obj.style.backgroundImage='url(/images/tastob.jpg)';
  }

function rollout(obj) {
  obj.style.backgroundImage='url(/images/tastoa.jpg)';
  }

function cellrollover(obj) {
  obj.style.backgroundColor='#FFD7B3';
  }

function cellrollout(obj) {
  obj.style.backgroundColor='';
  }

function closewindows() {
	if (wnd != null) {
		if (!wnd.closed) {wnd.close()}
	}
	if (upwnd != null) {
		if (!upwnd.closed) {upwnd.close()}
	}
	}

function openwindow(url, name) {
	wnd = null;
	wnd = open(url, name,'width=500,height=500,resizable=yes,status=yes,scrollbars=yes');
	//wnd.document.bgColor = '#000000';
	}

function uploadwindow(url, name) {
	if (upwnd != null) {
		if (!upwnd.closed) {upwnd.close()}
	}
	setTimeout('upwnd = window.open(\''+url+'\', \''+name+'\',\'width=230,height=80,resizable=no,status=yes\');',100)
	}

function deletefoto(foto) {
	eval('document.Form'+foto+'.Action.value=\'Delete\'');
	eval('document.Form'+foto+'.submit()');
	}

