//
//
//  Copyright NETSPACE, All rights reserved
//
// --------------------------------------------------------------------------
//
//  Author(s) :		      ACUNDEGER Erol
//  Creation date :   	      
//  Last Modification :
//
// --------------------------------------------------------------------------
//	
//  Purpose :                 Create Radio Buttons functions
//
// --------------------------------------------------------------------------
//
//

function rmMoveLayers() {
	if (gotlayers) {
		if (NS) {
			topheight = 0;
                        topwidth = 0;
                        document.layers['None'].left = topwidth;
                        document.layers['None'].top = topheight;
                        document.layers['News'].left = topwidth;
                        document.layers['News'].top = topheight;
                        document.layers['Guide'].left = topwidth;
			document.layers['Guide'].top = topheight;

                        
		} else {
			topheight = 0;
                        topwidth = 0;
                        document.all['None'].style.pixelleft = topwidth;
                        document.all['None'].style.pixeltop = topheight;
			document.all['News'].style.pixelleft = topwidth;
			document.all['News'].style.pixeltop = topheight;
			document.all['Guide'].style.pixelleft = topwidth;
			document.all['Guide'].style.pixeltop = topheight;
		} 
	}
}

function rmPopUp(menuName,on) {

        if ( lastName != "None" ) {
          return;
        }

	if (gotlayers) {
		if (on) {
                         
			  rmMoveLayers();
			  if (NS) {
				document.layers[menuName].visibility = "show";
			  } else {
				document.all[menuName].style.visibility = "visible";
			  }
		} else {
			  if (NS) {
				document.layers[menuName].visibility = "hide";
			  } else {
				document.all[menuName].style.visibility = "hidden";
			  }
		}
	}
}
