// specialty.js
// JavaScript for displaying microphones products
// Created: 05/21/2004
// Last updated: 02/08/2007
// Copyright 2004 netYAK.com, inc.

var ii=0;
var myHPAudioASIN=new Array();
myHPAudioASIN[ii++]='0807281956&IS2';  //Harry Potter and the Sorcerer's Stone (Book 1 Audio CD) [UNABRIDGED] ? $33.97 5/20/04
myHPAudioASIN[ii++]='0807281948&IS2';  //Harry Potter and the Chamber of Secrets (Book 2, Audio CD) [UNABRIDGED] ? $33.97 5/20/04
myHPAudioASIN[ii++]='0807282324&IS2';  //Harry Potter and the Prisoner of Azkaban (Book 3, Audio CD) [UNABRIDGED] ? $37.37 5/20/04
myHPAudioASIN[ii++]='0807282596&IS2';  //Harry Potter and the Goblet of Fire (Book 4 Audio CD) [UNABRIDGED] ? $47.57  5/20/04
myHPAudioASIN[ii++]='0807220299&IS2';  //Harry Potter and the Order of the Phoenix (Book 5, Audio CD) [UNABRIDGED] ? $51.00 5/20/04
myHPAudioASIN[ii++]='0307283658&IS2';  //Harry Potter and the Half Blood Prince (Book 6, Audio CD) [UNABRIDGED] ? $52.50 7/16/05
myHPAudioASIN[ii++]='B00005OWIU&IS2';  //Harry Potter and the Sorcerer's Stone - Original Motion Picture Soundtrack [SOUNDTRACK]  4.5 $13.99 6/07/04
myHPAudioASIN[ii++]='B00006IR5S&IS2';  //Harry Potter and the Chamber of Secrets [SOUNDTRACK]   4.5 $13.99 6/07/04
myHPAudioASIN[ii++]='B00020HEG6&IS2';  //Harry Potter & The Prisoner of Azkaban [SOUNDTRACK] [ENHANCED]  4.5 $13.49 6/07/04

var ii=0;
var myHPBooksASIN=new Array();
myHPBooksASIN[ii++]='0439612551&IS2';  //Harry Potter Hardcover Box Set with Leather Bookmark (Books 1-5) [LIMITED EDITION] ? 5/20/04
myHPBooksASIN[ii++]='0590353403&IS2';  //Harry Potter and the Sorcerer's Stone (Book 1) ? 5/20/04
myHPBooksASIN[ii++]='0439064864&IS2';  //Harry Potter and the Chamber of Secrets (Book 2) ? 5/20/04
myHPBooksASIN[ii++]='0439136350&IS2';  //Harry Potter and the Prisoner of Azkaban (Book 3) ? 5/20/04
myHPBooksASIN[ii++]='0439139600&IS2';  //Harry Potter and the Goblet of Fire (Book 4) ? 5/20/04
myHPBooksASIN[ii++]='043935806X&IS2';  //Harry Potter and the Order of the Phoenix (Book 5) ? 5/20/04
//myHPBooksASIN[ii++]='B0002J6EOU&IS2';  //Harry Potter and the Half Blood Prince (Book 6)
myHPBooksASIN[ii++]='0439784549&IS2';  //Harry Potter and the Half Blood Prince (Book 6)
myHPBooksASIN[ii++]='0545029376&IS2';  //Harry Potter and the Deathly Hallows (Book 7)
myHPBooksASIN[ii++]='0972393617&IS2';  //Ultimate Unofficial Guide to the Mysteries of Harry Potter 3.5 $17.46 9/14/04
myHPBooksASIN[ii++]='0972393625&IS2';  //New Clues to Harry Potter Book 5: Hints from the Ultimate Unofficial Guide to the Mysteries of Harry Potter 4.0 $8.67 9/14/04
myHPBooksASIN[ii++]='0767908473&IS2';  //The Sorcerer's Companion: A Guide to the Magical World of Harry Potter 4.5 $11.16 9/14/04

