function favorit()






{






if (window.external)






{window.external.AddFavorite("http://www.royalhighnesscat.de", "Royal Highness Cats");} 






}






function Fensterweite()






{






 if (window.innerWidth) return window.innerWidth;






 else if (document.body && document.body.offsetWidth) return document.body.offsetWidth;






 else return 0;






}













function Fensterhoehe()






{






 if (window.innerHeight) return window.innerHeight;






 else if (document.body && document.body.offsetHeight) return document.body.offsetHeight;






 else return 0;






}













function Start()






{






var breite = Fensterweite();






var hoehe = Fensterhoehe();






var xbild = breite*0.8;






var ybild = xbild*0.75;






var xpos = breite*0.1;






var ypos= (hoehe-ybild)/2;






var xklick=xbild *0.76;






var yklick=ybild *0.52;






var xklickend=xbild *0.98;






var yklickend=ybild *0.58;






document.write("<map name='royal'>");






document.write("<area shape='rect' coords='" + xklick + "," + yklick + "," + xklickend + "," + yklickend + "' href='start.html' alt='Zur Hauptseite'>");






document.write("</map>");  






document.write("<div  style='position:absolute; top:" + ypos + "px; left:" + xpos + "px;'>");






document.write("<img src='bilderweb/royalstart.jpg' usemap='#royal' width=" + xbild + " height=" + ybild + " border=0 > " );






document.write("</div>");






}




















function Kopf()






{






var breite = Fensterweite();






var xbild = breite;






var ybild = xbild/8.22;






if (ybild>=120){ybild=120;xbild=1028;}






document.write("<div  align='center'>");






document.write("<img src='bilderweb/kopfbanner.jpg'  width=" + xbild + " height=" + ybild + " border=0 > " );






document.write("</div>");






}













function FensterAuf(fname,katze)






	{






		F1=window.open(fname,"fenster1","height=460,width=550,locationbar=no,Menubar=no,status=no,dependent=yes,screeny=100");






		F1.document.open();






		F1.document.writeln('<html>\n');






		F1.document.writeln('<head>\n');






    	F1.document.writeln('<title>Royal Highness Lupe</title>\n</head>\n<META HTTP-EQUIV="imagetoolbar" CONTENT="no">\n<body bgcolor="#1519e6">\n<div align="center">\n<a href="javascript:window.close()"><img src="http://www.royalhighnesscat.de/bilderweb/fensterzu.jpg"  alt="Fenster zu" width="110" height="42"border="0"></a>\n</div>');






		F1.document.writeln('<div align="center"><img src="' + katze + '" border="0"></div>');






		F1.document.write('</body>\n</html>');






		F1.document.close();






		F1.focus();






	}













function FensterAufh(fname,katze)






	{






		F1=window.open(fname,"fenster1","height=590,width=450,locationbar=no,Menubar=no,status=no,dependent=yes,screeny=100");






		F1.document.open();






		F1.document.writeln('<html>\n');






		F1.document.writeln('<head>\n');






    	F1.document.writeln('<title>Royal Highness Lupe</title>\n</head>\n<META HTTP-EQUIV="imagetoolbar" CONTENT="no">\n<body bgcolor="#1519e6">\n<div align="center">\n<a href="javascript:window.close()"><img src="http://www.royalhighnesscat.de/bilderweb/fensterzu.jpg"  alt="Fenster zu" width="110" height="42"border="0"></a>\n</div>');






		F1.document.writeln('<div align="center"><img src="' + katze + '" border="0"></div>');






		F1.document.write('</body>\n</html>');






		F1.document.close();






		F1.focus();






	}













var message="Willkommen auf unserer Webseite";






function click(e)






	{if (document.all) 






			{if (event.button==2||event.button==3) 






					{favorit();}}






		if (document.layers) 






			{if (e.which == 3){alert(message);}}}






	if (document.layers){document.captureEvents(Event.MOUSEDOWN);}






	document.onmousedown=click;






	






function vorladen(){






	aristo = new Image();






aristo.src = "aristo.swf";	 






}






function obj(){













var hohe=Fensterhoehe();






if(hohe>600){hohe=600;var breite=138;}else{var breite =Math.ceil(hohe/500*115);}













document.write("<div align=center> <OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' WIDTH=" + breite + " HEIGHT=" + hohe + ">");






document.write("<PARAM NAME=movie VALUE='royal1.swf'> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=exactfit>  <PARAM NAME=bgcolor VALUE=#1519E6>") 






}






function obj_e(){






var hohe=Fensterhoehe();






if(hohe>600){hohe=600;var breite=138;}else{var breite =Math.ceil(hohe/500*115);}






document.write("<div align=center> <OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' WIDTH=" + breite + " HEIGHT=" + hohe + ">");






document.write("<PARAM NAME=movie VALUE='royal1_e.swf'> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=exactfit>  <PARAM NAME=bgcolor VALUE=#1519E6>") 






}






var Text = "Willkommen bei den Royal Highness-Persern und -Exoten              ";






var Geschwindigkeit = 200;






var Breite = 80;






var Hide = Text.substring(Breite);






Text = Text.substring(0, Breite);













function Scrollit()






{






Hide = Hide + Text.substring(0, 2)






Text = Text.substring(2) + Hide.substring(0, 2);






Hide = Hide.substring(2);






window.status = Text;






setTimeout("Scrollit();",Geschwindigkeit);






}













function fuss()






{






var breite=Fensterweite();






var fussbreit= breite / (1024/120);






var fusshohe= fussbreit / (139/53);






document.write("<br><hr color='ffffff'><br>");






document.write("<div align=center><a href='javascript:window.history.back();'><img src='bilderweb/zurueck.jpg' border='0' width='" + fussbreit + "' height='" + fusshohe + "'</a></div>");






}













function fuss1()






{






var breite=Fensterweite();






var fussbreit= breite / (1024/120);






var fusshohe= fussbreit / (139/53);






document.write("<br><hr color='ffffff'><br>");






document.write("<div align=center><a href='javascript:window.history.back();'><img src='../bilderweb/zurueck.jpg' border='0' width='" + fussbreit + "' height='" + fusshohe + "'</a></div>");






}




















var direction="right";













function doIt() {













 if(document.getElementById) {






     activeX=parseInt(document.getElementById("meldung").style.left);






     maxX=document.body.offsetWidth;













     if(direction=="right") {






        if((activeX+210)<maxX || activeX+210<window.innerWidth) {






           document.getElementById("meldung").style.left=(activeX+2)+"px";






           window.setTimeout('doIt()',100); }






        else {






           direction="left";






           window.setTimeout('doIt()',0); }






     }






     else {






        if(activeX>0) {






           document.getElementById("meldung").style.left=(activeX-2)+'px';






           window.setTimeout('doIt()',100); }






        else {






           direction="right";






           window.setTimeout('doIt()',0); }






     }






 }






 if(document.layers) {






  activeX=parseInt(document.meldung.left);






  maxX=window.innerWidth;













     if(direction=="right") {






        if((activeX+210)<maxX) {






           document.meldung.left=activeX+2;






           window.setTimeout('doIt()',100); }






        else {






           direction="left";






           window.setTimeout('doIt()',0); }






     }






     else {






        if(activeX>0) {






           document.meldung.left=activeX-2;






           window.setTimeout('doIt()',100); }






        else {






           direction="right";






           window.setTimeout('doIt()',0); }






     }






 }






 return;






}
