/* *******************************************************************
** -created by AutoGen 7/4/2006 -->
** dyn_parent_child_cat_combo.js - dynamic combo boxes for parent
**                                 child ISBN category searches
**                                 -created by AutoGen 7/4/2006 -->
** ==============================================================
** This is a modification of jscript found on ZDNET
**
** Copyright (c) 1996-1999 internet.com LLC. All rights reserved.
** Originally published at http://www.webreference.com
** You may use this code on a Web site only if this entire
** copyright notice appears unchanged. By Andrew King 990206
**
** ZDNet (c) 1999. DevHead and ScriptLibrary provides
** these scripts as a free service to our users. The
** scripts have been provided by the author for use
** within the resource and are "freely distributable."
** Scripts remain the property of the author, unless
** otherwise indicated.
******************************************************************* */

v=false;

if (typeof(Option)+"" != "undefined") v=true;

if(v){a=new Array(22);aln=22;}

function getFormNum (formName) {
        formNum =-1;
        for (i=0;i<document.forms.length;i++){
                tempForm = document.forms[i];
                if (formName == tempForm) {
                        formNum = i;
                        correctForm = tempForm;
                        break;
                }
        }
        return formNum;
}

function jmp(formName,elementNum) {
        getFormNum(formName);
        if (formNum>=0) {
                with (document.forms[formNum].elements[elementNum]) {
                        i=selectedIndex;
                        if (i>=0) location=options[i].value;
                }
        }
}

var catsIndex = -1;
var itemsIndex;

function newParentCat(){
        catsIndex++;
        a[catsIndex] = new Array();
        itemsIndex = 0;
}

function newChildCat(txt,url) {
        a[catsIndex][itemsIndex]=new myOptions(txt,url);
        itemsIndex++;
}

function myOptions(text,value){
        this.text = text;
        this.value = value;
}


// fill array


newParentCat();

newParentCat();
newChildCat("Furniture","ANT017000");
newChildCat("General","ANT000000");

newParentCat();
newChildCat("Decoration & Ornament","ARC002000");
newChildCat("Domestic","ARC003000");
newChildCat("Interior Design","ARC007000");
newChildCat("Interior Design - Lighting","ARC007510");
newChildCat("Public, Commercial, & Industrial Buildings","ARC011000");

newParentCat();
newChildCat("Business","BIO003000");
newChildCat("Entertainment / Performing Arts","BIO005000");
newChildCat("General","BIO000000");
newChildCat("Historical","BIO006000");
newChildCat("Historical - U.S.","BIO006520");
newChildCat("Literary","BIO007000");
newChildCat("New Age","BIO502000");
newChildCat("Rich","BIO013000");
newChildCat("Specific Groups","BIO503000");

