/**
  * 
  * @remark      Will redirect the user to the next page and exits the script.
  */
 private function _goToNextPage($aInput)
 {
     // Set the unit type based on the chosen one.
     // Redirect to the appropriate page by the search type.
     switch ($aInput['Operation']) {
         default:
         case 'ItemSearch':
             $_sTabSlug = 'search_products';
             break;
         case 'ItemLookup':
             $_sTabSlug = 'item_lookup';
             break;
         case 'SimilarityLookup':
             $_sTabSlug = 'similarity_lookup';
             break;
     }
     AmazonAutoLinks_PluginUtility::setTransient($aInput['transient_id'], $aInput, 60 * 10 * 6 * 24);
     // Go to the next page.
     exit(wp_redirect(add_query_arg(array('tab' => $_sTabSlug, 'transient_id' => $aInput['transient_id']) + $_GET, $aInput['bounce_url'])));
 }