function hvr0 (a) {
	$(a).getElement('a').setStyle('background-position', '0px -40px');
}

function dvt0 (a) {
	$(a).getElement('a').setStyle('background-position', '0px 0px');
}

function hvr(a) {
	$(a).getParent('li').getElement('a').setStyle('background-position', '0px -40px');
}

function dvt(a) {
	$(a).getParent('li').getElement('a').setStyle('background-position', '0px 0px');
}


var startMenu = function() {
if (document.all&&document.getElementById) 
{
	cssmenu = document.getElementById("csstopmenu");
	for (i=0; i<cssmenu.childNodes.length; i++) 
	{
		node = cssmenu.childNodes[i];
		if (node.nodeName=="LI") 
		{
			node.onmouseover=function() 
			{
				this.className+=" over";
			}
			node.onmouseout=function()
			{                  
				this.className=this.className.replace(" over", "")
			}
		}
	}
}
}



if (window.attachEvent)
window.attachEvent("onload", startMenu)
else
window.onload=startMenu;


window.addEvent('domready', function() { 
	myCal = new Calendar({ checkin: { checkin: 'd.m.Y' }, checkout: { checkout: 'd.m.Y' }}, { direction: 0, tweak: {x: 18, y: 0}, months:['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] });
	});