newParentCat();
newChildCat("Accounting - Financial","BUS001010");
newChildCat("Accounting - General","BUS001000");
newChildCat("Accounting - Management","BUS001040");
newChildCat("Auditing","BUS003000");
newChildCat("Banks & Banking","BUS004000");
newChildCat("Bookkeeping","BUS005000");
newChildCat("Budgeting","BUS006000");
newChildCat("Business Communication - Meeting Mechanics","BUS007510");
newChildCat("Business Communication - Presentations","BUS007520");
newChildCat("Business Ethics","BUS008000");
newChildCat("Business Etiquette","BUS009000");
newChildCat("Business Law","BUS010000");
newChildCat("Business Life - Fashion/Image","BUS503020");
newChildCat("Business Life - Health/Stress","BUS503010");
newChildCat("Business Life - Inspirational","BUS503040");
newChildCat("Business Life - Time Management","BUS503030");
newChildCat("Business Writing","BUS011000");
newChildCat("Careers","BUS012000");
newChildCat("Commerce","BUS073000");
newChildCat("Commercial Policy","BUS013000");
newChildCat("Commodities","BUS014000");
newChildCat("Consolidation & Merger","BUS015000");
newChildCat("Consulting","BUS075000");
newChildCat("Consumerism","BUS016000");
newChildCat("Consumerism - Consumer Guides","BUS016510");
newChildCat("Corporate Finance","BUS017000");
newChildCat("Corporations","BUS502000");
newChildCat("Corporations - Strategies","BUS502020");
newChildCat("Customer Service","BUS018000");
newChildCat("Decision Making / Problem Solving","BUS019000");
newChildCat("Development & Growth","BUS020000");
newChildCat("Econometrics","BUS021000");
newChildCat("Economic Conditions","BUS022000");
newChildCat("Economic Development","BUS068000");
newChildCat("Economic History","BUS023000");
newChildCat("Economics","BUS069000");
newChildCat("Economics - International","BUS069520");
newChildCat("Economics - Theory","BUS069510");
newChildCat("Education","BUS024000");
newChildCat("Entrepreneurship","BUS025000");
newChildCat("Exports & Imports","BUS026000");
newChildCat("Finance","BUS027000");
newChildCat("Foreign Exchange","BUS028000");
newChildCat("Free Enterprise","BUS029000");
newChildCat("General","BUS000000");
newChildCat("Human Resources / Personnel Management","BUS030000");
newChildCat("Industries","BUS070000");
newChildCat("Inflation","BUS031000");
newChildCat("Infrastructure","BUS032000");
newChildCat("Insurance - Automobile","BUS033010");
newChildCat("Insurance - Business","BUS033510");
newChildCat("Insurance - General","BUS033000");
newChildCat("Insurance - Health","BUS033040");
newChildCat("Insurance - Liability","BUS033050");
newChildCat("Insurance - Life","BUS033060");
newChildCat("Interest","BUS034000");
newChildCat("International","BUS035000");
newChildCat("Investments & Securities","BUS036000");
newChildCat("Investments & Securities - Bonds","BUS036510");
newChildCat("Investments & Securities - Futures","BUS036520");
newChildCat("Investments & Securities - Mutual Funds","BUS036530");
newChildCat("Investments & Securities - Options","BUS036540");
newChildCat("Investments & Securities - Stocks","BUS036550");
newChildCat("Job Hunting","BUS037020");
newChildCat("Job Hunting - Interviewing","BUS037510");
newChildCat("Job Hunting - Job Almanacs","BUS037520");
newChildCat("Labor","BUS038000");
newChildCat("Leadership","BUS071000");
newChildCat("Macroeconomics","BUS039000");
newChildCat("Mail Order","BUS040000");
newChildCat("Management","BUS041000");
newChildCat("Management - Teams","BUS042510");
newChildCat("Management Science","BUS042000");
newChildCat("Marketing - Direct","BUS043010");
newChildCat("Marketing - Industrial","BUS043020");
newChildCat("Marketing - International","BUS043030");
newChildCat("Marketing - Internet","BUS043060");
newChildCat("Marketing - Market Research","BUS043520");
newChildCat("Marketing - Multilevel","BUS043040");
newChildCat("Marketing - Product Management","BUS043510");
newChildCat("Marketing - Telemarketing","BUS043050");
newChildCat("Microeconomics","BUS044000");
newChildCat("Money & Monetary Policy","BUS045000");
newChildCat("Negotiating","BUS047000");
newChildCat("Nonprofit Organizations / Charities","BUS074000");
newChildCat("Occupations","BUS037000");
newChildCat("Operations Research","BUS049000");
newChildCat("Personal Finance - Budgeting","BUS050010");
newChildCat("Personal Finance - Financial Planning","BUS050510");
newChildCat("Personal Finance - General","BUS050000");
newChildCat("Personal Finance - Money Management","BUS050030");
newChildCat("Personal Finance - Retirement Planning","BUS050040");
newChildCat("Personal Finance - Taxation","BUS050050");
newChildCat("Placement Services","BUS056000");
newChildCat("Purchasing & Buying","BUS076000");
newChildCat("Quality Control","BUS053000");
newChildCat("Real Estate","BUS054000");
newChildCat("Real Estate - Buying/Selling Homes","BUS054520");
newChildCat("Real Estate - Investments","BUS054530");
newChildCat("Real Estate - Mortgages","BUS054510");
newChildCat("Real Estate - Sales","BUS054540");
newChildCat("Reference","BUS055000");
newChildCat("Resumes","BUS056030");
newChildCat("Retailing","BUS057000");
newChildCat("Sales - Management","BUS058510");
newChildCat("Sales - Techniques","BUS058520");
newChildCat("Sales / Selling","BUS058000");
newChildCat("Skills","BUS059000");
newChildCat("Small Business","BUS060000");
newChildCat("Small Business - Capital Generation","BUS060510");
newChildCat("Small Business - Franchises","BUS060530");
newChildCat("Small Business - Hotel/Restaurant","BUS060560");
newChildCat("Small Business - Legal Guides","BUS060520");
newChildCat("Statistics","BUS061000");
newChildCat("Structural Adjustment","BUS062000");
newChildCat("Sustainable Development","BUS072000");
newChildCat("Systems & Planning","BUS063000");
newChildCat("Taxation - General","BUS064000");
newChildCat("Total Quality Management","BUS065000");
newChildCat("Training","BUS066000");
newChildCat("Urban & Regional","BUS067000");
newChildCat("Women & Business","BUS501000");

