
<!--

var winOpen = window;
var winNext = window;

function open_window(thisURL,thisName,thisOption) {
	if(typeof opener != 'undefined') {
		if(opener != null) {
			if(opener.name.indexOf('_SEL.cfm') != -1) {
				if(!winNext.closed) {
					if(winNext.name == thisName.toString()) {
						winNext.close();
					}
				}
				winNext = window.open(thisURL.toString(),thisName.toString(),thisOption.toString());
				winNext.focus();
			}
			else {
				if(!winOpen.closed) {
					if(winOpen.name == thisName.toString()) {
						winOpen.close();
					}
				}
				winOpen = window.open(thisURL.toString(),thisName.toString(),thisOption.toString());
				winOpen.focus();
			}
		}
		else {
			if(!winOpen.closed) {
				if(winOpen.name == thisName.toString()) {
					winOpen.close();
				}
			}
			winOpen = window.open(thisURL.toString(),thisName.toString(),thisOption.toString());
			winOpen.focus();
		}
	}
	else {
		if(!winOpen.closed) {
			if(winOpen.name == thisName.toString()) {
				winOpen.close();
			}
		}
		winOpen = window.open(thisURL.toString(),thisName.toString(),thisOption.toString());
		winOpen.focus();
	}
}

function close_window(thisURL) {
	parent.stop();
	parent.location.href = thisURL.toString();
}

function delete_msg(thisURL) {
	if(confirm('Sind Sie sicher?')) {
		location.href = thisURL.toString();
	}
}

function resize_window(thisX,thisY) {
	if(!winOpen.closed) {
		winOpen.resizeTo(parseInt(thisX),parseInt(thisY));
	}
}

function setFocus() {
	var reservedField = ["fle","str","int","idx","dsc","pws","cal","tme","col"];
	if(document.forms[0].elements.length != 0) {
		for(var i=0;i < document.forms[0].elements.length;i++) {
			for(var j in reservedField) {
				if(reservedField[j] == document.forms[0].elements[i].name.toLowerCase().substring(0,3)) {
					document.forms[0].elements[i].focus();
					return true;
				}
			}
		}
	}
}

window.defaultStatus = 'backslash - artists of multimedia';

//-->

