/*
	Handles the initial selection of the ace
*/

jgis.ace = new Object();


jgis.ace.init = function (){
		// Name ist im template vergeben
		var list = xbGetElementById("jgis-ace-list");
		for ( var i=0; i < list.options.length; i++){
			var opt = list.options[i];
			if ( opt.value == jgis.ace ) {
				opt.selected = true; 
				return;
			}
		}
	}

jgis.registerInitFunction(jgis.ace.init);
