<?PHP
/* JAG Online -------------------------- 06/03/2004 ------------------ v1.31 [6.5~7.1] */
/*                                                                                     */
/*      ////////// //\\ \\\\\\\\\\       Created by Dashe at http://nsd.jagamarog.com  */
/*             // //  \\ \\                                                            */
/*            // //    \\ \\             Email Address:           dashe@jagamarog.com  */
/*           // /////\\\\\ \\   \\\\\                                                  */
/*          // //        \\ \\      \\                                                 */
/*         // //          \\ \\\\\\\\\\                                                */
/* /////////  a g a m a r o g . c o m   N u k e   S c r i p t   D e v e l o p m e n t  */
/*                                                                                     */     
/* Created By Dashe -> http://nsd.jagamarog.com                                        */ 
/* تعريب ملتقى العرب  http://arabmultaqa.com                                                                                     */
/* ----------------------------------------------------------------------------------- */

/* DO NOT EDIT BELOW UNLESS YOU KNOW WHAT YOU ARE DOING ------------------------------ */

?>
		<SCRIPT TYPE='text/javascript'>
			function CheckBoxStatus()
				{
				f = document.disen;
				
				/* Block 1 --------------------------------------------------------- */	
				if (f.Block1.selectedIndex > 0)								// Does This if Not None
					{
					f.Block2.disabled 						= false;
					f.Block1Show.disabled 					= false;					
					if (f.Block1.selectedIndex == 1)						// Does if is Login
						{
						f.Block1Show.disabled 				= true;
						f.Block1Show.options(0).selected 	= true;
						}
					if (f.Block1.selectedIndex == 2)						// Does if is PM
						{
						f.Block1Show.disabled 				= true;
						f.Block1Show.options(1).selected 	= true;												
						}
					}
				else														// Does This if is None
					{
					f.Block2.disabled 						= true;
					f.Block2.options(0).selected 			= true;
					f.Block1Show.disabled 					= true;
					f.Block1Show.options(0).selected 		= true;
					}
				
				/* Block 2 --------------------------------------------------------- */	
				if (f.Block1.selectedIndex > 0 && f.Block2.selectedIndex > 0)
					{
					f.Block3.disabled 						= false;
					f.Block2Show.disabled 					= false;
					if (f.Block2.selectedIndex == 1)						// Does if is Login
						{
						f.Block2Show.disabled 				= true;
						f.Block2Show.options(0).selected 	= true;												
						}
					if (f.Block2.selectedIndex == 2)						// Does if is PM
						{
						f.Block2Show.disabled 				= true;
						f.Block2Show.options(1).selected 	= true;												
						}
					}
				else
					{
					f.Block3.disabled 						= true;
					f.Block3.options(0).selected 			= true;
					f.Block2Show.disabled 					= true;
					f.Block2Show.options(0).selected 		= true;					
					}
					
				/* Block 3 --------------------------------------------------------- */	
				if (f.Block1.selectedIndex > 0 && f.Block2.selectedIndex > 0 && f.Block3.selectedIndex > 0)
					{
					f.Block4.disabled 						= false;
					f.Block3Show.disabled 					= false;
					if (f.Block3.selectedIndex == 1)						// Does if is Login
						{
						f.Block3Show.disabled 				= true;
						f.Block3Show.options(0).selected 	= true;												
						}
					if (f.Block3.selectedIndex == 2)						// Does if is PM
						{
						f.Block3Show.disabled 				= true;
						f.Block3Show.options(1).selected 	= true;												
						}
					}
				else
					{
					f.Block4.disabled 						= true;
					f.Block4.options(0).selected 			= true;
					f.Block3Show.disabled 					= true;
					f.Block3Show.options(0).selected 		= true;
					}

				/* Block 3 --------------------------------------------------------- */	
				if (f.Block1.selectedIndex > 0 && f.Block2.selectedIndex > 0 && f.Block3.selectedIndex > 0 && f.Block4.selectedIndex > 0)
					{
					f.Block4Show.disabled 					= false;
					if (f.Block4.selectedIndex == 1)						// Does if is Login
						{
						f.Block4Show.disabled 				= true;
						f.Block4Show.options(0).selected 	= true;												
						}
					if (f.Block4.selectedIndex == 2)						// Does if is Login
						{
						f.Block4Show.disabled 				= true;
						f.Block4Show.options(1).selected 	= true;												
						}
					}
				else
					{
					f.Block4Show.disabled 					= true;
					f.Block4Show.options(0).selected 		= true;
					}
				}
		</SCRIPT>
