function metaon(el) {
	el.style.borderColor='#ff2414';
	el.style.backgroundColor='#ffffff';
}

function metaoff(el) {
	el.style.borderColor='#0065A5';
	el.style.backgroundColor='#eeeeee';
}

function top() {
	url = document.location;
	url = url+"#top";
	window.location.href = url;
	return;
}

function lesezeichen() {
	url = document.location;
	titel = "Verbund.at-" + document.title;
	netscape="OK bestätigen und mit der Tastenkombination STRG+D ein Lesezeichen zu dieser Seite setzen."
	if (navigator.appName=='Microsoft Internet Explorer')
	{
		window.external.AddFavorite(url, titel);
	}
	else if (navigator.appName=='Netscape')
	{
		alert(netscape);
	}
}

function bookmark() {
	url = document.location;
	titel = "Verbund.at-" + document.title;
	netscape="First push OK and then hit CTRL+D to add a bookmark to this site."
	if (navigator.appName=='Microsoft Internet Explorer')
	{
		window.external.AddFavorite(url, titel);
	}
	else if (navigator.appName=='Netscape')
	{
		alert(netscape);
	}
}

function weiterempfehlen() {
	return location.href='mailto:?SUBJECT=Verbund.at-Bitte ansehen&BODY='+escape(location.href);
}

function recommend() {
	return location.href='mailto:?SUBJECT=Verbund.at-This may interest you&BODY='+escape(location.href);
}

function vollbild() {
	if (document.getElementById) {
	  	document.getElementById("navisub").style.visibility='hidden';
		document.getElementById("navisub").style.display='none';
		document.getElementById("foot").style.visibility='hidden';
		document.getElementById("foot").style.display='none';
		document.getElementById("footvoll").style.display='block';
		document.getElementById("footvoll").style.visibility='visible';
		document.getElementById("rechts").style.marginLeft='0';
		document.getElementById("rechts").style.left=0;
		document.getElementById("rechts").style.width='100%';
		document.getElementById("text").style.left=0;
		document.getElementById("text").style.width='100%';
		}
	else if 	(document.all) {
		document.all.navisub.style.visibility='hidden';
		document.all.navisub.style.display='none';
		document.all.foot.style.visibility='hidden';
		document.all.foot.style.display='none';
		document.all.footvoll.style.display='block';
		document.all.footvoll.style.visibility='visible';
		document.all.rechts.style.left=0;
		document.all.rechts.style.marginleft='0';
		document.all.rechts.style.width='100%';
  		document.all.rechts.text.style.left=0;
		document.all.rechts.text.style.width='100%';
		}
	else return;
}
	
function normbild() {
	if (document.getElementById) {
		window.location.reload();
	  	document.getElementById("navisub").style.display='block';
  		document.getElementById("navisub").style.visibility='visible';
		document.getElementById("foot").style.display='block';
		document.getElementById("foot").style.visibility='visible';
		document.getElementById("footvoll").style.visibility='hidden';
		document.getElementById("footvoll").style.display='none';
		document.getElementById("rechts").style.width='68%';
		document.getElementById("rechts").style.marginLeft='30%';
		document.getElementById("rechts").style.left='auto';
		document.getElementById("text").style.width='100%';
		document.getElementById("text").style.left='auto';
		}
	else if 	(document.all) {
		window.location.reload();
	  	document.all.navisub.style.display='block';
  		document.all.navisub.style.visibility='visible';
		document.all.foot.style.display='block';
		document.all.foot.style.visibility='visible';
		document.all.footvoll.style.visibility='hidden';
		document.all.footvoll.style.display='none';
/*	width:expression(document.body.clientWidth < 800? "90%": "auto" ); 
		document.all.text.img.style.width='90%'; */
		document.all.rechts.style.width='68%';
		document.all.rechts.style.marginLeft='30%';
		document.all.rechts.style.left='auto';
		document.all.rechts.text.style.width='100%';
		document.all.rechts.text.style.left='auto';
		}
	else return;
}

function ausdrucken() {
	if (document.getElementById) {
		document.getElementById("rechts").style.width = "auto";
		document.getElementById("text").style.width = "auto";
		}
	else if 	(document.all) {
		document.all.rechts.style.width = "auto";
		document.all.text.style.width = "auto";
		}
	window.print();
	window.location.reload();
}

