function checkCategory(iID, strCategory) { objElement = document.getElementById(iID) if (objElement) { objElement.href = 'results.asp?Category=' + strCategory; } } function checkSubcategory(iID, strCategory, strSubcategory) { objElement = document.getElementById(iID) if (objElement) { objElement.href = 'results.asp?Category=' + strCategory + '&Subcategory=' + strSubcategory; } } function checkBrand(iID, strBrand) { objElement = document.getElementById(iID) if (objElement) { objElement.href = 'results.asp?Brand=' + strBrand; } } checkCategory('1475','Books'); checkSubcategory('1507','Books','Mopar Books'); checkSubcategory('1508','Books','GM Books'); checkSubcategory('1509','Books','Ford Books'); checkSubcategory('1510','Books','Import Books'); checkSubcategory('1511','Books','Other Books'); checkCategory('1469','Brakes'); checkSubcategory('1502','Brakes','Brake Kits Rear'); checkSubcategory('1485','Brakes','Brake Kits Front'); checkSubcategory('1470','Brakes','Disc Brake Calipers'); checkSubcategory('1494','Brakes','Proportioning / Residual Valves, Master Cylinders'); checkSubcategory('1493','Brakes','Brake Pads'); checkCategory('1472','Chassis'); checkSubcategory('1473','Chassis','Subframe Connectors'); checkCategory('1482','Drivetrain'); checkCategory('1481','Electrical'); checkCategory('1444','Engine'); checkSubcategory('1452','Engine','Motorplates'); checkSubcategory('1520','Engine','Oil Pans'); checkSubcategory('1445','Engine','Oil Pans and Pumps'); checkSubcategory('1506','Engine','Gear Drives'); checkCategory('1441','Exhaust'); checkSubcategory('1442','Exhaust','Headers and Tailpipes'); checkSubcategory('1486','Exhaust','Mild Steel U-Bends'); checkSubcategory('1503','Exhaust','Straight Tubing'); checkSubcategory('1504','Exhaust','Stainless U-Bends'); checkSubcategory('1505','Exhaust','Flanges'); checkCategory('1476','Fuel Systems'); checkCategory('1449','Hardware'); checkSubcategory('1450','Hardware','Rod Ends'); checkSubcategory('1488','Hardware','Jam Nuts'); checkSubcategory('1489','Hardware','Quick Release Fasteners'); checkCategory('1483','Plumbing'); checkCategory('1453','Suspension and Steering'); checkSubcategory('1468','Suspension and Steering','Control Arms'); checkSubcategory('1454','Suspension and Steering','K-Member Conversions'); checkSubcategory('1471','Suspension and Steering','Rear Suspension'); checkSubcategory('1484','Suspension and Steering','Coil Overs'); checkCategory('1478','Safety Equipment'); checkCategory('1474','Unassigned'); checkCategory('1477','Videos'); checkBrand('1515','Magnaflow'); checkBrand('1516','Mark Williams'); checkBrand('1517','Thunderbird'); checkBrand('1518','Teckademics'); checkBrand('1521','NOS Nitrous Oxide'); checkBrand('1522','Griffin Radiators'); checkBrand('1438','Aldan'); checkBrand('1446','Class M Productions'); checkBrand('1447','Crow Enterprises'); checkBrand('1448','FK Bearings'); checkBrand('1456','Flaming River'); checkBrand('1458','HP Books'); checkBrand('1459','Magnafuel'); checkBrand('1451','Magnumforce'); checkBrand('1443','Milodon'); checkBrand('1460','Milspec'); checkBrand('1439','No Manufacturer'); checkBrand('1462','SA Design'); checkBrand('1465','Strange Engineering'); checkBrand('1466','Technafit'); checkBrand('1464','Wilwood'); checkBrand('1463','Exhaust Components'); checkBrand('1440','Tube Technologies Inc');