newParentCat();
newChildCat("Advanced Applications","COM002000");
newChildCat("Application Software - General","COM003000");
newChildCat("Application Software - IBM Compatible","COM003010");
newChildCat("Application Software - Macintosh","COM003020");
newChildCat("Artificial Intelligence","COM004000");
newChildCat("Business Software - General","COM005000");
newChildCat("Business Software - IBM Compatible","COM005010");
newChildCat("Business Software - Macintosh","COM005020");
newChildCat("Buyer's Guides","COM006000");
newChildCat("CAD/CAM - General","COM007000");
newChildCat("Compilers","COM010000");
newChildCat("Computer Architecture","COM011000");
newChildCat("Computer Architecture - Repair & Maintenance","COM011510");
newChildCat("Computer Engineering","COM059000");
newChildCat("Computer Graphics - General","COM012000");
newChildCat("Computer Graphics - IBM Compatible","COM012010");
newChildCat("Computer Graphics - Macintosh","COM012020");
newChildCat("Computer Industry","COM501000");
newChildCat("Computer Literacy","COM013000");
newChildCat("Computer Science","COM014000");
newChildCat("Computer Viruses","COM015000");
newChildCat("Computer Vision","COM016000");
newChildCat("Data Processing","COM018000");
newChildCat("Data Recovery","COM019000");
newChildCat("Data Transmission Systems - Electronic Data Interchange","COM020010");
newChildCat("Data Transmission Systems - Electronic Mail","COM020020");
newChildCat("Data Transmission Systems - Facsimile Transmission","COM020030");
newChildCat("Data Transmission Systems - General","COM020000");
newChildCat("Data Transmission Systems - Image Transmission","COM020040");
newChildCat("Data Transmission Systems - Modems","COM020060");
newChildCat("Data Transmission Systems - Videotext Systems","COM020070");
newChildCat("Database Management - General","COM021000");
newChildCat("Database Management - IBM Compatible","COM021010");
newChildCat("Database Management - Macintosh","COM021020");
newChildCat("Desktop Publishing - General","COM022000");
newChildCat("Desktop Publishing - IBM Compatible","COM022010");
newChildCat("Desktop Publishing - Macintosh","COM022020");
newChildCat("Entertainment / Games - General","COM024000");
newChildCat("Expert Systems","COM025000");
newChildCat("Fault-Tolerant Computing","COM026000");
newChildCat("Financial Applications - General","COM027000");
newChildCat("General","COM000000");
newChildCat("Hard Disk Management","COM028000");
newChildCat("Hypertext Systems","COM029000");
newChildCat("Information Storage & Retrieval","COM030000");
newChildCat("Information Technology","COM032000");
newChildCat("Information Theory","COM031000");
newChildCat("Integrated Software - General","COM033000");
newChildCat("Integrated Software - IBM Compatible","COM033010");
newChildCat("Integrated Software - Macintosh","COM033020");
newChildCat("Interactive Media","COM034000");
newChildCat("Internet","COM060000");
newChildCat("Logic Design","COM036000");
newChildCat("Mainframes & Minicomputers","COM038000");
newChildCat("Management Information Systems","COM039000");
newChildCat("Memory Management","COM040000");
newChildCat("Networking - General","COM043000");
newChildCat("Networking - Wireless Area Networks (WANs)","COM043005");
newChildCat("Neural Networks","COM044000");
newChildCat("On - Line Data Processing","COM045000");
newChildCat("Online Services","COM503000");
newChildCat("Operating Systems - General","COM046000");
newChildCat("Operating Systems - Linux","COM046050");
newChildCat("Operating Systems - UNIX","COM046030");
newChildCat("Operating Systems - Windows","COM046040");
newChildCat("Optical Data Processing","COM047000");
newChildCat("Peripherals","COM049000");
newChildCat("Personal Computers & Microcomputers - Apple","COM050510");
newChildCat("Personal Computers & Microcomputers - General","COM050000");
newChildCat("Personal Computers & Microcomputers - IBM Compatible","COM050010");
newChildCat("Personal Computers & Microcomputers - Mcintosh","COM050020");
newChildCat("Personal Computers & Microcomputers - Upgrading","COM050030");
newChildCat("Programming - General","COM051000");
newChildCat("Programming - Languages - General","COM051010");
newChildCat("Programming - Parallel Programming","COM051220");
newChildCat("Programming - Software Development","COM051230");
newChildCat("Programming - Systems Analysis & Design","COM051240");
newChildCat("Programming - Visual Programming","COM051250");
newChildCat("Reference","COM052000");
newChildCat("Reference - Beginner Guides","COM052510");
newChildCat("Security","COM053000");
newChildCat("Spreadsheets - IBM Compatible","COM054010");
newChildCat("Technical Skills","COM055000");
newChildCat("Utilities","COM056000");
newChildCat("Virtual Reality","COM057000");
newChildCat("Word Processing - General","COM058000");

newParentCat();
newChildCat("American - General","CKB002000");
newChildCat("Baking","CKB004000");
newChildCat("General","CKB000000");
newChildCat("Quick & Easy Cookery","CKB070000");

newParentCat();
newChildCat("Decorating","CRA005000");
newChildCat("General","CRA000000");
newChildCat("Painting","CRA024000");

