_menuCloseDelay=50           // CYMRAEG The time delay for menus to remain visible on mouse out
_menuOpenDelay=50           // The time delay before menus open on mouse over
_subOffsetTop=5              // Sub menu top offset
_subOffsetLeft=-5            // Sub menu left offset

with(menuStyle=new mm_style()){
onbgcolor="#cdccd0";
offbgcolor="#E9E9E9";
oncolor="#000000";
offcolor="#000000";
//bordercolor="#000000";
//borderstyle="solid";
//borderwidth=1;
separatorcolor="#ffffff";
separatorsize="3";
padding=4;
fontsize="70%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
//pagecolor="black";
pagebgcolor="#d1e1de";              //colour of clicked section - highlight wich page you'r e on
headerbgcolor="#ffffff";
headercolor="#000000";
subimage="http://www.taiclwyd.com/images/arrowoff.gif"; //greyed out arrow
onsubimage="http://www.taiclwyd.com/images/arrow.gif";  //red arrow
subimageposition='right';
subimagepadding="1";
overfilter="Fade(duration=0.2);Alpha(opacity=95);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.2)";
}

with(subStyle=new mm_style()){
onbgcolor="#cdccd0";  //mouse over button colour
offbgcolor="#E9E9E9"; //button colour
oncolor="#000000";    //mouse on button text color
offcolor="#000000";   //button text colour
//bordercolor="#000000";
//borderstyle="solid";
//borderwidth=1;
separatorcolor="#FFFFFF";
separatorsize="3";
padding=4;
fontsize="70%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#d1e1de";       			//colour of clicked section - blue
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="http://www.taiclwyd.com/images/arrow-r-off.gif"; //greyed out arrow 
onsubimage="http://www.taiclwyd.com/images/arrow-r.gif";   //red arrow
subimagepadding="0";	
overfilter="Fade(duration=0.2);Alpha(opacity=95);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.2)";
align="left"  //text alignment
}

with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="top;left";
top="offset=20"
left="offset=120"
alwaysvisible=1;
orientation="horizontal";
aI("text= Adref;image=http://www.taiclwyd.com/images/home.gif;showmenu=saesneg;url=http://www.taiclwyd.com/cymraeg/cymraeg.htm;status=Adref;");
aI("text= Y Gymdeithas;showmenu=ctc;status=Y Gymdeithas;");
aI("text= Newyddion;showmenu=newyddion;status=Newyddion;");
aI("text= Ein Gwaith;showmenu=ni;status=Ein Gwaith;");
aI("text=Tai;showmenu=tai;status=Gwasanaethau Tai;");
aI("text= Tenantiaid;showmenu=tenantiaid;status=Gwybodaeth i denantiaid;");
aI("text= Gofal a Thrwsio;showmenu=gath;status=Gofal a Thrwsio;");
//aI("text= Chwilio;image=http://www.taiclwyd.com/images/newsearch.gif;url=http://www.taiclwyd.com/search.htm;status=Chwilio;");

}

with(milonic=new menuname("saesneg")){
style=subStyle;
aI("text=Saesneg;url=http://www.taiclwyd.com/english/english.htm;status=Gwefan Saesneg;");
}

