function FC_Rendered(DOMId) {
	if (DOMId=="Map1Id"){
		/* map is ready to use */		
		return;
	}
}

function mapClick(id) {
	$('div#standorte').load(globals.url + '/modules/unternehmen/standorte/includes/liste.cfm?ortid=' + id + '&jsp=true',scrollbottom());
	
}


// runterscrollen nach dem laden. Funktioniert nicht wirklich schön. VERBESSERN!!! -> jb
function scrollbottom(){

	
	/*var bodyheight = $('body').css("height").replace(/px/g,"");
	var scrolltop = (document.body.scrollHeight);
	
	$('html')
        .animate({scrollTop: scrolltop}, 3000);*/
		
	window.scrollTo(0,10000);
}

function newMapClick(url) {
	document.location.href= globals.url + "/go/" + url;
}

