// Common features required across pages

// **** AMEND THIS VALUE TO NUMBER OF CURRENT GLOBAL MENU ITEMS ****
var menu_titles_count = 6;
var line_menu_titles_count = 6;



function get_main_menu_item(style, menu_no) // style parameter not actively doing anything yet
{

    var p_format_prefix = "<tr valign=\"Top\"><td valign=\"Top\"><a CLASS=\"menu1\" href=\"";
    var p_format_suffix = "</a><BR></td></tr>";

    // pre-format the link
    document.write(p_format_prefix);

    switch(menu_no)
    {

    case 1 :
    {
     // MENU 1 TITLE GOES HERE
     document.write("index.html\">Home");
     break;
    }

    case 2 :
    {
     // MENU 2 TITLE GOES HERE
     document.write("terroroniraq.htm\">Terror on Iraq");
     break;
    }

    case 3 :
    {
     // MENU 3 TITLE GOES HERE
     document.write("reviews.htm\">Reviews");
     break;
    }

    case 4 :
    {
     // MENU 4 TITLE GOES HERE
     document.write("archived.htm\">Archived");
     break;
    }

    case 5 :
    {
     // MENU 5 TITLE GOES HERE
     document.write("comments.htm\">Your Comments");
     break;
    }

   case 6 :
    {
     // MENU 6 TITLE GOES HERE
     document.write("about.htm\">About <BR> Uncensored Press");
     break;
    }

    case 7 :
    {
     // MENU 7 TITLE GOES HERE
     //document.write("Title7");
     break;
    }

    case 8 :
    {
     // MENU 8 TITLE GOES HERE
     //document.write("Title8");
     break;
    }

    case 9 :
    {
     // MENU 9 TITLE GOES HERE
     //document.write("Title9");
     break;
    }

    case 10 :
    {
     // MENU 10 TITLE GOES HERE
     //document.write("Title10");
     break;
    }
   } // end switch

    // post-format the link
    document.write(p_format_suffix);

}


function get_line_menu_item(style, menu_no) // style parameter not actively doing anything yet
{

    var p_format_prefix = "<td width=\"16%\" vAlign=bottom align=Center  ><a CLASS=\"1\" href=\"";
    var p_format_suffix = "</B></a></td>";

    // pre-format the link
    document.write(p_format_prefix);

    switch(menu_no)
    {

    case 1 :
    {
     // MENU 1 TITLE GOES HERE
     document.write("index.html\"><B>Home");
     break;
    }

    case 2 :
    {
     // MENU 2 TITLE GOES HERE
     document.write("terroroniraq.htm\"><B>Terror on Iraq");
     break;
    }

    case 3 :
    {
     // MENU 3 TITLE GOES HERE
     document.write("reviews.htm\"><B>Reviews");
     break;
    }

    case 4 :
    {
     // MENU 4 TITLE GOES HERE
     document.write("archived.htm\"><B>Archived");
     break;
    }

    case 5 :
    {
     // MENU 5 TITLE GOES HERE
     document.write("comments.htm\"><B>Comments");
     break;
    }

   case 6 :
    {
     // MENU 6 TITLE GOES HERE
     document.write("about.htm\"><B>About");
     break;
    }

    case 7 :
    {
     // MENU 7 TITLE GOES HERE
     //document.write("Title7");
     break;
    }

    case 8 :
    {
     // MENU 8 TITLE GOES HERE
     //document.write("Title8");
     break;
    }

    case 9 :
    {
     // MENU 9 TITLE GOES HERE
     //document.write("Title9");
     break;
    }

    case 10 :
    {
     // MENU 10 TITLE GOES HERE
     //document.write("Title10");
     break;
    }
   } // end switch

    // post-format the link
    document.write(p_format_suffix);

}
