  	 var lastDivId = '';
	 function hidethediv(divId)
	 {
	    if(document.getElementById(divId))
		{
		   document.getElementById(divId).style.display='none';
		}
	 }
	 
	 function showthediv(divId)
	 {
	    if(document.getElementById(divId))
		{
		   document.getElementById(divId).style.display='';
		}
	 }
	 
	 function getDiv()
	 {
	    var optSelectCategoryMenu = document.getElementById('categoryMenu');
		var optSelectSubCategoryMenu = document.getElementById('subMenu');
	    var optSelectConnectionType = document.getElementById('ConnectionType');
		var optSelectISP = document.getElementById('ISPService');
		var divId = '';

		if (lastDivId) { hidethediv(lastDivId); }
		
		if(optSelectCategoryMenu.value != '--Please select a Category--' &&
		   optSelectSubCategoryMenu.value != '--Please select a Sub-category--')
		{
 	       document.getElementById("FormSubmit").disabled = false;
		}
		else
		{
 	       document.getElementById("FormSubmit").disabled = true;
		}
		
		var connectionType = '';
		if (optSelectConnectionType.value == 'Broadband/High Speed Internet' ||
		    optSelectConnectionType.value == 'Wireless Network' ||
		    optSelectConnectionType.value == 'VDSL - Choice Online' ||
		    optSelectConnectionType.value == 'IPTV / BSI' ||
		    optSelectConnectionType.value == 'Other')
		{
		   connectionType = 'HSI';
		}
		else
		{
		   connectionType = 'Dialup';
		}
		
		if (optSelectISP.value == 'qwestoffice.net' &&
		    (optSelectCategoryMenu.value == 'E-mail' ||
			 optSelectCategoryMenu.value == 'Personal Web Pages' ||
			 optSelectCategoryMenu.value == 'Domain Name'))
		{
		   showthediv('PPPDomain');
		}
		else
		{
		   hidethediv('PPPDomain');
		}
		
/*-------------------------------------------------------------------------------------
    If the ISP is Qwest.net
	   If Category is Static IPs
	      If Sub-category is How to Obtain
	      Else If Sub-category is Configuration
	      If Sub-category is Reverse DNS Entries
---------------------------------------------------------------------------------------*/
        if (optSelectISP.value == 'qwest.net' && optSelectCategoryMenu.value == 'Static IP\'s')
		{
		   divId = divId + 'StaticIp';
		   if (connectionType == 'HSI')
		   {
    		   if (optSelectSubCategoryMenu.value == 'How to Obtain')
    		   {
			      divId = divId + 'HowToObtain';
    		   }
			   else if (optSelectSubCategoryMenu.value == 'Configuration')
			   {
			      divId = divId + 'Configuration';
			   }
			   else if (optSelectSubCategoryMenu.value == 'Reverse DNS Entries')
			   {
			      divId = divId + 'ReverseDNSEntries';
			   }
		       else if (optSelectSubCategoryMenu.value == 'Other')
		       {
		          divId = 'NoCannedQuestions';
		       }
			   showthediv(divId);
			   lastDivId = divId;
			}
		   else if (connectionType == 'Dialup')
		   {
		      divId = 'NoCannedQuestions';
			  showthediv(divId);
			  lastDivId = divId;
		   }
		}																						 
/*-------------------------------------------------------------------------------------
    If the ISP is Qwest.net
	   If Category is Personal Web Pages
          If Sub-category is Uploading Web Files
	          If Connection Type is HSI or Connection Type is Dialup/ISDN
          Else If Sub-category is Link domain to Web Space
	          If Connection Type is HSI or Connection Type is Dialup/ISDN
          Else If Sub-category is Deleting / Modifying Files
	          If Connection Type is HSI
			  Else If Connection Type is Dialup/ISDN
	      Else If Sub-category is Creating Web Space
	          If Connection Type is HSI
			  Else If Connection Type is Dialup/ISDN
---------------------------------------------------------------------------------------*/
        else if (optSelectISP.value == 'qwest.net' && optSelectCategoryMenu.value == 'Personal Web Pages')
		{
		   if (optSelectSubCategoryMenu.value == 'Uploading Web Files')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
      		     divId = divId + 'PersonalWebPages';
			     divId = divId + 'UploadingWebFiles';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Link Domain to Web Space')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
		         divId = divId + 'PersonalWebPages';
			     divId = divId + 'LinkDomainToWebSpace';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Deleting / Modifying Files')
		   {
		     if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSI';
        	     divId = divId + 'PersonalWebPages';
		         divId = divId + 'DeletingModifyingFiles';
			  }
			  else if (connectionType == 'Dialup')
			  {
			     divId = divId + 'Dialup';
        	     divId = divId + 'PersonalWebPages';
		         divId = divId + 'DeletingModifyingFiles';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Creating Web Space')
		   {
		      if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSI';
        	     divId = divId + 'PersonalWebPages';
		         divId = divId + 'CreatingWebSpace';
			  }
			  else if (connectionType == 'Dialup')
			  {
			     divId = divId + 'Dialup';
        	     divId = divId + 'PersonalWebPages';
		         divId = divId + 'CreatingWebSpace';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Other')
		   {
		      divId = 'NoCannedQuestions';
		   }
		   showthediv(divId);
    	   lastDivId = divId;
		}		
/*-------------------------------------------------------------------------------------
    If the ISP is Qwest.net
        If Category is Domains/DNS issues
	         If Sub-category is New Domain/Linking to account
	   		 	If Connection Type is HSI
        	    Else If Connection Type is Dialup/ISDN
          	 Else If Sub-category is Modify Existing
	   	  	    If Connection Type is HSI
        	    Else If Connection Type is Dialup/ISDN
	         If Sub-category is New DNS record (A, PTR, MX)
				If Connection Type is HSI or Connection Type is Dialup/ISDN
---------------------------------------------------------------------------------------*/
        else if (optSelectISP.value == 'qwest.net' && optSelectCategoryMenu.value == 'Domains/DNS issues')
		{
		   if (optSelectSubCategoryMenu.value == 'New Domain/Linking to account')
		   {
		      if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSI';
			     divId = divId + 'DomainsDNSIssues';
			     divId = divId + 'NewDomainLinkingToAccount';
			  }
			  else if (connectionType == 'Dialup')
			  {
			     divId = divId + 'Dialup';
			     divId = divId + 'DomainsDNSIssues';
			     divId = divId + 'NewDomainLinkingToAccount';
			  }
		   }
		   else if  (optSelectSubCategoryMenu.value == 'Modify Existing')
		   {
		      if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSI';
			     divId = divId + 'DomainsDNSIssues';
			     divId = divId + 'ModifyExisting';
			  }
			  else if (connectionType == 'Dialup')
			  {
			     divId = divId + 'Dialup';
			     divId = divId + 'DomainsDNSIssues';
			     divId = divId + 'ModifyExisting';
			  }
		   }
		   else if  (optSelectSubCategoryMenu.value == 'New DNS record (A, PTR, MX)')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'DomainsDNSIssues';
			     divId = divId + 'NewDNSRecord';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Other')
		   {
		      divId = 'NoCannedQuestions';
		   }
		   showthediv(divId);
    	   lastDivId = divId;
		}
		else if (optSelectISP.value == 'MSN Premium ' && optSelectCategoryMenu.value == 'Addt\'l software problems')
		{
		   if (optSelectSubCategoryMenu.value == 'MSN Messenger')
		   {
			  divId = 'MSNMessenger';
		   }
		   else if (optSelectSubCategoryMenu.value == 'Digital Photo/Photo Email')
		   {
		      divId = 'DigitalPhoto';
		   }
		   else if (optSelectSubCategoryMenu.value == 'Calendar')
		   {
		      divId = 'Calendar';
		   }
		   else if (optSelectSubCategoryMenu.value == 'Parental Controls/Family Safety')
		   {
		      divId = 'ParentalControls';
		   }
		   else if (optSelectSubCategoryMenu.value == 'Other')
		   {
		      divId = 'NoCannedQuestions';
		   }
		   showthediv(divId);
    	   lastDivId = divId;
		}
		else if ((optSelectISP.value == 'qwest.net' || optSelectISP.value == 'MSN Premium ') && optSelectCategoryMenu.value == 'E-mail')
		{
		   if (optSelectSubCategoryMenu.value == 'Can\'t Send')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'Email';
			     divId = divId + 'CantSend';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Can\'t Receive')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'Email';
			     divId = divId + 'CantReceive';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Set-up/Settings')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'Email';
			     divId = divId + 'SetupSettings';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Add/Delete Sub-account')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'Email';
			     divId = divId + 'AddDeleteSubAccount';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Account Information')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'Email';
			     divId = divId + 'AccountInformation';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Slow Response')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'Email';
			     divId = divId + 'SlowResponse';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Vanity emails')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'Email';
			     divId = divId + 'VanityEmails';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Other')
		   {
		      divId = 'NoCannedQuestions';
		   }
		   showthediv(divId);
    	   lastDivId = divId;
		}
		else if ((optSelectISP.value == 'qwest.net' || optSelectISP.value == 'MSN Premium ') && optSelectCategoryMenu.value == 'Internet Software problems')
		{
		   if (optSelectSubCategoryMenu.value == 'Installation')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'InternetSoftwareProblems';
			     divId = divId + 'Installation';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Home Page')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'InternetSoftwareProblems';
			     divId = divId + 'HomePage';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Bookmarks/Favorites')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'InternetSoftwareProblems';
			     divId = divId + 'BookmarksFavorites';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Settings/Optimizing')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'InternetSoftwareProblems';
			     divId = divId + 'SettingsOptimizing';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Other')
		   {
		      divId = 'NoCannedQuestions';
		   }
		   showthediv(divId);
    	   lastDivId = divId;
		}
		else if ((optSelectISP.value == 'qwest.net' || optSelectISP.value == 'MSN Premium ') && optSelectCategoryMenu.value == 'Account Info changes')
		{
		   if (optSelectSubCategoryMenu.value == 'Change Password')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'AccountInfoChanges';
			     divId = divId + 'ChangePassword';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Change User ID')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'AccountInfoChanges';
			     divId = divId + 'ChangeUserID';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Registered Name')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'AccountInfoChanges';
			     divId = divId + 'RegisteredName';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Account Security - PIN')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'AccountInfoChanges';
			     divId = divId + 'AccountSecurityPIN';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Other')
		   {
		      divId = 'NoCannedQuestions';
		   }
		   showthediv(divId);
    	   lastDivId = divId;
		}
		else if ((optSelectISP.value == 'qwest.net' || optSelectISP.value == 'MSN Premium ') && optSelectCategoryMenu.value == 'Security Software')
		{
		   if (optSelectSubCategoryMenu.value == 'Qwest.net ISS')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'SecuritySoftware';
			     divId = divId + 'QwestDotNetISS';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'McAfee Antivirus' ||
		            optSelectSubCategoryMenu.value == 'McAfee Firewall' ||
		            optSelectSubCategoryMenu.value == 'Webroot SpySweeper' ||
		            optSelectSubCategoryMenu.value == 'LiveOne Care')
		   {
		      if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSISecuritySoftware';
			  }
			  else
			  {
			     divId = 'NoCannedQuestions';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Other')
		   {
		      divId = 'NoCannedQuestions';
		   }
		   showthediv(divId);
    	   lastDivId = divId;
		}
		else if (optSelectCategoryMenu.value == 'General connection problems')
		{
		   if (optSelectSubCategoryMenu.value == 'Can\'t connect')
		   {
		      if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSI';
			     divId = divId + 'GeneralConnectionProblems';
			     divId = divId + 'CantConnect';
			  }
			  else if (connectionType == 'Dialup')
			  {
			     divId = divId + 'Dialup';
			     divId = divId + 'GeneralConnectionProblems';
			     divId = divId + 'CantConnect';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Disconnects')
		   {
		      if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSI';
			     divId = divId + 'GeneralConnectionProblems';
			     divId = divId + 'Disconnects';
			  }
			  else if (connectionType == 'Dialup')
			  {
			     divId = divId + 'Dialup';
			     divId = divId + 'GeneralConnectionProblems';
			     divId = divId + 'Disconnects';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Connection Speed')
		   {
		      if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSI';
			     divId = divId + 'GeneralConnectionProblems';
			     divId = divId + 'ConnectionSpeed';
			  }
			  else if (connectionType == 'Dialup')
			  {
			     divId = divId + 'Dialup';
			     divId = divId + 'GeneralConnectionProblems';
			     divId = divId + 'ConnectionSpeed';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Busy Signals')
		   {
		      if (connectionType == 'Dialup')
			  {
			     divId = divId + 'Dialup';
			     divId = divId + 'GeneralConnectionProblems';
			     divId = divId + 'BusySignals';
			  }
		      else
		      {
		         divId = 'NoCannedQuestions';
		      }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Authentication')
		   {
		      if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSI';
			     divId = divId + 'GeneralConnectionProblems';
			     divId = divId + 'Authentication';
			  }
			  else if (connectionType == 'Dialup')
			  {
			     divId = divId + 'Dialup';
			     divId = divId + 'GeneralConnectionProblems';
			     divId = divId + 'Authentication';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Downloading Files')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'GeneralConnectionProblems';
			     divId = divId + 'DownloadingFiles';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Change PPP Password')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'GeneralConnectionProblems';
			     divId = divId + 'ChangePPPPassword';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Change PPP Username')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'GeneralConnectionProblems';
			     divId = divId + 'ChangePPPUsername';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Other')
		   {
		      divId = 'NoCannedQuestions';
		   }
		   showthediv(divId);
    	   lastDivId = divId;
		}
		else if (optSelectCategoryMenu.value == 'Wireless - Modem to computer connection')
		{
		   if (optSelectSubCategoryMenu.value == 'Turning Wireless on in Modem')
		   {
		      if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSI';
			     divId = divId + 'WirelessModemToComputerConnection';
			     divId = divId + 'TurningWirelessOnInModem';
			  }
		      else
		      {
		         divId = 'NoCannedQuestions';
		      }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Security Settings for Wireless')
		   {
		      if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSI';
			     divId = divId + 'WirelessModemToComputerConnection';
			     divId = divId + 'SecuritySettingsForWireless';
			  }
		      else
		      {
		         divId = 'NoCannedQuestions';
		      }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Configuring Wireless adapters')
		   {
		      if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSI';
			     divId = divId + 'WirelessModemToComputerConnection';
			     divId = divId + 'ConfiguringWirelessAdapters';
			  }
		      else
		      {
		         divId = 'NoCannedQuestions';
		      }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Other')
		   {
		      divId = 'NoCannedQuestions';
		   }
		   showthediv(divId);
    	   lastDivId = divId;
		}
		else if (optSelectCategoryMenu.value == 'Networking - Multiple computers connected')
		{
		   if (optSelectSubCategoryMenu.value == 'Adding computer(s) to network')
		   {
		      if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSI';
			     divId = divId + 'NetworkingMultipleComputersConnected';
			     divId = divId + 'AddingComputerToNetwork';
			  }
		      else
		      {
		         divId = 'NoCannedQuestions';
		      }
		   }
		   else if (optSelectSubCategoryMenu.value == 'File/Printer Sharing')
		   {
		      if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSI';
			     divId = divId + 'NetworkingMultipleComputersConnected';
			     divId = divId + 'FilePrinterSharing';
			  }
		      else
		      {
		         divId = 'NoCannedQuestions';
		      }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Firewall Settings')
		   {
		      if (connectionType == 'HSI')
			  {
			     divId = divId + 'HSI';
			     divId = divId + 'NetworkingMultipleComputersConnected';
			     divId = divId + 'FirewallSettings';
			  }
		      else
		      {
		         divId = 'NoCannedQuestions';
		      }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Parental Control Settings')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'NetworkingMultipleComputersConnected';
			     divId = divId + 'ParentalControlSettings';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Setting up Remote Access')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'NetworkingMultipleComputersConnected';
			     divId = divId + 'SettingUpRemoteAccess';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Configuring Wireless adapters')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'NetworkingMultipleComputersConnected';
			     divId = divId + 'ConfiguringWirelessAdapters';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Other')
		   {
		      divId = 'NoCannedQuestions';
		   }
		   showthediv(divId);
    	   lastDivId = divId;
		}
		else if (optSelectCategoryMenu.value == 'ISP/DSL Speed/Package changes')
		{
		   if (optSelectSubCategoryMenu.value == 'Change Service')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'ISPDSLSpeedPackageChanges';
			     divId = divId + 'ChangeService';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Account Upgrade')
		   {
		      if ((connectionType == 'HSI') ||
			      (connectionType == 'Dialup'))
			  {
			     divId = divId + 'ISPDSLSpeedPackageChanges';
			     divId = divId + 'AccountUpgrade';
			  }
		   }
		   else if (optSelectSubCategoryMenu.value == 'Other')
		   {
		      divId = 'NoCannedQuestions';
		   }
		   showthediv(divId);
    	   lastDivId = divId;
		}
		else
		{
		   divId = 'NoCannedQuestions'
		   showthediv(divId);
    	   lastDivId = divId;
		}
	 }