var ii=0;
var myHPGamesASIN=new Array();
myHPGamesASIN[ii++]='B00005YWFZ&IS2';  //Harry Potter and the Sorcerer's Stone Chapter Game: Through the Trapdoor (Board Game)
myHPGamesASIN[ii++]='B00005BZKA&IS2';  //Harry Potter: Levitating Challenge Game (Board Game)
myHPGamesASIN[ii++]='B0000669DT&IS2';  //Harry Potter Wizard Chess (Board Game)
myHPGamesASIN[ii++]='B0001NE6EM&IS2';  //Harry Potter Rescue A Hogwart Game (Board Game)
myHPGamesASIN[ii++]='B0001ONL7O&IS2';  //Harry Potter and the Prisoner of Azkaban Windows (Computer Game)
myHPGamesASIN[ii++]='B000231FA4&IS2';  //Harry Potter and the Prisoner of Azkaban PS2 (Computer Game)
myHPGamesASIN[ii++]='B00009V3KL&IS2';  //Harry Potter: Quidditch World Cup Windows(Computer Game)
myHPGamesASIN[ii++]='B00009VE68&IS2';  //Harry Potter: Quidditch World Cup PS2 (Computer Game)
myHPGamesASIN[ii++]='B00005BWCU&IS2';  //Harry Potter Uno Game (Card Game)
myHPGamesASIN[ii++]='B00008MIF0&IS2';  //Harry Potter Pumpkin Drink Maker with Refill (Activity)

var ii=0;
var myHPMoviesASIN=new Array();
myHPMoviesASIN[ii++]='B00003CXI1&IS2';  //Harry Potter and the Sorcerer's Stone (Widescreen Edition) (2001)
myHPMoviesASIN[ii++]='B00008DDXC&IS2';  //Harry Potter and The Chamber of Secrets (Widescreen Edition) (2002)
myHPMoviesASIN[ii++]='B00005JMAH&IS2';  //Harry Potter and the Prisoner of Azkaban (Widescreen Edition) (2004)
myHPMoviesASIN[ii++]='B000E6EK3S&IS2';  //Harry Potter and the Goblet of Fire (Widescreen Two-Disc Deluxe Edition) (Harry Potter 4) (2005)
myHPMoviesASIN[ii++]='B0002TV2WO&IS2';  //Harry Potter and the Sorcerer's Stone/Harry Potter and the Chamber of Secrets/Harry Potter and the Prisoner of Azkaban (3-Pack Widescreen Edition)
myHPMoviesASIN[ii++]='B0000633SA&IS2';  //Discovering the Real World of Harry Potter (2001)
myHPMoviesASIN[ii++]='B00004W4DW&IS2';  //The Magical World of Harry Potter: The Unauthorized Story of J.K. Rowling (2000) 
myHPMoviesASIN[ii++]='B0006N2EF0&IS2';  //J.K. Rowling and The Birth of Harry Potter (2004) 

