// Menu Support functions
function changeBgColour(object,BgColor) {
   var color = BgColor;
   object.style.background = color;
}
function ColourOn(object) {
   var color = '#0000CC';
   object.style.background = color;
}
function ColourOff(object) {
   var color = '#336699';
   object.style.background = color;
}
function openURLinBody(frameName, newURL) {
//    parent.frameName.location.href = newURL;
	parent.mainFrame.location.href = 'http://lists.craftbrewer.org/pipermail/craftbrewing-craftbrewer.org';
	parent.mainFrame.document.styleSheets[0].href = 'mainstyle.css';
}

// Popup Window
function popup(url,attributes) {
   	if ( attributes == undefined )
	{
   		attributes = 'width=600, height=600, toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=yes ,resizable=yes, copyhistory=0';
//   		attributes = 'width=640,height=480,toolbar=0,resizable=yes';
	}
//alert(attributes);
	popup_handle = window.open(url,'popupWindow',attributes);
}