newParentCat();
newChildCat("Adult & Continuing Education","EDU002000");
newChildCat("Aims & Objectives","EDU003000");
newChildCat("Bilingual Education","EDU005000");
newChildCat("Counseling","EDU006000");
newChildCat("Decision Making / Problem Solving","EDU008000");
newChildCat("Educational Psychology","EDU009000");
newChildCat("Educational Reform","EDU034000");
newChildCat("Elementary","EDU010000");
newChildCat("Evaluation","EDU011000");
newChildCat("Experimental Methods","EDU012000");
newChildCat("Finance","EDU013000");
newChildCat("Funding","EDU035000");
newChildCat("General","EDU000000");
newChildCat("Guidance & Orientation","EDU014000");
newChildCat("Higher","EDU015000");
newChildCat("Home Schooling","EDU017000");
newChildCat("Leadership","EDU032000");
newChildCat("Library Science & Guidance","EDU019000");
newChildCat("Non-Formal Education","EDU021000");
newChildCat("Organizations & Institutions","EDU036000");
newChildCat("Parent Participation","EDU022000");
newChildCat("Preschool & Kindergarten","EDU023000");
newChildCat("Reference","EDU024000");
newChildCat("Research","EDU037000");
newChildCat("Special Education - General","EDU026000");
newChildCat("Students & Student Life","EDU038000");
newChildCat("Study Skills","EDU028000");
newChildCat("Teaching","EDU029000");
newChildCat("Vocational Guidance","EDU031000");

newParentCat();
newChildCat("Action","FIC001000");
newChildCat("Adventure","FIC002000");
newChildCat("Anthologies (multiple authors)","FIC003000");
newChildCat("Family Saga","FIC008000");
newChildCat("Fantasy - General","FIC009000");
newChildCat("Folklore","FIC010000");
newChildCat("General","FIC000000");
newChildCat("Humorous","FIC016000");
newChildCat("Literary","FIC019000");
newChildCat("Religious","FIC026000");
newChildCat("Romance - Contemporary","FIC027020");
newChildCat("Romance - General","FIC027000");
newChildCat("Science Fiction - General","FIC028000");
newChildCat("Science Fiction - High Tech","FIC028020");
newChildCat("Short Stories (Anthologies)","FIC501000");
newChildCat("Short Stories (single author)","FIC029000");

newParentCat();
newChildCat("Video / Electronic Games","GAM013000");

newParentCat();
newChildCat("Flowers - Annuals","GAR004010");
newChildCat("Flowers - Bulbs","GAR004030");
newChildCat("Flowers - Perennials","GAR004050");
newChildCat("General","GAR000000");
newChildCat("Landscape","GAR014000");
newChildCat("Reference","GAR018000");
newChildCat("Techniques","GAR022000");

newParentCat();
newChildCat("Acupressure","HEA001000");
newChildCat("Aerobics","HEA002000");
newChildCat("Calorie - Content Guides","HEA004000");
newChildCat("Cholesterol - Content Guides","HEA005000");
newChildCat("Diets","HEA006000");
newChildCat("Diets - Better Health","HEA006530");
newChildCat("Diets - Special Conditions","HEA006510");
newChildCat("Diets - Weight Loss","HEA006520");
newChildCat("Exercise","HEA007000");
newChildCat("General","HEA000000");
newChildCat("Healing","HEA009000");
newChildCat("Health Care Issues","HEA028000");
newChildCat("Healthy Living","HEA010000");
newChildCat("Herbal Medications","HEA011000");
newChildCat("Holism","HEA012000");
newChildCat("Homeopathy","HEA501000");
newChildCat("Men's Health","HEA015000");
newChildCat("Nutrition","HEA017000");
newChildCat("Physical Impairments","HEA018000");
newChildCat("Reducing","HEA019000");
newChildCat("Reference","HEA020000");
newChildCat("Safety","HEA021000");
newChildCat("Vitamins","HEA023000");
newChildCat("Women's Health","HEA024000");
newChildCat("Women's Health - Menopause","HEA024520");

newParentCat();
newChildCat("Military - United States","HIS027110");
newChildCat("United States - Civil War","HIS036050");

newParentCat();
newChildCat("Essays","HUM003000");
newChildCat("General","HUM000000");
newChildCat("Parodies","HUM501000");

newParentCat();
newChildCat("Communication","LAN004000");
newChildCat("Composition & Creative Writing","LAN005000");
newChildCat("Composition & Creative Writing - Editing","LAN005530");
newChildCat("General","LAN000000");
newChildCat("Grammar","LAN006000");
newChildCat("Journalism","LAN008000");
newChildCat("Linguistics","LAN009000");
newChildCat("Readers","LAN012000");
newChildCat("Reference","LAN014000");
newChildCat("Semantics","LAN016000");
newChildCat("Speech","LAN018000");
newChildCat("Spelling","LAN019000");

