// JavaScript Document

function newWindow(file) 
	{plannerWindow=open(file,'window','width=752,height=468,status=yes,left=8,top=8,screenX=0,screenY=0');
}


function Init() {
  if (document.layers) {
	  for (i = 0; i < sections.length; i++) {
	 	chosenMain = Dom(sections[i]);
	  	if (sections[i] != 'websites') {
			chosenMain.top = Dom('websites').pageY;
         	chosenMain.left = Dom('websites').pageX;
			chosenMain.clip.bottom = 0;
			chosenMain.visibility = 'visible';
		}     	 
      }
   } else {
  //Dom('websites').visibility = 'visible';
  //Dom('websites').display = 'block';
  }
}

function ChooseSection(strSection) {
  chosenMain = Dom(strSection);
  //chosenImg = Dom(strSection + "Img");
  	for (i=0;i<sections.length;i++) {
      if (sections[i] != strSection) {//alert(sections[i]);
          if (!document.layers) {
            Dom(sections[i]).display = "none";
			
/*
			if (Dom(sections[i] + "Img") != null) {//this must go
				Dom(sections[i] + "Img").display = "none"
			}//and this
*/

          } else {		  
              Dom(sections[i]).clip.bottom = 0;
          }
      }
  }
  if (!document.layers) {
      chosenMain.display = "block";
	  //chosenImg.display = "block";
	  //document.NSform.NStext.value = "a";
  } else {
      chosenMain.clip.bottom = 700;
  }
}