var ii=0;
var myLSBooksASIN=new Array();
//myLSBooksASIN[ii++]='0060784660&IS2';  //The Cumbersome Collection: A Series of Unfortunate Events So Far, Books 1-11 (The Bad Beginning; The Reptile Room; The Wide Window; The Miserable Mill; The Austere Academy; The Ersatz Elevator; The Vile Village; The Hostile Hospital; The Carnivorous Carnival; The Slippery Slope; The Grim Grotto) [SHRINK WRAPPED]
//myLSBooksASIN[ii++]='006029809X&IS2';  //The Trouble Begins: A Box of Unfortunate Events, Books 1-3 (The Bad Beginning; The Reptile Room; The Wide Window) [BOX SET] 4.0 $24.47 9/15/04
//myLSBooksASIN[ii++]='0060095563&IS2';  //The Situation Worsens: A Box of Unfortunate Events, Books 4-6 (The Miserable Mill; The Austere Academy; The Ersatz Elevator) [BOX SET]
//myLSBooksASIN[ii++]='006055620X&IS2';  //The Dilemma Deepens: A Box of Unfortunate Events, Books 7-9 (The Vile Village; The Hostile Hospital; The Carnivorous Carnival) [BOX SET]
myLSBooksASIN[ii++]='0061119067&IS2';  //The Complete Wreck (A Series of Unfortunate Events, Books 1-13) [BOX SET] (Hardcover)
myLSBooksASIN[ii++]='0064407667&IS2';  //The Bad Beginning (A Series of Unfortunate Events, Book 1)
myLSBooksASIN[ii++]='0064407675&IS2';  //The Reptile Room (A Series of Unfortunate Events, Book 2)
myLSBooksASIN[ii++]='0064407683&IS2';  //The Wide Window (A Series of Unfortunate Events, Book 3)
myLSBooksASIN[ii++]='0064407691&IS2';  //The Miserable Mill (A Series of Unfortunate Events, Book 4)
myLSBooksASIN[ii++]='0064408639&IS2';  //The Austere Academy (A Series of Unfortunate Events, Book 5)
myLSBooksASIN[ii++]='0064408647&IS2';  //The Ersatz Elevator (A Series of Unfortunate Events, Book 6)
myLSBooksASIN[ii++]='0064408655&IS2';  //The Vile Village (A Series of Unfortunate Events, Book 7)
myLSBooksASIN[ii++]='0064408663&IS2';  //The Hostile Hospital (A Series of Unfortunate Events, Book 8)
myLSBooksASIN[ii++]='0064410129&IS2';  //The Carnivorous Carnival (A Series of Unfortunate Events, Book 9)
myLSBooksASIN[ii++]='0064410137&IS2';  //The Slippery Slope (A Series of Unfortunate Events, Book 10)
myLSBooksASIN[ii++]='0064410145&IS2';  //The Grim Grotto (A Series of Unfortunate Events, Book 11)
myLSBooksASIN[ii++]='0064410153&IS2';  //The Penultimate Peril (A Series of Unfortunate Events, Book 12) (Hardcover)
myLSBooksASIN[ii++]='0064410161&IS2';  //The End (A Series of Unfortunate Events, Book 13) (Hardcover)
myLSBooksASIN[ii++]='0060007192&IS2';  //Lemony Snicket: The Unauthorized Autobiography
myLSBooksASIN[ii++]='0060586567&IS2';  //A Series of Unfortunate Events: The Blank Book (A Series of Unfortunate Events)
myLSBooksASIN[ii++]='0060757302&IS2';  //A Series of Unfortunate Events: The Puzzling Puzzles : Bothersome Games Which Will Bother Some People (A Series of Unfortunate Events)

var ii=0;
var myLSAudioASIN=new Array();
myLSAudioASIN[ii++]='0060765798&IS2';  //Series of Unfortunate Events #1 Multi-Voice CD, A: The Bad Beginning CD [UNABRIDGED]
myLSAudioASIN[ii++]='0807219908&IS2';  //Series of Unfortunate Events #1: The Bad Beginning (Series of Unfortunate Events, 1) [UNABRIDGED]
myLSAudioASIN[ii++]='0807219916&IS2';  //Series of Unfortunate Events #2: The Reptile Room (Series of Unfortunate Events, 2) [UNABRIDGED]
myLSAudioASIN[ii++]='0060566159&IS2';  //The Wide Window (A Series of Unfortunate Events, Book 3) [UNABRIDGED]
myLSAudioASIN[ii++]='0060566183&IS2';  //A Series of Unfortunate Events #4: The Miserable Mill CD (Series of Unfortunate Events, 4) [UNABRIDGED]
myLSAudioASIN[ii++]='0060566191&IS2';  //A Series of Unfortunate Events #5: The Austere Academy CD (Series of Unfortunate Events, 5) [UNABRIDGED] 
myLSAudioASIN[ii++]='0060566213&IS2';  //A Series of Unfortunate Events #6: The Ersatz Elevator CD (Series of Unfortunate Events, 6) [UNABRIDGED]
myLSAudioASIN[ii++]='0060566221&IS2';  //A Series of Unfortunate Events #7: The Vile Village CD (Series of Unfortunate Events, 7) [ABRIDGED]
myLSAudioASIN[ii++]='006056623X&IS2';  //A Series of Unfortunate Events #8: Hostile Hospital CD (A Series of Unfortunate Events, Book 8) [ABRIDGED]
myLSAudioASIN[ii++]='0060566264&IS2';  //Series of Unfortunate Events #9:The Carnivorous Carnival CD (Series of Unfortunate Events, 9) [UNABRIDGED]
myLSAudioASIN[ii++]='0060564415&IS2';  //The Slippery Slope (A Series of Unfortunate Events, Book 10) [UNABRIDGED]
myLSAudioASIN[ii++]='0060579471&IS2';  //The Grim Grotto (A Series of Unfortunate Events, Book 11) [ABRIDGED]
myLSAudioASIN[ii++]='006057948X&IS2';  //The Penultimate Peril (A Series of Unfortunate Events, Book 12) ((HarperCollins Audio)) [UNABRIDGED] (Audio Cassette)
myLSAudioASIN[ii++]='B00065GII2&IS2';  //Lemony Snicket [SOUNDTRACK]

