
var loadingAnimation = '<p class="centr"><br /><br /><img src="'+IMGPATH+'ajax-loader.gif" alt="" /><br /><br /></p>';
var loadingAnimationRound = '<p class="centr"><br /><br /><img src="'+IMGPATH+'ajax-loader-round.gif" alt="" /><br /><br /></p>';

/* ********************************* */
/* *** LOADERS FOR /meinprofil/  *** */
/* ********************************* */
function aLoader_ProfileUebermich() {
	$("ul#meinprofilbox_rulernavi li").removeClass("active");
	$("li#meinprofilbox_rulernavi_uebermich").addClass("active");

	$("div#meinprofilbox_content").html(loadingAnimation);
	$("div#meinprofilbox_content").load( 
			AJAXPATH+"meinprofil-uebermich.php",
			"",	
			function() { 
			}
	);
}
function aLoader_ProfileMeinefotos() {
	$("ul#meinprofilbox_rulernavi li").removeClass("active");
	$("li#meinprofilbox_rulernavi_meinefotos").addClass("active");

	$("div#meinprofilbox_content").html(loadingAnimation);
	$("div#meinprofilbox_content").load( 
			AJAXPATH+"meinprofil-meinefotos.php",
			"",	
			function() { 
			}
	);
}
function aLoader_ProfileVorlieben() {
	$("ul#meinprofilbox_rulernavi li").removeClass("active");
	$("li#meinprofilbox_rulernavi_vorlieben").addClass("active");

	$("div#meinprofilbox_content").html(loadingAnimation);
	$("div#meinprofilbox_content").load( 
			AJAXPATH+"meinprofil-vorlieben.php",
			"",	
			function() { 
			}
	);
}
function aLoader_ProfileTestergebnis() {
	$("ul#meinprofilbox_rulernavi li").removeClass("active");
	$("li#meinprofilbox_rulernavi_testergebnis").addClass("active");

	$("div#meinprofilbox_content").html(loadingAnimation);
	$("div#meinprofilbox_content").load( 
			AJAXPATH+"meinprofil-testergebnis.php",
			"",	
			function() { 
			}
	);
}


/* ********************************* */
/* *** LOADERS FOR /nachrichten/  *** */
/* ********************************* */
function aLoader_NachrichtenPosteingang(iRecentPage) {
	$("ul#nachrichtenbox_rulernavi li").removeClass("active");
	$("li#nachrichtenbox_rulernavi_posteingang").addClass("active");

	$("div#nachrichtenbox_content").html(loadingAnimation);
	$("div#nachrichtenbox_content").load( 
			AJAXPATH+"nachrichten-posteingang.php",
			"irecentpage="+iRecentPage,	
			function() {
			}
	);
	
}
function aLoader_NachrichtenPostausgang(iRecentPage) {
	$("ul#nachrichtenbox_rulernavi li").removeClass("active");
	$("li#nachrichtenbox_rulernavi_postausgang").addClass("active");

	$("div#nachrichtenbox_content").html(loadingAnimation);
	$("div#nachrichtenbox_content").load( 
			AJAXPATH+"nachrichten-postausgang.php",
			"irecentpage="+iRecentPage,
			function() { 
			}
	);
}

/* ********************************* */
/* *** LOADERS FOR /besuchte Profile/  *** */
/* ********************************* */
function aLoader_BesuchteProfileBesucht(iRecentPage) {
	$("ul#besuchteprofilebox_rulernavi li").removeClass("active");
	$("li#besuchteprofilebox_rulernavi_besucht").addClass("active");

	$("div#besuchteprofilebox_content").html(loadingAnimation);
	$("div#besuchteprofilebox_content").load( 
			AJAXPATH+"besuchteprofile-besucht.php",
			"irecentpage="+iRecentPage,	
			function() {
			}
	);
	
}
function aLoader_BesuchteProfileBesucher(iRecentPage) {
	$("ul#besuchteprofilebox_rulernavi li").removeClass("active");
	$("li#besuchteprofilebox_rulernavi_besucher").addClass("active");

	$("div#besuchteprofilebox_content").html(loadingAnimation);
	$("div#besuchteprofilebox_content").load( 
			AJAXPATH+"besuchteprofile-besucher.php",
			"irecentpage="+iRecentPage,
			function() { 
			}
	);
}