newParentCat();
newChildCat("Administrative Law & Regulatory Practice","LAW001000");
newChildCat("Arbitration / Negotiation / Mediation","LAW006000");
newChildCat("Banking","LAW007000");
newChildCat("Business","LAW009000");
newChildCat("Civil Rights","LAW013000");
newChildCat("Commercial","LAW014000");
newChildCat("Communications","LAW015000");
newChildCat("Consumer Law","LAW020000");
newChildCat("Criminal Law","LAW026000");
newChildCat("Criminal Procedure","LAW027000");
newChildCat("Discrimination","LAW094000");
newChildCat("Domestic Relations - Divorce & Separation","LAW038020");
newChildCat("Domestic Relations - General","LAW038000");
newChildCat("Domestic Relations - Marriage","LAW038040");
newChildCat("Emigration &Immigration","LAW032000");
newChildCat("Entertainment","LAW033000");
newChildCat("Estates & Trusts","LAW035000");
newChildCat("Ethics","LAW036000");
newChildCat("Evidence","LAW037000");
newChildCat("Federal Jurisdiction","LAW039000");
newChildCat("Forensic Science","LAW041000");
newChildCat("Franchising","LAW042000");
newChildCat("General","LAW000000");
newChildCat("Intellectual Property","LAW050000");
newChildCat("Labor & Employment","LAW054000");
newChildCat("Law Office Technology","LAW058000");
newChildCat("Legal Writing","LAW063000");
newChildCat("Living Wills","LAW065000");
newChildCat("Medical Law & Legislation","LAW093000");
newChildCat("Patent, Trademark & Copyright","LAW072000");
newChildCat("Property","LAW074000");
newChildCat("Public","LAW075000");
newChildCat("Real Estate","LAW078000");
newChildCat("Reference - Practical Guides","LAW079510");
newChildCat("Research","LAW081000");
newChildCat("Taxation","LAW086000");
newChildCat("Urban, State & Local Government","LAW089000");
newChildCat("Wills","LAW090000");

newParentCat();
newChildCat("Belles Lettres","LIT001000");
newChildCat("Books & Reading","LIT007000");
newChildCat("Children's Literature","LIT501000");
newChildCat("Children's Literature - Storytelling","LIT501510");
newChildCat("Essays","LIT002000");
newChildCat("Feminist Criticism","LIT003000");
newChildCat("General","LIT000000");
newChildCat("History & Criticism - General","LIT004000");
newChildCat("Reference","LIT502000");
newChildCat("Semiotics","LIT005000");
newChildCat("Theory","LIT006000");

newParentCat();
newChildCat("Allied Health Services - Medical Assistants","MED003030");
newChildCat("Anatomy","MED005000");
newChildCat("Biochemistry","MED008000");
newChildCat("Caregiving","MED011000");
newChildCat("Diagnosis","MED018000");
newChildCat("Diseases - General","MED022000");
newChildCat("Diseases - Genitourinary","MED022150");
newChildCat("Drug Guides","MED023000");
newChildCat("Education & Training","MED024000");
newChildCat("Essays","MED501000");
newChildCat("General","MED000000");
newChildCat("Gynecology & Obstetrics","MED033000");
newChildCat("Health Policy","MED036000");
newChildCat("Medical Ethics","MED050000");
newChildCat("Medical History & Records","MED051000");
newChildCat("Medical Procedure","MED503000");
newChildCat("Physician & Patient","MED074000");
newChildCat("Public Health","MED078000");
newChildCat("Reproductive Medicine & Technology","MED082000");
newChildCat("Research","MED106000");

newParentCat();
newChildCat("Musical Instruments - General","MUS023000");

newParentCat();
newChildCat("General","NAT000000");

newParentCat();
newChildCat("ESP (Clairvoyance, Precognition, Telepathy)","OCC007000");
newChildCat("Fortune Telling","OCC008000");
newChildCat("General","OCC000000");
newChildCat("Mental & Spiritual Healing","OCC011000");
newChildCat("Personal Transformation","OCC019000");

newParentCat();
newChildCat("Birds","PET002000");
newChildCat("Cats - Care/Health","PET003510");
newChildCat("Cats - General","PET003000");
newChildCat("Dogs - Care/Health","PET004510");
newChildCat("General","PET000000");
newChildCat("Reptiles & Amphibians","PET009000");

newParentCat();
newChildCat("Existentialism","PHI006000");
newChildCat("Free Will & Determinism","PHI007000");
newChildCat("General","PHI000000");
newChildCat("Logic","PHI011000");
newChildCat("Metaphysics","PHI013000");
newChildCat("Methodology","PHI014000");
newChildCat("Mind & Body","PHI015000");
newChildCat("Modern","PHI016000");
newChildCat("Pragmatism","PHI020000");