var ii=0;
var myLSGamesASIN=new Array();
myLSGamesASIN[ii++]='B0002V3JP0&IS2';  //Lemony Snicket: A Series of Unfortunate Events Windows
myLSGamesASIN[ii++]='B0001I9YEO&IS2';  //Lemony Snicket: A Series of Unfortunate Events Xbox
myLSGamesASIN[ii++]='B0001I9YHQ&IS2';  //Lemony Snicket: A Series of Unfortunate Events Gamecube
myLSGamesASIN[ii++]='B0001I9YGW&IS2';  //Lemony Snicket: A Series of Unfortunate Events PlayStation2
myLSGamesASIN[ii++]='B0004F3ENQ&IS2';  //Lemony Snicket Activity Center
myLSGamesASIN[ii++]='0060586575&IS2';  //Series of Unfortunate Events Calendar 2005 : Thirteen Alarming Months! (A Series of Unfortunate Events)
myLSGamesASIN[ii++]='B0002EVORW&IS2';  //Lemony Snicket's A Series Of Unfortunate Events Magic 8 Ball


// Overstock stuff
var ii=0;
var myPotterCAT=new Array();
myPotterCAT[ii++]='639999';  //Harry Potter and the Sorcerer's Stone (Book 1 Audio CD)
myPotterCAT[ii++]='639998';  //Harry Potter and the Chamber of Secrets (Book 2, Audio CD)
myPotterCAT[ii++]='640001';  //Harry Potter and the Prisoner of Azkaban (Book 3, Audio CD)
myPotterCAT[ii++]='640006';  //Harry Potter and the Goblet of Fire (Book 4 Audio CD)
myPotterCAT[ii++]='881047';  //Harry Potter and the Order of the Phoenix (Book 5, Audio CD)
myPotterCAT[ii++]='2500668';  //Original Soundtrack - Harry Potter And The Sorcerer's Stone
myPotterCAT[ii++]='2246066';  //Original Soundtrack - Harry Potter & The Prisoner Of Azkaban
// Order of TXT must match CAT
var ii=0;
var myPotterTXT=new Array();
myPotterTXT[ii++]='Harry Potter and the Sorcerer\'s Stone (Book 1 Audio CD)';
myPotterTXT[ii++]='Harry Potter and the Chamber of Secrets (Book 2, Audio CD)';
myPotterTXT[ii++]='Harry Potter and the Prisoner of Azkaban (Book 3, Audio CD)';
myPotterTXT[ii++]='Harry Potter and the Goblet of Fire (Book 4 Audio CD)';
myPotterTXT[ii++]='Harry Potter and the Order of the Phoenix (Book 5, Audio CD)';
myPotterTXT[ii++]='Original Soundtrack - Harry Potter And The Sorcerer\'s Stone';
myPotterTXT[ii++]='Original Soundtrack - Harry Potter & The Prisoner Of Azkaban';