with(milonic=new menuname("ctc")){
style=subStyle;
//aI("text=Archif Newyddion;image=http://www.taiclwyd.com/images/papur.gif;url=http://www.taiclwyd.com/cymraeg/newyddion.htm;status=Newyddion Diweddaraf;");
aI("text=Ein Hanes;url=http://www.taiclwyd.com/cymraeg/hanes.htm;status=Hanes y Gymdeithas ers 1974 i'r presennol;");
aI("text=Bwrdd Rheoli;url=http://www.taiclwyd.com/cymraeg/bwrdd.htm;status=Manylion am y Bwrdd Rheoli;");
aI("text=Ardal Weithredu;url=http://www.taiclwyd.com/cymraeg/ardal.htm;status=Ein hardal weithredu;");
//aI("text=Dathliadau 30 mlynedd;url=http://www.taiclwyd.com/cymraeg/dathlu30.htm;status=Dathliadau y Gymdeithas yn 30 oed;");
aI("text=Ymuno â'r Gymdeithas;url=http://www.taiclwyd.com/cymraeg/ymuno.htm;status=Ymunwch â'r Gymdeithas am £1 yn unig!;");
aI("text=Swyddi;url=http://www.taiclwyd.com/cymraeg/swyddi.htm;status=Hysbysebiadau swyddi o fewn y Gymdeithas;");
aI("text=Cyhoeddiadau;url=http://www.taiclwyd.com/cymraeg/ffurflen.htm;status=Lawrlwytho ffurflenni cais a chyhoeddiadau;");
aI("text=Gwefannau Perthnasol;url=http://www.taiclwyd.com/cymraeg/cysylltiadau.htm;status=Gwefannau Perthnasol;");
aI("text=Cysylltwch â ni/Lleoliad;url=http://www.taiclwyd.com/cymraeg/cysylltu.htm;status=Cysylltwch â ni a mapiau o leoliadau;");
}

with(milonic=new menuname("newyddion")){
style=subStyle;
aI("text=Archif Newyddion;image=http://www.taiclwyd.com/images/papur.gif;url=http://www.taiclwyd.com/cymraeg/newyddion.htm;status=Datganiadau i'r Wasg");
//aI("text=Datganiadau i'r Wasg;url=http://www.taiclwyd.com/cymraeg/datgwasg.htm;status=Datganiadau i'r Wasg;");
aI("text=Tai Clwyd yn y Wasg;url=http://www.taiclwyd.com/cymraeg/ctcgwasg.htm;status=Tai Clwyd yn y Wasg;");
aI("text=Cylchlythyr;url=http://www.taiclwyd.com/cymraeg/cylchlythyr.htm;status=Ein cylchlythyr diweddaraf, Cadwyn;");
aI("text=Adroddiad Blynyddol;url=http://www.taiclwyd.com/cymraeg/adrblyn.htm;status=Lawrlwythwch ein hadroddiad blynyddol;");
}

with(milonic=new menuname("ni")){
style=subStyle;
aI("text=Crynodeb;url=http://www.taiclwyd.com/cymraeg/gwaith.htm;status=Ein gwaith a be rydym yn ei wneud;");
// aI("text=Cyfle Cyfartal;url=http://www.taiclwyd.com/cyflecyf.htm;status=Cyfle Cyfartal;");
aI("text=Perfformiad;url=http://www.taiclwyd.com/cymraeg/perfformiad.htm;status=Perfformiad Ariannol;");
// aI("text=Datblygu Eiddo;url=http://www.taiclwyd.com/dat.htm;status=Gwybodaeth am y tîm datblygu ac unrhyw ddatblygiadau newydd;");
aI("text=Datblygu Cymunedol;image=http://www.taiclwyd.com/images/serendatcym.gif;url=http://www.taiclwyd.com/cymraeg/datcym.htm;status=Gwaith rydym yn ei wneud yn y cymunedau;");
aI("text=Hwylusydd Tai Gwledig;image=http://www.taiclwyd.com/images/htgbachiawn.gif;url=http://www.taiclwyd.com/cymraeg/hwylusydd.htm;status=Gwybodaeth am yr Hwylusydd Tai Gwledig;");
aI("text=Partneriaeth Undod;image=http://www.taiclwyd.com/images/undod.gif;target=_self;url=http://www.undod.org;status=Partneriaeth Undod;");
aI("text=Gwerth Gorau;url=http://www.taiclwyd.com/cymraeg/gwerthg.htm;status=Sut rydym yn anelu at gyrraedd Gwerth Gorau;");
aI("text=Gweithdrefniadau Cwynion;url=http://www.taiclwyd.com/cymraeg/cwynion.htm;status=Gweithdrefniadau Cwynion;");
aI("text=Polisi Cydraddoldeb ac Amrywiaeth;url=http://www.taiclwyd.com/dogfennau/cymraeg/cydraddoldeb.pdf;status=Polisi Cydraddoldeb ac Amrywiaeth;");
}




