window.onload = function() {
	// plain text links -- attach onclick handler
	/*links = window.document.getElementById("coreQuickAccess").getElementsByTagName( "a" );
    for(i=0;i<links.length;i++) {
		if( links[i].id.match( /ext/ ) ) {
			links[i].onclick = function () {externalLink(this); return false;}			
		}
	}*/

	// comboboxes -- attach eventhandler
	if( window.document.getElementById('coreQuickAccess') ) {
		root = window.document.getElementById('coreQuickAccess');
		selects = root.getElementsByTagName("select");
		for( i=0;i<selects.length;i++ ) {
			sel = selects[i];
			sel.onchange = function() {
				opts = this.getElementsByTagName( "option" );
				selOpt = opts[this.selectedIndex];
				if( selOpt.value != "#" && selOpt.value != "" ) {
					linktype = selOpt.id;
					if( linktype.match( /int/ ) )  
						location.href = selOpt.value;
					else if( linktype.match( /ext/ ) ) {
						a = window.open(selOpt.value, "","" );
						a.focus();
					}
				}
			}
		}
	}
}        