var datevPortalApplicationContent = {

	//PORTAL->ANWENDUNG (aktuelle Schriftgroesse aus dem Portal)
	currentSchrift:function(){
 		try {
			return window.top.anwendungBekommtSchrift();
		} catch (e) {return null;}
	},

	//ANWENDUNG->PORTAL (aktuelle Schriftgroesse in der Anwendung)
	portalBekommtSchrift:function(schrift) {
		try{
			window.top.portalBekommtSchrift(schrift);
		} catch (e) {return null;}
	},

	//ANWENDUNG->PORTAL (aktuelle Hoehe der Anwendung)
	portalBekommtHoehe:function(hoehe, id) {
		try {
			window.top.portalBekommtHoehe(hoehe, id);
		} catch (e) {return null;}
	},


	//ANWENDUNG->PORTAL (Url, Thema und/oder Kontakt-Email)
	portalBekommtFormularParameter:function(url, thema, mailto) {
		try {
			window.top.setAnwParameter(url, thema, mailto);
		} catch (e) {return null;}
	},

	//obsolet, aber noch verfuegbar falls Anwendung die Methode "portalBekommtFormularParameter" nicht verwendet ANWENDUNG->PORTAL (Url)
	portalBekommtUrl:function(url) {
		try {
			window.top.setAnwParameter(url);
		} catch (e) {return null;}
	},


	//ANWENDUNG->PORTAL (portaleigenes Empfehlenformular oeffnen)
	//"url" optional (wenn Url bereits via portalBekommtUrl zur Verfuegung gestellt wurde)
	portalSollEmpfehlenformularOeffnen:function(url, thema) {
		try {
			window.top.openPortalEmpfehlenFormular(url, thema);
		} catch (e) {return null;}
	},

	//ANWENDUNG->PORTAL (portaleigenes Kontaktformular oeffnen)
	//"kontakt" optional (wenn Kontaktadresse bereits via portalBekommtKontakt zur Verfuegung gestellt wurde)
	portalSollKontaktformularOeffnen:function(url, thema, mailto) {
		try {
			window.top.openPortalKontaktFormular(url, thema, mailto);
		} catch (e) {return null;}
	},

	//Warenkorb-Anwendung:
	portalSollBestellenStarten:function(slUrl, layout) {
		try {
			window.top.startBesteller(slUrl, layout);
		} catch (e) {return null;}
	}
};