// eCampus stuff
var ii=0;
var myLSBooksCAT=new Array();
//myLSBooksCAT[ii++]='0060784660&IS2';  //The Cumbersome Collection: A Series of Unfortunate Events So Far, Books 1-11 [BOX SET]
myLSBooksCAT[ii++]='006029809X&IS2';  //The Trouble Begins: A Box of Unfortunate Events, Books 1-3 (The Bad Beginning; The Reptile Room; The Wide Window) [BOX SET]
myLSBooksCAT[ii++]='0060095563&IS2';  //The Situation Worsens: A Box of Unfortunate Events, Books 4-6 (The Miserable Mill; The Austere Academy; The Ersatz Elevator) [BOX SET]
myLSBooksCAT[ii++]='006055620X&IS2';  //The Dilemma Deepens: A Box of Unfortunate Events, Books 7-9 (The Vile Village; The Hostile Hospital; The Carnivorous Carnival) [BOX SET]
myLSBooksCAT[ii++]='0064407667&IS2';  //The Bad Beginning (A Series of Unfortunate Events, Book 1)
myLSBooksCAT[ii++]='0064407675&IS2';  //The Reptile Room (A Series of Unfortunate Events, Book 2)
myLSBooksCAT[ii++]='0064407683&IS2';  //The Wide Window (A Series of Unfortunate Events, Book 3)
myLSBooksCAT[ii++]='0064407691&IS2';  //The Miserable Mill (A Series of Unfortunate Events, Book 4)
myLSBooksCAT[ii++]='0064408639&IS2';  //The Austere Academy (A Series of Unfortunate Events, Book 5)
myLSBooksCAT[ii++]='0064408647&IS2';  //The Ersatz Elevator (A Series of Unfortunate Events, Book 6)
myLSBooksCAT[ii++]='0064408655&IS2';  //The Vile Village (A Series of Unfortunate Events, Book 7)
myLSBooksCAT[ii++]='0064408663&IS2';  //The Hostile Hospital (A Series of Unfortunate Events, Book 8)
myLSBooksCAT[ii++]='0064410129&IS2';  //The Carnivorous Carnival (A Series of Unfortunate Events, Book 9)
myLSBooksCAT[ii++]='0064410137&IS2';  //The Slippery Slope (A Series of Unfortunate Events, Book 10)
myLSBooksCAT[ii++]='0064410145&IS2';  //The Grim Grotto (A Series of Unfortunate Events, Book 11)
myLSBooksCAT[ii++]='0060007206&IS2';  //Lemony Snicket: The Unauthorized Autobiography
// Order of TXT must match CAT
var ii=0;
var myLSBooksTXT=new Array();
//myLSBooksTXT[ii++]='The Cumbersome Collection: A Series of Unfortunate Events So Far, Books 1-11 [BOX SET]';
myLSBooksTXT[ii++]='The Trouble Begins: A Box of Unfortunate Events, Books 1-3 (The Bad Beginning; The Reptile Room; The Wide Window) [BOX SET]';
myLSBooksTXT[ii++]='The Situation Worsens: A Box of Unfortunate Events, Books 4-6 (The Miserable Mill; The Austere Academy; The Ersatz Elevator) [BOX SET]';
myLSBooksTXT[ii++]='The Dilemma Deepens: A Box of Unfortunate Events, Books 7-9 (The Vile Village; The Hostile Hospital; The Carnivorous Carnival) [BOX SET]';
myLSBooksTXT[ii++]='The Bad Beginning (A Series of Unfortunate Events, Book 1)';
myLSBooksTXT[ii++]='The Reptile Room (A Series of Unfortunate Events, Book 2)';
myLSBooksTXT[ii++]='The Wide Window (A Series of Unfortunate Events, Book 3)';
myLSBooksTXT[ii++]='The Miserable Mill (A Series of Unfortunate Events, Book 4)';
myLSBooksTXT[ii++]='The Austere Academy (A Series of Unfortunate Events, Book 5)';
myLSBooksTXT[ii++]='The Ersatz Elevator (A Series of Unfortunate Events, Book 6)';
myLSBooksTXT[ii++]='The Vile Village (A Series of Unfortunate Events, Book 7)';
myLSBooksTXT[ii++]='The Hostile Hospital (A Series of Unfortunate Events, Book 8)';
myLSBooksTXT[ii++]='The Carnivorous Carnival (A Series of Unfortunate Events, Book 9)';
myLSBooksTXT[ii++]='The Slippery Slope (A Series of Unfortunate Events, Book 10)';
myLSBooksTXT[ii++]='The Grim Grotto (A Series of Unfortunate Events, Book 11)';
myLSBooksTXT[ii++]='Lemony Snicket: The Unauthorized Autobiography';

var myCAT=new Array();
var myTXT=new Array();
var myASIN=new Array();
var myCols=3;        // # of Columns to display

//myASIN=myBoomASIN;         // assign myASIN to table to display
//myASIN=myHeadsetASIN;

