var IAMPMemList= false;
var ICMPPay= false;
var Election=false;

function IAMPStart() {
	if (!IAMPMemList || IAMPMemList.closed) {
		IAMPMemList= open("http://svsdb.informatik.uni-mainz.de/cgi-bin/cwcgi.exe?Service=IAMP", "IAMPMembList",
		"width=950,height=750,resizable=yes, left=100, top=100, menubar=no,scrollbars,hotkeys=no,dependent=yes, status=yes");
		IAMPMemList.focus()
	}
	else	alert("Only one instance of this application can be run at a time.")
}


function IAMPTestStart() {
	if (!IAMPMemList || IAMPMemList.closed) {
		IAMPMemList= open("http://svsdb.informatik.uni-mainz.de/cgi-bin/cwcgi.exe?Service=IAMP&TEST=Y&ID=OKFFLMACBH", "IAMPMembList",
		"width=950,height=750,resizable=yes, left=100, top=100, menubar=no,scrollbars,hotkeys=no,dependent=yes, status=yes");
		IAMPMemList.focus()
	}
	else	alert("Only one instance of this application can be run at a time.")
}

function ICMPStart() {
	if (!ICMPPay || ICMPPay.closed) {
		ICMPPay= open("http://svsdb.informatik.uni-mainz.de/cgi-bin/cwcgi.exe?Service=IAMP&Form=frmICMPFee", "ICMPPay",
		"width=860,height=720,resizable=yes, left=100, top=100, menubar=no,scrollbars,hotkeys=no,dependent=yes, status=yes");
		ICMPPay.focus()
	}
	else	alert("Only one instance of this application can be run at a time.")
}

function ElectStart() {
	if (!Election || Election.closed) {
		Election= open("http://svsdb.informatik.uni-mainz.de/cgi-bin/cwcgi.exe?Service=E-Election&APPL=EL2008&ID=IAMP-Election2008&LA=ENG&NR=1600&KEY=JBHNECBGKM", "Election",
		"width=960,height=800,resizable=yes, left=100, top=100, menubar=no,scrollbars,hotkeys=no,dependent=yes, status=yes");
		Election.focus()
	}
	else	alert("Only one instance of this application can be run at a time.")
}