newParentCat();
newChildCat("Camera Specific","PHO002000");
newChildCat("Color","PHO020000");
newChildCat("General","PHO000000");
newChildCat("Photo Essays","PHO014000");
newChildCat("Photojournalism","PHO015000");
newChildCat("Portraits","PHO016000");
newChildCat("Reference","PHO017000");
newChildCat("Travel","PHO019000");

newParentCat();
newChildCat("General","POE000000");
newChildCat("Single Author","POE005000");
newChildCat("Single Author - British & Irish","POE005020");
newChildCat("Single Author - Other","POE005040");

newParentCat();
newChildCat("Civil Rights","POL004000");
newChildCat("Democracy","POL007000");
newChildCat("Economic Policy","POL024000");
newChildCat("General","POL000000");
newChildCat("International Security","POL012000");
newChildCat("Labor & Industrial Relations","POL013000");
newChildCat("Public Affairs & Administration","POL017000");

newParentCat();
newChildCat("Child Development","PSY004000");
newChildCat("Child Psychology","PSY006000");
newChildCat("Clinical Psychology","PSY007000");
newChildCat("Cognitive Psychology","PSY008000");
newChildCat("Compulsive Behavior","PSY009000");
newChildCat("Counseling","PSY010000");
newChildCat("Counseling - Children","PSY010520");
newChildCat("Counseling - Marriage","PSY010530");
newChildCat("Creative Ability","PSY034000");
newChildCat("Education & Training","PSY012000");
newChildCat("Emotions","PSY013000");
newChildCat("Family Therapy","PSY501000");
newChildCat("General","PSY000000");
newChildCat("Interpersonal Relations","PSY017000");
newChildCat("Mental Health","PSY036000");
newChildCat("Occupational & Industrial Psychology","PSY021000");
newChildCat("Personality","PSY023000");
newChildCat("Psychoanalysis","PSY026000");
newChildCat("Psychotherapy","PSY028000");
newChildCat("Social, Group, or Collective Psychology","PSY031000");
newChildCat("Substance Abuse","PSY033000");

newParentCat();
newChildCat("Basic Skills","REF003000");
newChildCat("Business Skills / Aids","REF005000");
newChildCat("Curiosities & Wonders","REF007000");
newChildCat("Dictionaries","REF008000");
newChildCat("General","REF000000");
newChildCat("Handbooks & Manuals","REF028000");
newChildCat("Personal & Practical Guides","REF015000");
newChildCat("Publishing","REF017000");
newChildCat("Questions & Answers","REF018000");
newChildCat("Writing Skills","REF026000");

newParentCat();
newChildCat("Bible - Commentaries - General","REL006050");
newChildCat("Bible - Commentaries - New Testament","REL006070");
newChildCat("Bible - General","REL006000");
newChildCat("Bible - Stories - General","REL006170");
newChildCat("Bible - Study - General","REL006200");
newChildCat("Bible - Theology - General","REL006420");
newChildCat("Christian Education","REL011000");
newChildCat("Christian Life","REL012000");
newChildCat("Christianity","REL070000");
newChildCat("Church Administration","REL014000");
newChildCat("Clergy","REL081000");
newChildCat("Comparative Religion","REL017000");
newChildCat("Counseling","REL019000");
newChildCat("Devotional","REL022000");
newChildCat("Discipleship","REL023000");
newChildCat("Education","REL026000");
newChildCat("Evangelism","REL030000");
newChildCat("Faith","REL077000");
newChildCat("General","REL000000");
newChildCat("Holidays - Christmas","REL034020");
newChildCat("Inspirational","REL036000");
newChildCat("Inspirational - Gifts","REL036550");
newChildCat("Inspirational - Protestant","REL036520");
newChildCat("Pastoral Ministry","REL074000");
newChildCat("Pentacostalism","REL079000");
newChildCat("Prayer","REL501000");
newChildCat("Preaching","REL080000");
newChildCat("Protestantism","REL053000");
newChildCat("Reference","REL054000");
newChildCat("Sermons - Christian","REL058010");
newChildCat("Sociology of Religion","REL076000");
newChildCat("Spirituality","REL062000");
newChildCat("Spirituality - Women's","REL062510");
newChildCat("Stewardship","REL063000");

newParentCat();
newChildCat("Acoustics & Sound","SCI001000");
newChildCat("Astronomy","SCI004000");
newChildCat("Astronomy - Solar System","SCI004510");
newChildCat("Astronomy - Star Guides","SCI004520");
newChildCat("Astronomy - Universe","SCI004530");
newChildCat("General","SCI000000");
newChildCat("Light","SCI037000");
newChildCat("Time","SCI066000");
newChildCat("Waves & Wave Mechanics","SCI067000");

