<!-- Beginning of JavaScript -
//self.moveTo(0,0); 
//self.resizeTo(screen.width,screen.height,window.innerHeight);


par_url = ('');
par_url_lotto = par_url+"../pool/ansage.html";
par_url_ende = par_url+"initspiritia.html";
par_url_runen = par_url+"../runes/navigator/message.html";
par_url_weg = par_url+"../companions/message.html";

function openweg() {
msgWindow=window.open(par_url_weg,'WegFenster','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=480,height=455,left=385,top=10');
} 
function openende() {
msgWindow=window.open(par_url_ende,'EndeFenster','width=400,height=330,resizable=yes,dependend=yes,screenX=300,screenY=200');
}
function openlotto() {
msgWindow=window.open(par_url_lotto,'LottoFenster','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=480,height=455,left=385,top=10');
} 
function openrunen() {
msgWindow=window.open(par_url_runen,'RunenFenster2','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=,copyhistory=1,width=260,height=300,left=485,top=50');
}

//-----------------------------Beginn der Sprüche

function fenster3() {
var win;
win=window.open ("fairy.html","Open1","width=300,height=430,resizable=yes,dependend=yes,screenX=300,screenY=200");
win.setTimeout ('window.close ()',9000);
}
function fenster4() {
var win;
win=window.open ("spiritiaimage.html","Open1","width=200,height=260,resizable=yes,dependend=yes,screenX=300,screenY=200");
win.setTimeout ('window.close ()',4000);
}


//-------------------------------Musik

function play_sound (datei)
{
location.href=datei;
}


//------------------------------Tageszeitansage
function gruss(){
var uhrzeit=new Date()
var stunden=uhrzeit.getHours()
var hallo=""
if (stunden>=0){
hello="Itīs so dark and I canīt find my lantern flower...Oh, here it is...Oh, and here are you! Tonight only you and me...Shall I give you a present as I canīt visit you personally?"
}

if (stunden>=1){
hello="Still awake at this time? Shall I blow you some sleepy-sand? Or youīd rather have one of my unrivaled absolutely fabulous pieces of advice? All right..."
}
if (stunden>=2){
hello="My chrysanthemum-petalled bed Iīm only leaving for you. Itīs almost 3 oīclock!!! But hey, Iīm famous for my good-naturedness. Thank God we fairies donīt age that fast... You are going to be the one with rings under your eyes in the morning..."
}
if (stunden>=3){
hello="Havenīt slept yet? Or awake again? A very late good night - or a very early good morning to you. Where is my magic thread? Letīs see what I can weave for you on this web-site..."
}
if(stunden>=4){
hello="Achoo! I think a ray of light has tickled my nose... Oh, that was your mouse! Gosh, itīs almost time for breakfast! Good morning, what a beautiful day this will be as we have met this early. You will get a very special magic advice... Iīm in really good shape this morning..."
}

if (stunden>=5){
hello="The magic world is ready...and so am I... If only you could see me clearly... I am looking really lovely this morning... so do you..., oh, no that was my own reflection in my dewdrop mirrow, sorry... Oh, here, this is you... Well, I think you look really nice. If you would be a bit smaller, I would love to flutter around with you a bit but I guess I have to stick to magic... Click here...now!"
}
if (stunden>=6){
hello="Ooh... such an early visitor... I was just about to take my dewdrop-bath... But no problem, here is a small treasure from my chest for you..."
}
if (stunden>=7){
hello="Good morning... Spiritia hopes youīll enjoy your breakfast... My favourite is primrose nectar... And what do you like best? Fancy some unrivalled advice? There you go..."
}
if (stunden>=8){
hello="Buenos diaz, mi corazon... Iīm exercising my vocabulary as Iīm thinking of dancing on spanish meadows soon... Only a little spell for you now, sorry..."
}
if (stunden>=9){
hello="Welcome to Spiritia! I have just collected some beautiful cobwebs for a new dress... A bit of advice for you as I am in a really good mood today..."
}
if (stunden>=10){ 
hello="This is the best time to pass by here... Itīs fairy-time, didnīt you know? Iīm going to try really hard... Where is your mouse? Take your pick..."
}
if (stunden>=11){
hello="Youīve come to visit me? Donīt you have to work? Iīd better hurry up to get my magic wand... Ok, here we go..."
}
if (stunden>=12){
hello="Iīm a bit drowsy today..., so many things to do... But I like you! Therefore some advice for you..., all you have to do is click here..."
}
if (stunden>=13){
hello="How nice of you to visit me! Have you had lunch already? I had mousse of marigold with nectar, that was a bit rich but soooo yummy! Here is some advice from my book of magic..."
}
if (stunden>=14){
hello="Are you by yourself at the moment? Are you sure? Such a screen cannot keep me from... oh, damn... my dress... Too bad, I would have loved to drop by to whisper some advice in your ear... Iīm afraid you have to use your mouse... but itīs tickling me..."
}
if (stunden>=15){
hello="Magic is my favourite pastime... I hope you can say the same of your job? Or do you long for something completely different at the moment? Pick something from my treasure chest..."
}
if (stunden>=16){
hello="Itīs almost time to finish work... Some sound advice before you switch that thing off... Play the lottery, itīs magic..."
}
if (stunden>=17){
Hello="Are you in a hurry... time to go home... Before you go some tiny magical advice..."
}
if (stunden>=18){
hello="Oh... eh... my dinner is waiting... and I have a guest, a good-looking cheeky little goblin... Oops... He doesnīt loose time, hereīs some quick advice for you..."
}
if (stunden>=19){
hello="The bluebells are ringing for dinner... such a beautiful sound... Can you hear them? Oh, I forgot you canīt... Donīt be sad, here is some free fabulous advice for you..."
}
if(stunden>=20){
hello="Darkness is weaving its web around you... Turn off the lights and look outside...Maybe I can... Canīt you see? Up here...no, not there, over here... sorry, but Iīm just to fabulous for normal eyes. So here is my advice only for you."
}
if (stunden>=21){
hello="Ooh, you are lucky! I was just about to buzz off to the fairy dance... I had an absolutely fabulous and successful day...You too? OK, one sweet little spell for you... But then I have to go..."
}
if (stunden>=22){
hello="Good evening, its past ten already, how nice of you to drop by... Iīm spinning some magic thread at the moment...But I have some advice for you anyway..."
}
if (stunden>=23){
hello="Hey... itīs already past eleven. The midnight-queen calls...! But, you are my special guest. Come in and find some hints for the night. Then I have to go. Good night and sweet dreams to you."
}



document.write(hello)
}



//----------------------------------Ticker

var y=100
var bgticker

function initObjects() {
	if (document.all) {
		bgticker = document.all.bgtick.style	
		bgticker.posLeft = 180	
		bgticker.posTop = 400	
		mainbody = document.all.mainbod.style	
		mainbody.posLeft = 240	
		mainbody.posTop = 460
	}
	if (document.layers) {
		bgticker = document.bgtick
		bgticker.left = 160
		bgticker.top = 300
		mainbody = document.mainbod	
		mainbody.left = 240
		mainbody.top = 460
	}
	scroll()
}

function scroll() {
	if (y > 200) {
		y--
		if (document.all) {bgticker.posTop = y; mainbody.posTop=560}
		if (document.layers) {bgticker.top = y; mainbody.top=560}
	}		
	else {
		y=300
	}
	var timer = setTimeout('scroll()',60)
}


// - End of JavaScript - -->

