var CollapsiblePanel4 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel4", {contentIsOpen:false});
var CollapsiblePanel3 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel3", {contentIsOpen:false});
var CollapsiblePanel2 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel2", {contentIsOpen:false});
var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1", {contentIsOpen:false});

function getObj(name) {
   if (document.getElementById) return document.getElementById(name);
   else if (document.all) return document.all[name];
   else if (document.layers) return document.layers[name];
}
function displayNotice(){
	var w = getObj("NoticeWindow");
	var height = 350;
	var width = 390;
	
	// center the notice window
	
	// half the screen width minus half the new window width (plus 10 pixels: borders).
	wLeft =(window.screen.width/2) - (width/2 + 10);

 	// half the screen height minus half the new window height (plus 50 pixels: title and status bars).
    wTop = (window.screen.height/2) - (height/2 + 50);
   
	// move it down a bit
	wTop += 130;	
	
	// move it left a bit
	wLeft -= 186;
	
	// position the window and display it
	w.style.left = wLeft;
    w.style.top = wTop; 	
	w.style.visibility='inherit';
}
function hideNotice(){
	var w = getObj("NoticeWindow");
	w.style.visibility = 'hidden';
}