newParentCat();
newChildCat("Addiction","SEL002000");
newChildCat("Affirmations","SEL004000");
newChildCat("Aging","SEL005000");
newChildCat("Creativity","SEL009000");
newChildCat("Death / Grief / Bereavement","SEL010000");
newChildCat("Depression","SEL011000");
newChildCat("Dreams","SEL012000");
newChildCat("General","SEL000000");
newChildCat("Happiness","SEL016000");
newChildCat("Hypnotism","SEL017000");
newChildCat("Journal Writing","SEL501000");
newChildCat("Meditations","SEL019000");
newChildCat("Motivational","SEL021000");
newChildCat("New Age (Self Help)","SEL503000");
newChildCat("Recovery","SEL022000");
newChildCat("Self-Esteem / Self-Respect","SEL023000");
newChildCat("Stress Management","SEL024000");
newChildCat("Success","SEL027000");
newChildCat("Treatment","SEL028000");

newParentCat();
newChildCat("African-American Studies","SOC001000");
newChildCat("Customs & Traditions","SOC005000");
newChildCat("Feminism / Feminist Theory","SOC010000");
newChildCat("Gerontology","SOC013000");
newChildCat("Men's Studies","SOC018000");
newChildCat("Minority Studies","SOC020000");
newChildCat("Minority Studies - Ethnic American","SOC020510");
newChildCat("Popular Culture","SOC022000");
newChildCat("Sociology - General","SOC026000");
newChildCat("Sociology - Marriage & Family","SOC026010");
newChildCat("Statistics","SOC027000");
newChildCat("Women's Studies","SOC028000");

newParentCat();
newChildCat("Baseball - Coaching","SPO003010");
newChildCat("Baseball - Essays & Writings","SPO003020");
newChildCat("Baseball - General","SPO003000");
newChildCat("Baseball - History","SPO003030");
newChildCat("Baseball - Statistics","SPO003040");
newChildCat("Camping","SPO009000");
newChildCat("Essays","SPO012000");
newChildCat("Field Sports","SPO013000");
newChildCat("General","SPO000000");
newChildCat("History","SPO019000");

newParentCat();
newChildCat("Automation","TEC004000");
newChildCat("General","TEC000000");
newChildCat("Machinery","TEC046000");
newChildCat("Reference","TEC035000");
newChildCat("Technical Writing","TEC044000");
newChildCat("Telecommunications","TEC041000");
newChildCat("Telephone Systems","TEC042000");

newParentCat();
newChildCat("Business / Careers / Occupations","JUV006000");
newChildCat("Families & Family Life - General","JUV013000");
newChildCat("Families & Family Life - Parents","JUV013060");
newChildCat("General","JUV000000");
newChildCat("Holidays & Festivals - Christmas","JUV017010");
newChildCat("Holidays & Festivals - Easter","JUV017020");
newChildCat("Holidays & Festivals - General","JUV017000");
newChildCat("Holidays & Festivals - Jewish","JUV017040");
newChildCat("Holidays & Festivals - Other - Non-religious","JUV017080");
newChildCat("Holidays & Festivals - Other - Religious","JUV017090");
newChildCat("Holidays & Festivals - Thanksgiving","JUV017060");
newChildCat("Law & Crime","JUV021000");
newChildCat("Love & Romance","JUV026000");
newChildCat("Movie Tie - In","JUV027000");
newChildCat("School & Education","JUV035000");
newChildCat("School & Education - Time/Money","JUV035570");
newChildCat("Science & Technology - Computers","JUV036560");
newChildCat("Social Situations - Friendship","JUV039060");
newChildCat("Social Situations - General","JUV039000");
newChildCat("Social Situations - New Experience","JUV039090");
newChildCat("Social Situations - Self-Esteem / Self-Reliance","JUV039140");
newChildCat("Social Situations - Teen Lifestyle","JUV039530");
newChildCat("Social Situations - Values","JUV039510");
newChildCat("Transportation - Cars/Trucks","JUV041530");

newParentCat();
newChildCat("Adventure","TRV001000");
newChildCat("Canada","TRV006000");
newChildCat("Essays / Travelogues / Adventure / Armchair","TRV010000");
newChildCat("Europe - General","TRV009000");
newChildCat("Europe - Great Britain","TRV009070");
newChildCat("Europe - Western","TRV009150");
newChildCat("Family Travel","TRV011000");
newChildCat("General","TRV000000");
newChildCat("Museums, Tours, Points of Interest","TRV016000");
newChildCat("Parks & Campgrounds","TRV018000");
newChildCat("Reference","TRV021000");
newChildCat("Reference - Cruise Guides","TRV021510");
newChildCat("Reference - Guides (General)","TRV021520");
newChildCat("Reference - Tips","TRV021540");
newChildCat("United States - General","TRV025000");
newChildCat("United States - Midwest - General","TRV025010");
newChildCat("United States - South - South Atlantic (DC, DE, FL, GA, MD, NC, SC, VA, WV)","TRV025090");
newChildCat("United States - West - Pacific (AK, CA, HI, NV, OR, WA)","TRV025130");