/* ********************************* */
/* *** LOADERS FOR /profil/  *** */
/* ********************************* */
function aLoader_ProfilKurzbeschreibung(iIdOtherProfile) {
	$("ul#profilbox_rulernavi li").removeClass("active");
	$("li#profilbox_rulernavi_kurzbeschreibung").addClass("active");

	$("div#profilbox_content").html(loadingAnimation);
	$("div#profilbox_content").load( 
			AJAXPATH+"profil-kurzbeschreibung.php",
			"userid="+iIdOtherProfile,	
			function() { 
			}
	);
}
function aLoader_ProfilZurperson(iIdOtherProfile) {
	$("ul#profilbox_rulernavi li").removeClass("active");
	$("li#profilbox_rulernavi_zurperson").addClass("active");

	$("div#profilbox_content").html(loadingAnimation);
	$("div#profilbox_content").load( 
			AJAXPATH+"profil-zurperson.php",
			"userid="+iIdOtherProfile,	
			function() { 
			}
	);
}
function aLoader_ProfilVorlieben(iIdOtherProfile) {
	$("ul#profilbox_rulernavi li").removeClass("active");
	$("li#profilbox_rulernavi_vorlieben").addClass("active");

	$("div#profilbox_content").html(loadingAnimation);
	$("div#profilbox_content").load( 
			AJAXPATH+"profil-vorlieben.php",
			"userid="+iIdOtherProfile,	
			function() { 
			}
	);
}
function aLoader_ProfilUebereinstimmung(iIdOtherProfile) {
	$("ul#profilbox_rulernavi li").removeClass("active");
	$("li#profilbox_rulernavi_uebereinstimmung").addClass("active");

	$("div#profilbox_content").html(loadingAnimation);
	$("div#profilbox_content").load( 
			AJAXPATH+"profil-uebereinstimmung.php",
			"idotherprofile="+iIdOtherProfile,
			function() { 
			}
	);
}
function aLoader_ProfilNachricht(iIdOtherProfile) {
	$("ul#profilbox_rulernavi li").removeClass("active");
	$("li#profilbox_rulernavi_nachrichtschreiben").addClass("active");

	$("div#profilbox_content").html(loadingAnimation);
	$("div#profilbox_content").load( 
			AJAXPATH+"profil-nachricht.php",
			"userid="+iIdOtherProfile,
			function() { 
			}
	);
}

/* ********************************* */
/* *** LOADERS FOR /favoriten/  *** */
/* ********************************* */
function aLoader_FavoritenMeineFavoriten(iRecentPage) {
	$("ul#favoritenbox_rulernavi li").removeClass("active");
	$("li#favoritenbox_rulernavi_meinefavoriten").addClass("active");

	$("div#favoritenbox_content").html(loadingAnimation);
	$("div#favoritenbox_content").load( 
			AJAXPATH+"favoriten-meinefavoriten.php",
			"irecentpage="+iRecentPage,	
			function() { 
			}
	);
}
function aLoader_FavoritenIchbinfavorit(iRecentPage) {
	$("ul#favoritenbox_rulernavi li").removeClass("active");
	$("li#favoritenbox_rulernavi_ichbinfavorit").addClass("active");

	$("div#favoritenbox_content").html(loadingAnimation);
	$("div#favoritenbox_content").load( 
			AJAXPATH+"favoriten-ichbinfavorit.php",
			"irecentpage="+iRecentPage,	
			function() { 
			}
	);
}

/* ********************************* */
/* *** LOADERS FOR /kontoeinstellungen/  *** */
/* ********************************* */
function aLoader_KontoeinstellungenBenachrichtigung() {
	$("ul#kontoeinstellungenbox_rulernavi li").removeClass("active");
	$("li#kontoeinstellungenbox_rulernavi_benachrichtigung").addClass("active");

	$("div#kontoeinstellungenbox_content").html(loadingAnimation);
	$("div#kontoeinstellungenbox_content").load( 
			AJAXPATH+"kontoeinstellungen-benachrichtigung.php",
			"",	
			function() { 
			}
	);
}
function aLoader_KontoeinstellungenEmail() {
	$("ul#kontoeinstellungenbox_rulernavi li").removeClass("active");
	$("li#kontoeinstellungenbox_rulernavi_email").addClass("active");

	$("div#kontoeinstellungenbox_content").html(loadingAnimation);
	$("div#kontoeinstellungenbox_content").load( 
			AJAXPATH+"kontoeinstellungen-email.php",
			"",	
			function() { 
			}
	);
}
function aLoader_KontoeinstellungenPasswort() {
	$("ul#kontoeinstellungenbox_rulernavi li").removeClass("active");
	$("li#kontoeinstellungenbox_rulernavi_passwort").addClass("active");

	$("div#kontoeinstellungenbox_content").html(loadingAnimation);
	$("div#kontoeinstellungenbox_content").load( 
			AJAXPATH+"kontoeinstellungen-passwort.php",
			"",	
			function() { 
			}
	);
}
