//default page category dynamic display
function fillsubs(strCat){
    var strHTML = ''
    document.getElementById('childrens').style.backgroundColor = '';
    document.getElementById('medical').style.backgroundColor = '';
    document.getElementById('bus').style.backgroundColor = '';
    document.getElementById('History').style.backgroundColor = '';
    document.getElementById('Fiction').style.backgroundColor = '';
    document.getElementById('Reference').style.backgroundColor = '';
    document.getElementById('Education').style.backgroundColor = '';
    document.getElementById('Science').style.backgroundColor = '';
    document.getElementById('Religion').style.backgroundColor = '';
    //document.getElementById('Technology').style.backgroundColor = '';
    document.getElementById('AllCat').style.backgroundColor = '';
    switch(strCat){
        case 'childrens':
            document.getElementById('childrens').style.backgroundColor = '#e1e5ed';
            strHTML += '<table cellspacing="0" width="100%" >';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Children%27s&cat2=anguage+Arts" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Language Arts</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Children%27s&cat2=Foreign+Language+Study" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Foreign Language Study</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Children%27s&cat2=Science+%26+Technology" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Science & Technology</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Children%27s&cat2=Mathematics" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Mathematics</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Children%27s&cat2=Religion" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Religion</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Children%27s&cat2=History" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;History</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Children%27s&cat2=Literary+Criticism+%26+Collections" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Literary Criticism</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Children%27s&cat2=Social+Situations" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Social Situations</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Children%27s&cat2=Animals" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Animals</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Children%27s&cat2=Science+Fiction%2C+Fantasy%2C+Magic" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;SciFi, Fantasy, Magic</a></td></tr>';
            strHTML += '</table>';
            break;
        case 'medical':
            document.getElementById('medical').style.backgroundColor = '#e1e5ed';
            strHTML += '<table cellspacing="0">';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Medical&cat2=Nursing" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Nursing</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Medical&cat2=General" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;General</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Medical&cat2=Allied+Health+Services" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Allied Health Services</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Medical&cat2=Reference" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Reference</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Medical&cat2=Pharmacology" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Pharmacology</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Medical&cat2=History" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;History</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Medical&cat2=Dentistry" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Dentistry</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Medical&cat2=Surgery" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Surgery</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Medical&cat2=Veterinary+Medicine" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Veterinary Medicine</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Medical&cat2=Counseling" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Counseling</a></td></tr>';
            strHTML += '</table>';
            break;
        case 'bus':
            document.getElementById('bus').style.backgroundColor = '#e1e5ed';
            strHTML += '<table cellspacing="0">';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Business+%26+Economics&cat2=Accounting" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Accounting</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Business+%26+Economics&cat2=Economics" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Economics</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Business+%26+Economics&cat2=Management" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Management</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Business+%26+Economics&cat2=Marketing" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Marketing</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Business+%26+Economics&cat2=Human+Resources+%26+Personnel+Management" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;HR & Personnel Mgt</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Business+%26+Economics&cat2=General" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;General</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Business+%26+Economics&cat2=Business+Communication" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Business Comm</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Business+%26+Economics&cat2=Finance" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Finance</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Business+%26+Economics&cat2=Systems+%26+Planning" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Systems & Planning</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Business+%26+Economics&cat2=Corporate+Finance" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Corporate Finance</a></td></tr>';
            strHTML += '</table>';
            break;
        case 'History':
            document.getElementById('History').style.backgroundColor = '#e1e5ed';
            strHTML += '<table cellspacing="0">';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=History&cat2=General" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;General</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=History&cat2=United+States" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;United States</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=History&cat2=World" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;World</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=History&cat2=International+Relations" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;International Relations</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=History&cat2=Business" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Business</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=History&cat2=Criminal+Law" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Criminal Law</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=History&cat2=Paralegals+%26+Paralegalism" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Paralegals & Paralegalism</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=History&cat2=Military" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Military</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=History&cat2=Civilization" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Civilization</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=History&cat2=Constitutional" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Constitutional</a></td></tr>';                    
            strHTML += '</table>';
            break;
        case 'Fiction':
            document.getElementById('Fiction').style.backgroundColor = '#e1e5ed';
            strHTML += '<table cellspacing="0">';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Fiction&cat2=General" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;General</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Fiction&cat2=Classics" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Classics</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Fiction&cat2=Literary" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Literary</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Fiction&cat2=Romance" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Romance</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Fiction&cat2=Mystery+%26+Detective" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Mystery & Detective</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Fiction&cat2=Science+Fiction" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Science Fiction</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Fiction&cat2=Single+Author" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Single Author</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Fiction&cat2=American" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;American</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Fiction&cat2=Psychological" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Psychological</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Fiction&cat2=Fantasy" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Fantasy</a></td></tr>';
            strHTML += '</table>';
            break;
        case 'Reference':
            document.getElementById('Reference').style.backgroundColor = '#e1e5ed';
            strHTML += '<table cellspacing="0">';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Reference&cat2=Composition+%26+Creative+Writing" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Creative Writing</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Reference&cat2=General" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;General</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Reference&cat2=Communication" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Communication</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Reference&cat2=Public+Speaking" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Public Speaking</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Reference&cat2=Grammar" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Grammar</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Reference&cat2=Reference" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Reference</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Reference&cat2=Writing+Skills" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Writing Skills</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Reference&cat2=Rhetoric" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Rhetoric</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Reference&cat2=Dictionaries" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Dictionaries</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Reference&cat2=Speech" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Speech</a></td></tr>';
            strHTML += '</table>';
            break;
        case 'Education':
            document.getElementById('Education').style.backgroundColor = '#e1e5ed';
            strHTML += '<table cellspacing="0">';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Education&cat2=Teaching+Methods" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Teaching Methods</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Education&cat2=General" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;General</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Education&cat2=Special+Education" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Special Education</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Education&cat2=Elementary" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Elementary</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Education&cat2=Teaching+Methods+%26+Materials+" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Teaching Materials </a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Education&cat2=Preschool+%26+Kindergarten" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Preschool & Kindergarten</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Education&cat2=Counseling" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Counseling</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Education&cat2=Curricula" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Curricula</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Education&cat2=Administration" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Administration</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Education&cat2=Educational+Psychology" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Educational Psychology</a></td></tr>';
            strHTML += '</table>';
            break;
        case 'Science':
            document.getElementById('Science').style.backgroundColor = '#e1e5ed';
            strHTML += '<table cellspacing="0">';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Science&cat2=Biology" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Biology</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Science&cat2=Chemistry" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Chemistry</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Science&cat2=Physics" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Physics</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Science&cat2=Human+Physiology" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Human Physiology</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Science&cat2=General" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;General</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Science&cat2=Geography" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Geography</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Science&cat2=Physiology+(See+Also+Human+Physiology)" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Physiology</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Science&cat2=Microbiology" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Microbiology</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Science&cat2=Environmental+Science" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Environmental Science</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Science&cat2=Earth+Sciences" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Earth Sciences</a></td></tr>';
            strHTML += '</table>';
            break;
        case 'Religious':
    document.getElementById('Religion').style.backgroundColor = '#e1e5ed';
            strHTML += '<table cellspacing="0">';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Religion&cat2=Bible" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Bible</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Religion&cat2=General" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;General</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Religion&cat2=Catholicism" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Catholicism</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Religion&cat2=Bibles" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Bibles</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Religion&cat2=Christianity" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Christianity</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Religion&cat2=Christian+Life" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Christian Life</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Religion&cat2=Spirituality" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Spirituality</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Religion&cat2=Theology" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Theology</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Religion&cat2=Reference" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Reference</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Religion&cat2=Judaism" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Judaism</a></td></tr>';
            strHTML += '</table>';
            break;
        case 'Technology':
            document.getElementById('Technology').style.backgroundColor = '#e1e5ed';
            strHTML += '<table cellspacing="0">';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Technology&cat2=Algebra" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Algebra</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Technology&cat2=Engineering" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Engineering</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Technology&cat2=Statistics" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Statistics</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Technology&cat2=General" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;General</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Technology&cat2=Calculus" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Calculus</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Technology&cat2=Geometry" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Geometry</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Technology&cat2=Pre-Calculus" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Pre-Calculus</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Technology&cat2=Electronics" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Electronics</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Technology&cat2=Technical+Writing" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Technical Writing</a></td></tr>';
            strHTML += '<tr><td><a href="/cat_searchresult.asp?cat1=Technology&cat2=Advanced" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Advanced</a></td></tr>';                    
            strHTML += '</table>';
            break;
        case 'AllCat':
            document.getElementById('AllCat').style.backgroundColor = '#e1e5ed';
            strHTML += '<table cellspacing="0">';
            strHTML += '<tr><td><a href="/category.asp?cat1=Art" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Art</a></td></tr>';
            strHTML += '<tr><td><a href="/category.asp?cat1=Biography+%26+Autobiography" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="">&nbsp;Biography &amp; Autobiography</a></td></tr>';
            strHTML += '<tr><td><a href="/category.asp?cat1=Body%2C+Mind+%26+Spirit&" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Body, Mind &amp; Spirit</a></td></tr>';
            strHTML += '<tr><td><a href="/category.asp?cat1=Computers" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Computers</a></td></tr>';
            strHTML += '<tr><td><a href="/category.asp?cat1=Cooking" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Cooking</a></td></tr>';
            strHTML += '<tr><td><a href="/category.asp?cat1=Crafts+%26+Hobbies" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Crafts &amp; Hobbies</a></td></tr>';            
            strHTML += '<tr><td><a href="/category.asp?cat1=Family+%26+Relationships" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Family &amp; Relationships</a></td></tr>';
            strHTML += '<tr><td><a href="/category.asp?cat1=Health+%26+Fitness" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;Health &amp; Fitness</a></td></tr>';
            strHTML += '<tr><td><a href="/category.asp?cat1=House+%26+Home" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;House &amp; Home</a></td></tr>';
            strHTML += '<tr><td><a href="/category.asp" style="color: #2E3092; text-decoration: none;"><img src="http://images.ecampus.com/images/new-ecampus/bulletblue.gif" width="7" height="7" border="0" alt="used textbooks">&nbsp;More Categories...</a></td></tr>';
            strHTML += '</table>';
            break;
        default: strHTML = '';
    }   
    document.getElementById("subcat").innerHTML = strHTML
}