/**
     * Print out script to delete bookmark from database on user press 3 button.
     * <b>Use into "onUserInput" tags.</b>
     */
    public static function showDeleteBookmarkScript()
    {
        $urlLink = SERVER_HOST_AND_PATH . "php/index.php?action=" . DeleteBookmarkAction::getActionName() . URL_AMP . "data=";
        ?>
    userInput = currentUserInput();
    if ( userInput == "three" ){
        showIdle();
        result = getURL("<?php 
        echo $urlLink;
        ?>
" + getItemInfo("data"));
        redrawDisplay();
        cancelIdle();
    }
        <?php 
    }
 public function dispatchAction($action)
 {
     $this->action = $action;
     //----------------------------------------------------------------
     //------  VIEW RSS ACTIONS
     if ($action == ViewAboutPageAction::getActionName()) {
         $implAction = new ViewAboutPageAction();
         //
     } else {
         if ($action == ViewBookmarksPageAction::getActionName()) {
             $implAction = new ViewBookmarksPageAction();
             //
         } else {
             if ($action == ViewHomePageAction::getActionName()) {
                 $implAction = new ViewHomePageAction();
                 //
             } else {
                 if ($action == ViewPlaylistPageAction::getActionName()) {
                     $implAction = new ViewPlaylistPageAction();
                     //
                 } else {
                     if ($action == ViewSetupPageAction::getActionName()) {
                         $implAction = new ViewSetupPageAction();
                         //
                     } else {
                         if ($action == ViewWebsitesPageAction::getActionName()) {
                             $implAction = new ViewWebsitesPageAction();
                             //
                             //
                             //----- VIEW WEB ACTIONS --------------------------------------
                         } else {
                             if ($action == ViewWebHomePageAction::getActionName()) {
                                 $implAction = new ViewWebHomePageAction();
                                 //
                             } else {
                                 if ($action == ViewPlaylistWebPageAction::getActionName()) {
                                     $implAction = new ViewPlaylistWebPageAction();
                                     //
                                 } else {
                                     if ($action == ViewScraperMegavideoPageAction::getActionName()) {
                                         $implAction = new ViewScraperMegavideoPageAction();
                                         //
                                     } else {
                                         if ($action == SetupXvodPageAction::getActionName()) {
                                             $implAction = new SetupXvodPageAction();
                                             //
                                         } else {
                                             if ($action == ViewScraperPageAction::getActionName()) {
                                                 $implAction = new ViewScraperPageAction();
                                                 //
                                             } else {
                                                 if ($action == ViewCookiePageAction::getActionName()) {
                                                     $implAction = new ViewCookiePageAction();
                                                     //
                                                 } else {
                                                     if ($action == ViewFavouritePageAction::getActionName()) {
                                                         $implAction = new ViewFavouritePageAction();
                                                         //
                                                     } else {
                                                         if ($action == ViewInformationPageAction::getActionName()) {
                                                             $implAction = new ViewInformationPageAction();
                                                         }
                                                     }
                                                 }
                                             }
                                         }
                                     }
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
     //----------------------------------------------------------------
     //------  NON VIEW RSS ACTIONS
     if (!$implAction) {
         if ($action == SaveBookmarkAction::getActionName()) {
             $implAction = new SaveBookmarkAction();
             //
         } else {
             if ($action == DeleteBookmarkAction::getActionName()) {
                 $implAction = new DeleteBookmarkAction();
                 //
             } else {
                 if ($action == SaveFavouriteWebsiteAction::getActionName()) {
                     $implAction = new SaveFavouriteWebsiteAction();
                     //
                 }
             }
         }
     }
     //----------------------------------------------------------------
     //Execute action
     if ($implAction) {
         $implAction->dispatch();
     } else {
     }
 }