// Menu definition
var MenuDef = {
    type:"dropdown", 
    style:{
        css:"test2", 
        align:"right", 
        color:"white", 
        bgcolor:"#1733F5", 
        size:[132,20], 
        imgendoff:{src:"img/arr_right2.gif", width:16, height:16}, 
        imgendon:{src:"img/arr_down2.gif", width:16, height:16}, 
        direction:"h", 
        itemoffset:{x:0, y:0}, 
        box:false, 
        shadow:{color:"gray", width:3}, 
        border:{
            color:"#003882"
        }
    }, 
    itemover:{
        css:"test2", 
        align:"right", 
        color:"black", 
        bgcolor:"#C7DADD"
    }, 
    position:{
        pos:[10,0]
    }, 
    defaction:{
        title:"This is an action title"
    }, 
    imgblank:"img/1x1.gif",
    items: [ 
    {
        text:"WP Cricket", 
        menu:{
            style:{
                direction:"v"
            }, 
            position:{
                menuoffset:{x:0, y:0}
            }, 
            items:[
            {
                text:"Player Stats",
                        action:{
                            url:"QueryForm.php", 
                            target:"_blank"
                        }
            },
/*            {
                text:"Fixtures", 
                action:{
                    url:"Fixtures.html"
                }
            },
            {
                text:"Results"
            },
            {
                text:"Profiles", 
                menu:{
                    items:[
                    {
                        text:"Players", 
                        action:{
                            url:"Pprofile.html", 
                            target:"_self"
                        }
                    },
                    {
                        text:"Teams"
                    }
                    ]
                }
            },
*/            {
                text:"Cricket Education", 
                menu:{
                    items:[
/*                    {
                        text:"Scoring"
                    },
                    {
                        text:"Umpiring"
                    },
*/                    {
                        text:"Coaching Ass.", 
                        action:{
                            url:"WPCAss.html", 
                            target:"_self"
                        }
                    }
                    ]
                }
            }
            ]
        }
    },
    {
        text:"Rankings", 
        menu:{
            items:[
            {
                text:"Batsman", 
                menu:{
                    items:[
                    {
                        text:"U10", 
                        action:{
                            url:"RankBat.php?Age=U10"
                        }
                    },
                    {
                        text:"U11", 
                        action:{
                            url:"RankBat.php?Age=U11"
                        }
                    },
                    {
                        text:"U12", 
                        action:{
                            url:"RankBat.php?Age=U12"
                        }
                    },
                    {
                        text:"U13", 
                        action:{
                            url:"RankBat.php?Age=U13"
                        }
                    },
                    {
                        text:"U14", 
                        action:{
                            url:"RankBat.php?Age=U14"
                        }
                    },
                    {
                        text:"U15", 
                        action:{
                            url:"RankBat.php?Age=U15"
                        }
                    },
                    {
                        text:"U17", 
                        action:{
                            url:"RankBat.php?Age=U17"
                        }
                    },
                    {
                        text:"U19 1A", 
                        action:{
                            url:"RankBat.php?Age=U19&League=1A"
                        }
                    },
                    {
                        text:"U19 1B", 
                        action:{
                            url:"RankBat.php?Age=U19&League=1B"
                        }
                    }
                    ]
                }
            },
            {
                text:"Bowlers", 
                menu:{
                    items:[
                    {
                        text:"U10", 
                        action:{
                            url:"RankBowl.php?Age=U10"
                        }
                    },
                    {
                        text:"U11", 
                        action:{
                            url:"RankBowl.php?Age=U11"
                        }
                    },
                    {
                        text:"U12", 
                        action:{
                            url:"RankBowl.php?Age=U12"
                        }
                    },
                    {
                        text:"U13", 
                        action:{
                            url:"RankBowl.php?Age=U13"
                        }
                    },
                    {
                        text:"U14", 
                        action:{
                            url:"RankBowl.php?Age=U14"
                        }
                    },
                    {
                        text:"U15", 
                        action:{
                            url:"RankBowl.php?Age=U15"
                        }
                    },
                    {
                        text:"U17", 
                        action:{
                            url:"RankBowl.php?Age=U17"
                        }
                    },
                    {
                        text:"U19 1A", 
                        action:{
                            url:"RankBowl.php?Age=U19&League=1A"
                        }
                    },
                    {
                        text:"U19 1B", 
                        action:{
                            url:"RankBowl.php?Age=U19&League=1B"
                        }
                    }
                    ]
                }
            }
            ]
        }
    },
	{
    text:"Coaching Clinic's",
       menu:{
            items:[
           {
                text:"Durbanville", 
                action:{
                    url:"CClinick.html",
                    target:"_blank"
                }
    		},
           {
                text:"Parklands", 
                action:{
                    url:"CClinickParkL.html",
                    target:"_blank"
                }
    		}

    		]
		}
    },
    {
        text:"About Us",
                action:{
                    url:"About.html", 
                    target:"_blank"
                }
    },
/* 
   {
        text:"Communicating", 
        menu:{
            items:[
            {
                text:"Chat room", 
                action:{
                    url:"http://futurecricket.co.za/chat/", 
                    target:"_blank"
                }
            },
            {
                text:"Forums", 
                action:{
                    url:"http://futurecricket.co.za/BB/", 
                    target:"_self"
                }
            }
            {
                text:"Classifieds"
            }
           ]
        }
    },
    {
        text:"Cricket Laws"
    },
*/
    {
        text:"Links", 
        menu:{
            items:[
           {
                text:"Future Rugby", 
                action:{
                    url:"http://futurerugby.co.za", 
                    target:"_blank"
                }
            },
            {
                text:"More Links", 
                action:{
                    url:"links.html", 
                    target:"_self"
                }
            }
			]
		}
    }
    ]
};