with(milonic=new menuname("tai")){
style=subStyle;
aI("text=Rhentu;showmenu=renting;");
aI("text=Prynu;showmenu=buying;");
aI("text=Achub Morgais;url=http://www.taiclwyd.com/cymraeg/achubmorgais.htm;");
aI("text=Gofal Ychwanegol;url=http://www.taiclwyd.com/cymraeg/gofaly.htm.htm;");
//aI("text=Moving House;url=http://www.taiclwyd.com/english/movinghouse.htm;status=Information on how to move house;");
//aI("text=Houses For Sale;url=http://www.taiclwyd.com/english/forsale.htm;status=Houses For Sale;");
//aI("text=Shared Ownership;url=http://www.taiclwyd.com/english/sharedown.htm;status=Shared Ownership;");
//
}

with(milonic=new menuname("renting")){
style=subStyle;
aI("text=Polisi Gosod;url=http://www.taiclwyd.com/cymraeg/gosod.htm;status=Polisi gosod ;");
aI("text=System Bwyntiau;url=http://www.taiclwyd.com/cymraeg/pwyntiau.htm;status=System bwyntiau i bobl sydd ar y rhestr aros;");
aI("text=Cais am Ffurflen;url=http://www.taiclwyd.com/cymraeg/cais.htm;status=Ffurflen gais i fod ar y rhestr aros;");
aI("text=Symud T&#375;;url=http://www.taiclwyd.com/cymraeg/symudty.htm;status=Manylion ar sut i symud t&#375;;");
aI("text=Cyfnewid T&#375;;url=http://www.taiclwyd.com/cymraeg/homeswapper.htm;status=Cynllun Homeswapper ;");
}

with(milonic=new menuname("buying")){
style=subStyle;
aI("text=Gwybodaeth Gyffredinol;url=http://www.taiclwyd.com/cymraeg/ccpcyffredinol.htm;status=Gwybodaeth Gyffredinol;");
aI("text=Tai ar gael;url=http://www.taiclwyd.com/cymraeg/tyarwerth.htm;status=Manylion tai sydd ar gael;");
aI("text=Cynllun Cymorth Prynu;url=http://www.taiclwyd.com/cymraeg/ccp2.htm;status=Cynllun Cymorth Prynu;");
aI("text=Rhanberchnogaeth;url=http://www.taiclwyd.com/cymraeg/rhanberchnogaeth.htm;status=Rhanberchnogaeth;");
//aI("text=Contact Us;url=http://www.taiclwyd.com/english/applycontact.htm;Contact Us=;");
}

with(milonic=new menuname("tenantiaid")){
style=subStyle;
aI("text=Cynnal a Chadw;showmenu=cach;status=Gwybodaeth am yr adran cynnal a chadw;");
//aI("text=Cyfrifoldebau;url=http://www.taiclwyd.com/cymraeg/cyfrifoldebau.htm;status=Cyfrifoldebau y tenant a'r Gymdeithas ;");
aI("text=Hawl i Gaffael;url=http://www.taiclwyd.com/cymraeg/hawligaffael.htm;status=Hawl i Gaffael;");
//aI("text=Adrodd Diffyg;url=http://www.taiclwyd.com/cymraeg/diffyg.htm;status=Adrodd diffyg cynnal a chadw;");
aI("text=Tai â Chefnogaeth;url=http://www.taiclwyd.com/cymraeg/cynlluniau.htm;status=Cynlluniau Tai â Chefnogaeth;");
//aI("text=Adborth Diffyg;url=http://www.taiclwyd.com/cymraeg/bodlon.htm;status=Ffurflen Boddhad Cwsmer Gwaith Cynnal a Chadw;");
aI("text=Gwybodaeth Rhent;showmenu=talu;status=;");
aI("text=Ymddygiad Gwrth Gymdeithasol;url=http://www.taiclwyd.com/cymraeg/gwrthgymdeithasol.htm;status=Gwrth Gymdeithasol");
}

