var o;
function PLX_obj(n, d) {
	var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
		d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=plxObj(n,d.layers[i].document);
	if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function PLX_loadMenus() {
	if (window.fw_menu_0) return;
	window.fw_menu_0=new Menu("root",162,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#b31126","#016589");
	fw_menu_0.addMenuItem("Whaler Cove","location='http://www.albanytriclub.com.au/Photo Gallery/whalerC2011.aspx'");
	fw_menu_0.addMenuItem("Denmark Handicap 2011","location='http://www.albanytriclub.com.au/Photo Gallery/DenmarkTri.aspx'");
	fw_menu_0.addMenuItem("Women's Only 2011","location='http://www.albanytriclub.com.au/photo gallery/Womens2011.aspx'");
	fw_menu_0.addMenuItem("G.S.B.C. 1","location='http://www.albanytriclub.com.au/Photo Gallery/GSBC1.aspx'");
	fw_menu_0.addMenuItem("Midds Aqua","location='http://www.albanytriclub.com.au/Photo Gallery/MidAqua2011.aspx'");
	fw_menu_0.addMenuItem("ALAC Triathlon 2011","location='http://www.albanytriclub.com.au/photo gallery/ALACtri2011.aspx'");
	fw_menu_0.addMenuItem("Lake Seppings Duathlon","location='http://www.albanytriclub.com.au/Photo Gallery/LakeSepping.aspx'");
	fw_menu_0.addMenuItem("ALAC Duathlon","location='http://www.albanytriclub.com.au/Photo Gallery/Duathlon.aspx'");
	fw_menu_0.addMenuItem("Midds 27 Feb","location='http://www.albanytriclub.com.au/Photo Gallery/Midds27Feb.aspx'");
	fw_menu_0.addMenuItem("Whalers Cove 20 Feb","location='http://www.albanytriclub.com.au/Photo Gallery/2.aspx'");
	fw_menu_0.addMenuItem("Yacht Club 13 Feb ","location='http://www.albanytriclub.com.au/Photo Gallery/yachtclub.aspx'");
	fw_menu_0.addMenuItem("Women's tri","location='http://www.albanytriclub.com.au/Photo Gallery/Womenstri.aspx'");
	fw_menu_0.addMenuItem("Bay Merchants series 2","location='http://www.albanytriclub.com.au/Photo Gallery/Bays2.aspx'");
	fw_menu_0.addMenuItem("Bay Merchants series 1","location='http://www.albanytriclub.com.au/Photo Gallery/Bays1.aspx'");
	fw_menu_0.addMenuItem("Maitraya Handicap","location='http://www.albanytriclub.com.au/Photo Gallery/Maitraya.aspx'");
	fw_menu_0.addMenuItem("Whalers Cove","location='http://www.albanytriclub.com.au/Photo Gallery/WhalersCove.aspx'");
	fw_menu_0.fontWeight="bold";
	fw_menu_0.hideOnMouseOut=true;
	window.fw_menu_1=new Menu("root",140,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#b31126","#016589");
	fw_menu_1.addMenuItem("Fastest Classic Splits","location='http://www.albanytriclub.com.au/fastSpliTim.aspx'");
	fw_menu_1.addMenuItem("News","location='http://www.albanytriclub.com.au/newsletter.aspx'");
	fw_menu_1.fontWeight="bold";
	fw_menu_1.hideOnMouseOut=true;
	window.fw_menu_2=new Menu("root",84,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#b31126","#016589");
	fw_menu_2.addMenuItem("Try a Tri","location='http://www.albanytriclub.com.au/Information/TryATri.aspx'");
	fw_menu_2.addMenuItem("Womens Tri","location='http://www.albanytriclub.com.au/Information/WomensTri.aspx'");
	fw_menu_2.fontWeight="bold";
	fw_menu_2.hideOnMouseOut=true;
	fw_menu_2.writeMenus();
}
function PLX_showMenu(oMenu,sID)
{
	var o = PLX_obj(sID);
	var nLeft = 1, nTop = o.offsetHeight;
	if (o.offsetParent) {
		while (o.offsetParent) {
			nLeft += o.offsetLeft;
			nTop += o.offsetTop;
			o = o.offsetParent;
		}
	}
	else if (o.x) {
		nLeft += o.x;
		nTop += o.y;
	}
	window.FW_showMenu(oMenu,nLeft,nTop);
}

