/* --------------------------------------------
Define the data objects globally, so they get cached in the browser.	
 -------------------------------------------- */
	/* --------------------------------------------
	ObjMainMenuItem() - An object holding MenuItem objects
	Constructor: accepts one arg:
		0 - (String) strMenuContainerId: The id of of the parent object that encloses the Main Menu.  In this case, it's the ID of a table cell
	 -------------------------------------------- */
	var objBanner = new ObjBannerRotator(self, "bannerImg", 5);
	
	// -- Populate instance with Banner Ad Item object
	/* --------------------------------------------
	ObjBannerItem()
	Constructors: requires 1 args:
		0 - (String) strInstanceNameIn: name of the instance of the object created in the page.
					 Used to write calls to methods of the instance from the generated code.
		1 - (String) strImgSrc: the path to the image file for the ad on the server
		2 - (String, optional) strHref: a URL to which the image should be linked.  If  blank, then no link is created.
	 -------------------------------------------- */

	objBanner.addBanner( new ObjBannerItem("banner1","images/ERK-Banner-1.jpg","") );
	objBanner.addBanner( new ObjBannerItem("banner1","images/ERK-Banner-2.jpg","") );
	objBanner.addBanner( new ObjBannerItem("banner1","images/ERK-Banner-3.jpg","") );
	objBanner.addBanner( new ObjBannerItem("banner1","images/ERK-Banner-4.jpg","") );

	/* --------------------------------------------
	ObjMainMenuItem() - An object holding MenuItem objects
	Constructor: accepts one arg:
		0 - (String) strMenuContainerId: The id of of the parent object that encloses the Main Menu.  In this case, it's the ID of a table cell
	 -------------------------------------------- */
	var mMenu = new ObjMainMenu("mMenu");

	
	// -- Create MenuItem objects for Main Menu, add to MainMenuItem object using .add method
	
	/* --------------------------------------------
	ObjMainMenuItem - An object that contains all data to describe a main menu item
	Constructors: will accept 0-6 args, adding them in order of:
		0 - (String) img: source or "at rest" image
		1 - (String) imgOver: source of "over" image
		2 - (String) imgSelected: source of "selected" image
		3 - (int) orderNum: order number of appearance in menu
		4 - (String) href: where you wnat link to go
		5 - (bool) isPopup: should href target a popup window? (not yet implemented)
	 -------------------------------------------- */
	
	// -- Populate Main Menu Object with data.

	//mMenu.add( new ObjMainMenuItem("","","",0,"",false) );
	mMenu.add( new ObjMainMenuItem("images/Homew.jpg","images/home3.jpg","images/Homeg.jpg",0,"index.shtml",false) );
	mMenu.add( new ObjMainMenuItem("images/GenInfow.jpg","images/geninfo3.jpg","images/GenInfow.jpg", 2,"",false, "sm2") );
	mMenu.add( new ObjMainMenuItem("images/Trainingw.jpg","images/training3.jpg","images/Trainingg.jpg",4,"training.shtml",false) );
	mMenu.add( new ObjMainMenuItem("images/Puppiesw.jpg","images/puppies3.jpg","images/Puppiesg.jpg",6,"puppies.shtml",false) );
	mMenu.add( new ObjMainMenuItem("images/StartedDogsw.jpg","images/starteddogs3.jpg","images/Starteddogsg.jpg",8,"started.shtml",false) );
	mMenu.add( new ObjMainMenuItem("images/StudDogsw.jpg","images/studdogs3.jpg","images/StudDogsg.jpg",10,"stud.shtml",false) );
	mMenu.add( new ObjMainMenuItem("images/Photosw.jpg","images/photos3.jpg","images/Photosg.jpg",12,"photos.shtml",false) );
	