function setColumns (numCols)
{
  myCols=numCols;     // set # of colums to dsiplay per row
}

function textLinks ()
{
  if ((myCAT.length>0) && (myTXT.length>0))
    {
    document.write('<center><font size="3">');
    for (c=0; c<myCAT.length; c+=1)
      {
      document.write('<a href="http://click.linksynergy.com/fs-bin/click?id=28hTDoCI24U&offerid=57189.'
          +myCAT[c]
          +'&type=2&subid=0" target=_blank>'
          +myTXT[c]
          +'</a><IMG border=0 width=1 height=1 src="http://ad.linksynergy.com/fs-bin/show?id=28hTDoCI24U&bids=57189&type=2&subid=0">');
      document.write('<br>');
      }
      document.write('</font></center>');
    }
  else
    {  // Must be bad or missing query string so display default page
      defaultPage();
    }
}

function textLinksEcampus (tCAT, tTXT)
{
  if ((tCAT.length>0) && (tTXT.length>0))
    {
    document.write('<center><font size="3">');
    for (c=0; c<tCAT.length; c+=1)
      {
      document.write('<a href="http://www.tkqlhce.com/click-1387305-10273808?url=http%3A%2F%2Fwww.ecampus.com%2Fbk_detail.asp%3Fisbn%3D'
          +tCAT[c]
          +'%26referrer%3DCJ" target="_blank">'
          +tTXT[c]
          +'</a><img src="http://www.afcyhf.com/image-1387305-10273808" height="1" width="1" border="0">');
      document.write('<br>');
      }
      document.write('</font></center>');
    }
  else
    {  // Must be bad or missing query string so display default page
      defaultPage();
    }
}

function startTable ()
{
  if ( myASIN.length > 0 )
    {
    document.write('<table border="1" cellspacing="0" cellpadding="0" style="border-collapse: collapse; mso-table-layout-alt: fixed; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; border-style: none; border-width: medium" width="95%" bgcolor="#FFFFDD" bordercolor="#C0C0C0" bordercolorlight="#C0C0C0" bordercolordark="#C0C0C0">');
    }
}

function endTable ()
{
  if ( myASIN.length > 0 ) document.write('</table>');
}

function startRow()
{
  if ( myASIN.length > 0 ) document.write('<tr>');
}

function endRow()
{
  if ( myASIN.length > 0 ) document.write('</tr>');
}

function bodyTable ()
{
  if (myASIN.length>0)
    {
    for (c=0; c<myASIN.length; c+=1)
      {
      if ((c%myCols==0) && (c!=0)) endRow();
      if (c%myCols==0) startRow();
      document.write('<td align="middle" valign="top" height="240">');
      if (myASIN[c].length > 10)
        {
        document.write('<iframe marginwidth="0" marginheight="0" width="120" height="240" scrolling="no" frameborder="0" src="http://rcm.amazon.com/e/cm?o=1&l=as1&f=ifr&t=netycomyourvo-20&p=8&asins='
          +myASIN[c]
          +'=1&lt1=_blank"><MAP NAME="boxmap-p8"><AREA SHAPE="RECT" COORDS="14, 200, 103, 207" HREF="http://rcm.amazon.com/e/cm/privacy-policy.html?o=1" ><AREA COORDS="0,0,10000,10000" HREF="http://www.amazon.com/exec/obidos/redirect-home/netycomyourvo-20" ></MAP><img src="http://rcm-images.amazon.com/images/G/01/rcm/120x240.gif" width="120" height="240" border="0" usemap="#boxmap-p8" alt="Shop at Amazon.com"></iframe>');
        }
      else
        {
        document.write('<iframe marginwidth="0" marginheight="0" width="120" height="150" scrolling="no" frameborder="0" src="http://rcm.amazon.com/e/cm?o=1&l=as1&f=ifr&t=netycomyourvo-20&p=6&asins='
          +myASIN[c]
          +'&lt1=_blank"><MAP NAME="boxmap-p6"><AREA SHAPE="RECT" COORDS="1, 140, 83, 150" HREF="http://rcm.amazon.com/e/cm/privacy-policy.html?o=1" ><AREA COORDS="0,0,10000,10000" HREF="http://www.amazon.com/exec/obidos/redirect-home/netycomyourvo-20" ></MAP><img src="http://rcm-images.amazon.com/images/G/01/rcm/120x150.gif" width="120" height="150" border="0" usemap="#boxmap-p6" alt="Shop at Amazon.com"></iframe>');
        }
      document.write('</td>');
      if (c==myASIN.length-1) endRow();
      }
    }
  else
    {  // Must be bad or missing query string so display default page
      defaultPage();
    }
}