with(milonic=new menuname("cach")){
style=subStyle;
aI("text=Llawlyfr Cynnal a Chadw;url=http://www.taiclwyd.com/cymraeg/cachdata.htm;status=Gwybodaeth am yr adran cynnal a chadw;");
aI("text=Eich Cyfrifoldebau;url=http://www.taiclwyd.com/cymraeg/cyfrifoldebau.htm;status=Cyfrifoldebau y tenant a'r Gymdeithas ;");
aI("text=Adrodd Diffyg;url=http://www.taiclwyd.com/cymraeg/diffyg.htm;status=Adrodd diffyg cynnal a chadw;");
aI("text=Adborth Diffyg;url=http://www.taiclwyd.com/cymraeg/bodlon.htm;status=Ffurflen Boddhad Cwsmer Gwaith Cynnal a Chadw;");
}

with(milonic=new menuname("talu")){
style=subStyle;
aI("text=Eich Rhent;url=http://www.taiclwyd.com/cymraeg/rhent.htm;status=Gwybodaeth am eich rhent a thâl gwasanaeth;");
aI("text=Sut i'w dalu;url=http://www.taiclwyd.com/cymraeg/talurhent.htm;status=Sut i dalu eich rhent;");
aI("text=Cerdyn talu;url=http://www.taiclwyd.com/cymraeg/caiscerdyn.htm;status=Gofynnwch am gerdyn llithro i'w ddefnyddio i dalu'ch rhent;");
aI("text=Undebau Credyd;url=http://www.taiclwyd.com/cymraeg/undebcredyd.htm;status=Undebau Credyd;");
}

with(milonic=new menuname("datcym")){
style=subStyle;   
aI("text=Gwaith y Tîm;url=http://www.taiclwyd.com/cymraeg/datcym.htm;;status=Gwaith y Tîm;");
aI("text=Prosiect Bus Stop;url=http://www.taiclwyd.com/cymraeg/busstop.htm;status=Prosiect Bus Stop;");
aI("text=Clwb 50;url=http://www.taiclwyd.com/cymraeg/clwb50.htm;status=Clwb 50 Tai Clwyd;");
aI("text=Cynhadledd TPAS;url=http://www.taiclwyd.com/cymraeg/cynhtpas.htm;status=Cynhadledd TPAS;");
aI("text=Gweithiwr Ieuenctid Digartref;url=http://www.taiclwyd.com/cymraeg/ieudigartref.htm;status=Swydd Gweithiwr Allanol i’r Ieuenctid Digartref;");
aI("text=Siop Wybodaeth Rhuddlan;url=http://www.taiclwyd.com/cymraeg/sioprhuddlan.htm;status=Siop Wybodaeth Rhuddlan;");
aI("text=Prosiect Cae Ty Du;url=http://www.taiclwyd.com/cymraeg/caetydu.htm;status=Prosiect Cae Ty Du;");
aI("text=Prosiect Y Friog;url=http://www.taiclwyd.com/cymraeg/yfriog.htm;status=Prosiect Y Friog;");
aI("text=Gweithgareddau'r Hen Felin;url=http://www.taiclwyd.com/cymraeg/dc-henfelin.htm;status=Gweithgareddau'r Hen Felin;");
aI("text=Gweithgor Cyfranogiad Tenantiaid;url=http://www.taiclwyd.com/cymraeg/dc-gweithgor.htm;status=Gweithgor Cyfranogiad Tenantiaid;");
aI("text=Gwibdaith Sir Ddinbych;url=http://www.taiclwyd.com/cymraeg/gwibdaith.htm;status=Gwibdaith Sir Ddinbych;");
aI("text=Gwyl Ganol Haf;url=http://www.taiclwyd.com/cymraeg/gwylganolhaf.htm;status=Gwyl Ganol Haf;");
}

with(milonic=new menuname("gath")){
style=subStyle;
aI("text=Amdanom Ni;url=http://www.taiclwyd.com/cymraeg/gofalathrwsio.htm;status=Amdanom ni;");
aI("text=Cysylltwch a Ni;url=http://www.taiclwyd.com/cymraeg/cysylltugat.htm;status=Cysylltwch â ni;");
}
drawMenus();
