
<!--
var defaultMenuWidth="150px"; //Breite des Menüs.

var linkset=new Array();

// Menusets

linkset[0]='<a href="http://www.dalmatiner-quinn.ch/infos/">tagebuch</a>';
linkset[0]+='<hr>' //Optionale Trennlinie
linkset[0]+='<a href="http://dalmatiner-quinn.ch/buch/okt08.html">buch okt.2008</a>';
linkset[0]+='<a href="http://dalmatiner-quinn.ch/buch/nov08.html">buch nov.2008</a>';
linkset[0]+='<a href="http://dalmatiner-quinn.ch/buch/dez08.html">buch dez.2008</a>';
linkset[0]+='<a href="http://dalmatiner-quinn.ch/buch/jan09.html">buch jan.2009</a>';
linkset[0]+='<a href="http://dalmatiner-quinn.ch/buch/feb09.html">buch febr.2009</a>';
linkset[0]+='<a href="http://dalmatiner-quinn.ch/buch/mar09.html">buch maerz 2009</a>';
linkset[0]+='<a href="http://dalmatiner-quinn.ch/buch/apr09.html">buch april 2009</a>';
linkset[0]+='<a href="http://dalmatiner-quinn.ch/buch/mai09.html">buch mai 2009</a>';
linkset[0]+='<a href="http://dalmatiner-quinn.ch/buch/jun09.html">buch juni 2009</a>';
linkset[0]+='<a href="http://dalmatiner-quinn.ch/buch/jul09.html">buch juli 2009</a>';
linkset[0]+='<a href="http://dalmatiner-quinn.ch/buch/aug09.html">buch aug.2009</a>';
linkset[0]+='<a href="http://dalmatiner-quinn.ch/buch/sep09.html">buch sept.2009</a>';



linkset[1]='<a href="http://dalmatiner-quinn.ch/quinn1/main.php">quinn-album</a>';
linkset[1]+='<hr>' //Optionale Trennlinie
linkset[1]+='<a href="http://www.dalmatiner-quinn.ch/quinn1/main.php">quinn1 foto-album</a>';
linkset[1]+='<a href="http://www.dalmatiner-quinn.ch/quinn2/main.php">quinn2 flashalbum</a>';
linkset[1]+='<a href="http://www.dalmatiner-quinn.ch/quinn3/main.php">quinn3 foto-album</a>';
linkset[1]+='<a href="http://www.dalmatiner-quinn.ch/quinn4/main.php">quinn4 foto-album</a>';
linkset[1]+='<a href="http://www.katzen.media-logistic.ch/start/navistart.htm">HAUSTIERE</a>';



linkset[2]='<a href="http://www.dalmatiner-quinn.ch/quinn2/main.php">slide-shows</a>';
linkset[2]+='<hr>' //Optionale Trennlinie
linkset[2]+='<a href="http://www.dalmatiner-quinn.ch/quinn2/main.php?g2_itemId=76">flash-portal 1a</a>';
linkset[2]+='<a href="http://www.dalmatiner-quinn.ch/quinn2/main.php?g2_itemId=132">flash-portal 1b</a>';
linkset[2]+='<a href="http://www.dalmatiner-quinn.ch/quinn2/main.php?g2_itemId=220">flash-portal 1c</a>';
linkset[2]+='<a href="http://www.dalmatiner-quinn.ch/quinn2/main.php?g2_itemId=448">flash-portal 1d</a>';
linkset[2]+='<a href="http://www.dalmatiner-quinn.ch/quinn2/main.php?g2_itemId=449">flash-portal 1e</a>';
linkset[2]+='<a href="http://www.dalmatiner-quinn.ch/quinn2/main.php?g2_itemId=450">flash-portal 1f</a>';


// Ab hier profi

document.write('<style type="text/css">');
document.write('#popitmenu{ position: absolute; top: -200px; background-color: #cccccc; border:1px solid black; font: normal 12px Verdana; line-height: 18px; z-index: 100; display: none; }');
document.write('#popitmenu a{ text-decoration: none; padding-left: 6px; color: black; display: block; }');
document.write('#popitmenu a:hover{ background-color: #E0EBE3; }');
document.write('</style>');

var ie5=document.all && !window.opera;
var ns6=document.getElementById;

if (ie5||ns6)
	document.write('<div id="popitmenu" onmouseover="clearhidemenu();" onmouseout="dynamichide(event)"></div>');

function iecompattest(){
	return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body;
}

function showmenu(e, which, optWidth){
	if (!document.all&&!document.getElementById)
		return;
	clearhidemenu();
	menuobj=ie5? document.all.popitmenu : document.getElementById("popitmenu");
	menuobj.innerHTML=which;
	menuobj.style.width=(typeof optWidth!="undefined")? optWidth : defaultMenuWidth;
	menuobj.contentwidth=menuobj.offsetWidth;
	menuobj.contentheight=menuobj.offsetHeight;
	eventX=ie5? event.clientX : e.clientX;
	eventY=ie5? event.clientY : e.clientY;
	//Find out how close the mouse is to the corner of the window
	var rightedge=ie5? iecompattest().clientWidth-eventX : window.innerWidth-eventX;
	var bottomedge=ie5? iecompattest().clientHeight-eventY : window.innerHeight-eventY;
	//if the horizontal distance isn't enough to accomodate the width of the context menu
	if (rightedge<menuobj.contentwidth)
		menuobj.style.left=ie5? iecompattest().scrollLeft+eventX-menuobj.contentwidth+"px" : window.pageXOffset+eventX-menuobj.contentwidth+"px";
	else
		menuobj.style.left=ie5? iecompattest().scrollLeft+eventX+"px" : window.pageXOffset+eventX+"px";

	//same concept with the vertical position
	if (bottomedge<menuobj.contentheight)
		menuobj.style.top=ie5? iecompattest().scrollTop+eventY-menuobj.contentheight+"px" : window.pageYOffset+eventY-menuobj.contentheight+"px";
	else
		menuobj.style.top=ie5? iecompattest().scrollTop+event.clientY+"px" : window.pageYOffset+eventY+"px";
		menuobj.style.display="block";
	return false;
}

function contains_ns6(a, b) {
	//Determines if 1 element in contained in another- by Brainjar.com
	while (b.parentNode)
		if ((b = b.parentNode) == a)
			return true;
	return false;
}

function hidemenu(){
	if (window.menuobj)
		menuobj.style.display="none";
}

function dynamichide(e){
	if (ie5&&!menuobj.contains(e.toElement))
		hidemenu();
	else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
		hidemenu();
}

function delayhidemenu(){
	delayhide=setTimeout("hidemenu()",500);
}

function clearhidemenu(){
	if (window.delayhide)
		clearTimeout(delayhide);
}

if (ie5||ns6) document.onclick=hidemenu;

//-->