function selectTable ()
{
  switch (myType)
    {
    case "hpaudio" :
      myASIN=myHPAudioASIN;         // assign myASIN to table to display
      break;
    case "hpbooks" :
      myASIN=myHPBooksASIN;         // assign myASIN to table to display
      break;
    case "hpgames" :
      myASIN=myHPGamesASIN;
      break;
    case "hpmovies" :
      myASIN=myHPMoviesASIN;
      break;
    case "lsbooks" :
      myASIN=myLSBooksASIN;
      break;
    case "lsaudio" :
      myASIN=myLSAudioASIN;
      break;
    case "lsgames" :
      myASIN=myLSGamesASIN;
      break;
    default :
      //myASIN=myHPAudioASIN;
      break;
    }
}

function selectHeading ()
{
  switch (myType)
    {
    case "hpaudio" :
      document.title = document.title + ' - Harry Potter Audio Books & Soundtracks';
      document.write('<center><b>Harry Potter Audio Books &amp; Soundtracks</b></center>');
      break;
    case "hpbooks" :
      document.title = document.title + ' - Harry Potter Books';
      document.write('<center><b>Harry Potter Books</b></center>');
      break;
    case "hpgames" :
      document.title = document.title + ' - Harry Potter Games';
      document.write('<center><b>Harry Potter Games</b></center>');
      break;
    case "hpmovies" :
      document.title = document.title + ' - Harry Potter Movies';
      document.write('<center><b>Harry Potter Movies</b></center>');
      break;
    case "lsbooks" :
      document.title = document.title + ' - Lemony Snicket Books';
      document.write('<center><b>Lemony Snicket Books</b></center>');
      break;
    case "lsaudio" :
      document.title = document.title + ' - Lemony Snicket Audio Books & Soundtracks';
      document.write('<center><b>Lemony Snicket Audio Books &amp; Soundtracks</b></center>');
      break;
    case "lsgames" :
      document.title = document.title + ' - Lemony Snicket Games & Stuff';
      document.write('<center><b>Lemony Snicket Games &amp; Stuff</b></center>');
      break;
    default :
      document.write('<center><b>Specialty Selections</b></center>');
      break;
    }
}

function defaultPage ()
{
  document.write('<font size="3">');
  document.write('<p align="left">Click to see <a href="specialty.htm?type=hpaudio">Harry Potter Audio Book &amp; Soundtrack</a> selections</p>');
  document.write('<p align="left">Click to see <a href="specialty.htm?type=hpbooks">Harry Potter Book</a> selections</p>');
  document.write('<p align="left">Click to see <a href="specialty.htm?type=hpgames">Harry Potter Game</a> selections</p>');
  document.write('<p align="left">Click to see <a href="specialty.htm?type=hpmovies">Harry Potter Movie</a> selections</p>');
  document.write('<p align="left">Click to see <a href="specialty.htm?type=lsbooks">Lemony Snicket: A Series of Unfortunate Events Book</a> selections</p>');
  document.write('<p align="left">Click to see <a href="specialty.htm?type=lsaudio">Lemony Snicket: A Series of Unfortunate Events Audio Book &amp; Soundtrack</a> selections</p>');
  document.write('<p align="left">Click to see <a href="specialty.htm?type=lsgames">Lemony Snicket: A Series of Unfortunate Events Game &amp; Stuff</a> selections</p>');
  document.write('</font>');
}

