function openWin(uri,w,h,l,t,_options)
	{
		if (!uri) return false;
		if (!w) w=400;
		if (!h) h=500;
		if (!l) l=10;
		if (!t) t=10;
		if (!_options)	_options='scrollbars=no,resizable=1,status=1';
		window.open(uri,"_blank","width="+w+",height="+h+",left="+l+",top="+t+","+_options) 
	}


function changeImageFromParent(uri,_this)
	{
		if (!uri) return false;

		if (_this && _this.firstChild && _this.firstChild.tagName && _this.firstChild.tagName.toLowerCase) //DOM ?
			{
				if (_this.firstChild.tagName.toLowerCase() == 'img') // <img... ?
				_this.firstChild.src = uri;//set src="...">
				return true;
			}

		//IE 4+ (?)
		if (!window || !window.event || !window.event.srcElement || !window.event.srcElement.tagName) return false;
		if (window.event.srcElement.tagName.toLowerCase() != 'img') return false;
		window.event.srcElement.src = uri;
		return true;
	}
	
function changeImageFromSubmit(uri,_this)
	{
		if (uri && _this && _this.src) _this.src = uri;
	}