function relate(formName,elementNum,j) {
if(v){
getFormNum(formName);
 if (formNum>=0) {
        formNum = formNum + 1; // reference next form, assume it follows in HTML
        with (document.forms[formNum].elements[elementNum]) {
                for(i=options.length-1;i>0;i--) options[i] = null; // null out in reverse order (bug workarnd)
                for(i=0;i<a[j].length;i++){
                        options[i] = new Option(a[j][i].text,a[j][i].value);
                }
                options[0].selected = true;
        }
        // set the value of the hidden variable in the top form (asks for querystring)
        document.frmsrchbox.frmHiddenSubjChildCat.value = document.forms.ChildSubjCat.frmSubjChildCat.options[document.forms.ChildSubjCat.frmSubjChildCat.selectedIndex].value;
        document.frmsrchbox.frmHiddenWebSearchStr1.value = document.forms.ParentSubjCat.PSCSel.options[document.forms.ParentSubjCat.PSCSel.selectedIndex].text;
        document.frmsrchbox.frmHiddenWebSearchStr2.value = document.forms.ChildSubjCat.frmSubjChildCat.options[document.forms.ChildSubjCat.frmSubjChildCat.selectedIndex].text;
        document.frmsrchbox.frmSearchString.value = '';
 }
} else {
jmp(formName,elementNum);
}
}


function relate2(formName,elementNum,j) {
if(v){
getFormNum(formName);
 if (formNum>=0) {
        formNum = formNum - 2; // reference previous form 2 back, assume it precedes in HTML
        // set the value of the hidden variable in the top form (asks for querystring)
        //document.frmsrchbox.frmHiddenSubjChildCat.value = document.forms.ChildSubjCat.frmSubjChildCat.value; //works in IE 5.0
        document.frmsrchbox.frmHiddenSubjChildCat.value = document.forms.ChildSubjCat.frmSubjChildCat.options[document.forms.ChildSubjCat.frmSubjChildCat.selectedIndex].value;
        document.frmsrchbox.frmHiddenWebSearchStr2.value = document.forms.ChildSubjCat.frmSubjChildCat.options[document.forms.ChildSubjCat.frmSubjChildCat.selectedIndex].text;
        document.frmsrchbox.frmHiddenWebSearchStr1.value = document.forms.ParentSubjCat.PSCSel.options[document.forms.ParentSubjCat.PSCSel.selectedIndex].text;
        document.frmsrchbox.frmSearchString.value = '';
        }
 }
}

/* Copyright (c) 1996-1999 internet.com LLC. All rights reserved.
* Originally published at http://www.webreference.com
* You may use this code on a Web site only if this entire
* copyright notice appears unchanged. By Andrew King 990206
*/

/*
<%
'------------------------------------------------
'ZDNet (c) 1999. DevHead and ScriptLibrary provides
'these scripts as a free service to our users. The
'scripts have been provided by the author for use
'within the resource and are "freely distributable."
'Scripts remain the property of the author, unless
'otherwise indicated.
%>
*/

function showfilled()
{
 var mtxtvar;
 mtxtvar = "<SELECT class=ComboSm id=PSCSel name=PSCSel SIZE=1 onChange=relate(this.form,0,this.selectedIndex)>";
 mtxtvar = mtxtvar + "<option selected value=None> Choose a Main Category &nbsp;";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=ANT>Antiques / Collectibles";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=ARC>Architecture";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=BIO>Biography / Autobiography";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=BUS>Business / Economics / Finance";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=COM>Computer Technology & Software";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=CKB>Cooking";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=CRA>Crafts & Hobbies";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=EDU>Education & Teaching";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=FIC>Fiction";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=GAM>Games";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=GAR>Gardening & Horticulture";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=HEA>Health & Fitness";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=HIS>History";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=HUM>Humor";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=LAN>Language Arts";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=LAW>Law";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=LIT>Literature Criticism & Essays";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=MED>Medical / Nursing / Home Care";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=MUS>Music";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=NAT>Nature & Natural History";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=OCC>Occultism / Parapsychology";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=PET>Pets & Pet Care";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=PHI>Philosophy";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=PHO>Photography";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=POE>Poetry";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=POL>Political Science & Government";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=PSY>Psychology / Psychiatry";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=REF>Reference";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=REL>Religion";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=SCI>Science";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=SEL>Self Actualization";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=SOC>Social Sciences";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=SPO>Sports & Recreation";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=TEC>Technology";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=JUV>Teen";
 mtxtvar = mtxtvar + "<option value=http:\\www.insiderreports.com\resources\library\searchlibrary.asp?SubjParentCat=TRV>Travel";
 mtxtvar = mtxtvar + "</select>";

 return mtxtvar;
}
<!-- End-of-dyn_parent_child_cat_combo - 7/4/2006 -->