function searchLinks ()
{
  document.write('<br><br>');
  switch (myType)
    {
    case "hpaudio" :
      //document.write('<center>Click to search for additional <a href="http://www.amazon.com/exec/obidos/external-search?tag=netycomyourvo-20&amp;keyword=desktop+microphone&amp;mode=pc-hardware" target="_blank">Boom / Desktop Microphone Selections</a></center>');
      document.write('<center><b>Or check out selections from Overstock.com</b></center>');
      myCAT=myPotterCAT;
      myTXT=myPotterTXT;
      textLinks();
      document.write('<br>');
      document.write('<center>Click to visit the <a href="http://www.harrypotter.com" target="_blank">Harry Potter web site</a></center>');
      break;
    case "hpbooks" :
      //document.write('<center>Click to search for additional <a href="http://www.amazon.com/exec/obidos/external-search?tag=netycomyourvo-20&keyword=monitor+microphone&mode=pc-hardware" target="_blank">Built-in Microphone Selections</a></center>');
      document.write('<center>Click to visit the <a href="http://www.harrypotter.com" target="_blank">Harry Potter web site</a></center>');
      break;
    case "hpgames" :
      //document.write('<center>Click to search for additional <a href="http://www.amazon.com/exec/obidos/external-search?tag=netycomyourvo-20&keyword=handheld+microphone&mode=pc-hardware" target="_blank">Handheld Microphone Selections</a></center>');
      document.write('<center>Click to visit the <a href="http://www.harrypotter.com" target="_blank">Harry Potter web site</a></center>');
      break;
    case "hpmovies" :
      //document.write('<center>Click to search for additional <a href="http://www.amazon.com/exec/obidos/external-search?tag=netycomyourvo-20&keyword=headset+microphone&mode=pc-hardware" target="_blank">Headset Microphone Selections</a></center>');
      document.write('<center>Click to visit the <a href="http://www.harrypotter.com" target="_blank">Harry Potter web site</a></center>');
      break;
    case "lsbooks" :
      //document.write('<center>Click to search for additional <a href="http://www.amazon.com/exec/obidos/external-search?tag=netycomyourvo-20&keyword=computer+telephone+headset&mode=pc-hardware" target="_blank">Hybrid Microphone Selections</a></center>');
      document.write('<center><b>Or check out selections from eCampus</b></center>');
      textLinksEcampus(myLSBooksCAT, myLSBooksTXT);
      document.write('<br>');
      document.write('<center>Click to visit the <a href="http://www.lemonysnicket.com" target="_blank">Lemony Snicket web site</a></center>');
      break;
    case "lsaudio" :
      //document.write('<center>Click to search for additional <a href="http://www.amazon.com/exec/obidos/external-search?tag=netycomyourvo-20&keyword=lapel+microphone&mode=pc-hardware" target="_blank">Lapel Microphone Selections</a></center>');
      document.write('<center>Click to visit the <a href="http://www.lemonysnicket.com" target="_blank">Lemony Snicket web site</a></center>');
      break;
    case "lsgames" :
      //document.write('<center>Click to search for additional <a href="http://www.amazon.com/exec/obidos/external-search?tag=netycomyourvo-20&keyword=lapel+microphone&mode=pc-hardware" target="_blank">Lapel Microphone Selections</a></center>');
      document.write('<center>Click to visit the <a href="http://www.lemonysnicket.com" target="_blank">Lemony Snicket web site</a></center>');
      break;
    default :
      //document.write('<center>Click to search for additional <a href="http://www.amazon.com/exec/obidos/external-search?tag=netycomyourvo-20&keyword=microphone&mode=electronics" target="_blank">Microphone Selections</a></center>');
      break;
    }
    document.write('<br>');
    document.write('<center>Click to search for <a href="http://www.amazon.com/exec/obidos/external-search?tag=netycomyourvo-20&keyword=microphone&mode=electronics" target="_blank">Microphone Selections</a></center>');
    document.write('<br>');
    document.write('<center>Click to search for <a href="http://www.amazon.com/exec/obidos/external-search?tag=netycomyourvo-20&keyword=speakers&mode=pc-hardware" target="_blank">Computer Speaker Selections</a></center>');
    document.write('<br>');
    document.write('<center>Click to return to the <a href="http://www.netyak.com/fandf/specialty.htm">Specialty Selections</a> page</center>');
    document.write('<br>');
    document.write('<center>Click to return to the <a href="http://www.netyak.com/fandf">Friends and Family</a> page</center>');
}

function doTable ()
{
  selectTable();
  startTable();
  bodyTable();
  endTable();
  searchLinks();
}

