function init(){
if(!window.standards) return;
if(window.inited) return;
//////////////////////////////////  GLOBAL OFFSET VARIABLES //////////////////////////////	
	if(bw.wIE || bw.ns){
		menuOffsetTop = 0; // first level menu. smaller number is more up
		menuOffsetLeft = 2; // first level menu. smaller number is more right.
	}
	else if(bw.mIE){
		menuOffsetTop = 10; // first level menu. smaller number is more right
		menuOffsetLeft = 10; // first level menu. smaller number is more right
	}
	submenuOffsetTop = 4 ;// smaller number is closer to top 3rd level

	if(bw.wIE) submenuOffsetLeft = 5; // left-side menu. smaller number is closer to menu
	else if(bw.mIE) submenuOffsetLeft = 10; // left-side menu. smaller number is closer to menu

	submenuOffsetRight = 50;// right-side menu.  smaller number is closer to menu.
//////////////////////////////////  GLOBAL OFFSET VARIABLES //////////////////////////////	


	var uiMenubar = new Menubar();

var galMenu = new Menu('Gallery');
uiMenubar.add(galMenu);
	galMenu.add(new MenuItem('View Now','http://cannedswank.com/Purchase/fotoplayer_out/index.html'));
	galMenu.add(new MenuItem('Site Links','http://cannedswank.com/html/site_index/index.html'));
	
	var stbMenu = new Menu('Prints');	
uiMenubar.add(stbMenu);
	stbMenu.add(new MenuItem('Pricing','http://cannedswank.com/html/pricing/index.html'));
	stbMenu.add(new MenuItem('Paper Types','http://cannedswank.com/html/paper/index.html'));
	stbMenu.add(new MenuItem('Mounting','http://cannedswank.com/html/mounting/index.html'));
	stbMenu.add(new MenuItem('Framing','http://cannedswank.com/html/framing/index.html'));
	stbMenu.add(new MenuItem('Albums','http://cannedswank.com/html/albums/index.html'));
	stbMenu.add(new MenuItem('Packaging','http://cannedswank.com/html/packaging/index.html'));
	
uiMenubar.add(itemsMenu = new Menu('Gift Items'));
	itemsMenu.add(new MenuItem('Puzzles','http://cannedswank.com/html/puzzles/index.html'));
	itemsMenu.add(new MenuItem('Buttons','http://cannedswank.com/html/buttons/index.html'));
	itemsMenu.add(new MenuItem('Trading Cards','http://cannedswank.com/html/trading/index.html'));
	itemsMenu.add(new MenuItem('Photo Art','http://cannedswank.com/html/art/index.html'));

	
uiMenubar.add(dwaMenu = new Menu('Products'));
	dwaMenu.add(new MenuItem('Calendars','http://cannedswank.com/html/calendars/index.html'));
	dwaMenu.add(new MenuItem('Business Cards','http://cannedswank.com/html/businesscards/index.html'));
	dwaMenu.add(new MenuItem('Greeting Cards','http://cannedswank.com/html/greeting/index.html'));	
	dwaMenu.add(new MenuItem('Post Cards','http://cannedswank.com/html/postcards/index.html'));
	dwaMenu.add(new MenuItem('Proof Sets','http://cannedswank.com/html/proofs/index.html'));
	dwaMenu.add(new MenuItem('DVD','http://cannedswank.com/html/DVD/index.html'));
	
	uiMenubar.add(porMenu = new Menu('Portraits'));
	porMenu.add(new MenuItem('Animals','http://cannedswank.com/html/animals/index.html'));
	porMenu.add(new MenuItem('People','http://cannedswank.com/html/people/index.html'));
	porMenu.add(new MenuItem('Objects','http://cannedswank.com/html/objects/index.html'));

	uiMenubar.add(corMenu = new Menu('Corporate'));
	corMenu.add(new MenuItem('Exhibits','http://cannedswank.com/html/exhibits/index.html'));
	corMenu.add(new MenuItem('Multi-Frame','http://cannedswank.com/html/multiframe/index.html'));
	corMenu.add(new MenuItem('Motivational','http://cannedswank.com/html/motivational/index.html'));
	corMenu.add(new MenuItem('DVD','http://cannedswank.com/html/DVD/index.html'));
	
	corMenu.add(new MenuItem('Not Motivational','http://cannedswank.com/html/motivationalnot/index.html'));
	uiMenubar.add(theMenu = new Menu('Theater'));
	theMenu.add(new MenuItem('Events','http://cannedswank.com/html/events/index.html'));
	theMenu.add(new MenuItem('Theater','http://cannedswank.com/html/theater/index.html'));
	theMenu.add(new MenuItem('Recitals','http://cannedswank.com/html/recitals/index.html'));
	theMenu.add(new MenuItem('DVD','http://cannedswank.com/html/DVD/index.html'));
	
	
	
uiMenubar.add(plmMenu = new Menu('Information'));
	plmMenu.add(new MenuItem('About','http://cannedswank.com/html/about/index.html'));
	plmMenu.add(new MenuItem('Shipping','http://cannedswank.com/html/shipping/index.html'));
	plmMenu.add(new MenuItem('Contact','http://cannedswank.com/html/contact/index.html'));
	
	
	
	uiMenubar.useMouseOver();
	document.body.appendChild(uiMenubar);
	
	// setWidth method added april 2, 2002.
	uiMenubar.setWidth("auto",0);
	
	window.inited = true;
}