<!--
/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menuHome
var menuHome=new Array()
menuHome[0]='<a href="http://www.12travel.de/ie/information/why_ireland.html">Wir &uuml;ber uns</a>'
menuHome[1]='<a href="http://www.12travel.de/ie/information/team12travel.html">Das Team</a>'
menuHome[2]='<a href="http://www.12travel.de/ie/information/testimonials.html">Kunden &uuml;ber uns</a>'
menuHome[3]='<a href="http://www.12travel.de/ie/information/jobs.html">Jobs</a>'
menuHome[4]='<a href="http://www.12travel.de/blog/">Unser Blog</a>'
//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="http://www.12travel.de/ie/packages/specials/index.html">Spezial Angebote</a>'
menu1[1]='<a href="http://www.12travel.de/ie/packages/self-drive/index.html">Autotouren</a>'
menu1[2]='<a href="http://www.12travel.de/ie/packages/kurzreisen/index.html">Kurztrips</a>'
menu1[3]='<a href="http://www.12travel.de/ie/packages/escorted-tours/index-tina.html">Busreisen</a>'
menu1[4]='<a href="http://www.12travel.de/ie/packages/bed_breakfast/go_as_you_please.html">Go As You Please</a>'
menu1[5]='<a href="http://www.12travel.de/ie/packages/activities/index.html">Irland Aktiv</a>'
menu1[6]='<a href="http://www.12travel.de/ie/packages/activities/cycling/index.html">Fahrradreisen</a>'
menu1[7]='<a href="http://www.12travel.de/ie/packages/activities/walking/index.html">Wanderreisen</a>'
menu1[8]='<a href="http://www.12travel.de/ie/packages/backpacking/index.html">Backpacking</a>'
menu1[9]='<a href="http://www.12travel.de/ie/packages/activities/cruising/index.html">Kabinenboote</a>'
menu1[10]='<a href="http://www.12travel.de/ie/accommodation/golf-hotels/index.html">Golf Urlaub</a>'
menu1[11]='<a href="http://www.12travel.de/ie/packages/activities/equestrian/index.html">Reiturlaub</a>'
menu1[12]='<a href="http://www.12travel.de/ie/packages/bus_train/Uebersicht%20Touren.html">Tagesausfl&uuml;ge</a>'
menu1[13]='<a href="http://www.12travel.de/ie/packages/group/index.html">Gruppenreisen</a>'
menu1[14]='<a href="http://www.12travel.de/ie/packages/honeymoon/index.html">Flitterwochen</a>'
menu1[15]='<a href="http://www.12travel.de/ie/packages/handicapped/index-handicapped.html">Behindertengerechtes Reisen</a>'
menu1[16]='<a href="http://www.12travel.de/ie/packages/activities/pet_index.html">Reisen mit Haustieren</a>'


//Contents for menu 2
var menu2=new Array()
menu2[0]='<a href="http://www.12travel.de/ie/accommodation/Burgen-und-Schloesser/">Burgen und Schl&ouml;sser</a>'
menu2[1]='<a href="http://www.12travel.de/ie/accommodation/Lokale-Empfehlungen/">Hotels</a>'
menu2[2]='<a href="http://www.12travel.de/ie/accommodation/Cottages/">Ferienh&auml;user</a>'
menu2[3]='<a href="http://www.12travel.de/ie/accommodation/golf-hotels/index.html">Golf Hotels</a>'
menu2[4]='<a href="http://www.12travel.de/ie/accommodation/bed-breakfast/index.html">Bed and Breakfasts</a>'
menu2[5]='<a href="http://www.12travel.de/ie/packages/activities/pet_index.html">Haustierfreundliche Unterk&uuml;nfte</a>'
menu2[6]='<a href="http://www.12travel.de/ie/packages/handicapped/accomodation.html">Behindertengerechte Unterk&uuml;nfte</a>'

//Contents for menu 3
var menu3=new Array()
menu3[0]='<a href="http://www.12travel.de/ie/transport/Anreise.html">Fl&uuml;ge</a>'
menu3[1]='<a href="http://www.12travel.de/ie/transport/ferryindex.html">F&auml;hren</a>'
menu3[2]='<a href="http://www.12travel.de/ie/transport/Anreiseinfo.html">Anreiseinformationen</a>'

//Contents for menu 4
var menu4=new Array()
menu4[0]='<a href="http://www.12travel.de/ie/car-rental/index-car.html">Autovermietung</a>'
menu4[1]='<a href="http://www.12travel.de/ie/car-rental/index-motorcycle.html">Motorradvermietung</a>'

//Contents for menu 5
var menu5=new Array()
menu5[0]='<a href="http://www.12travel.de/ie/regions/index.html">Regionen</a>'
menu5[1]='<a href="http://www.12travel.de/ie/attractions/index.html">Sehensw&uuml;rdigkeiten</a>'
menu5[2]='<a href="http://www.12travel.de/ie/information/index.html">Informationen</a>'

var menuwidth='165px' //default menu width
var menubgcolor='#ebebeb'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)

dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
