Dity Move Weight Calculator

DITY Move Weight Calculator & Guide :root { –primary-color: #004a99; –success-color: #28a745; –background-color: #f8f9fa; –text-color: #333; –light-gray: #e9ecef; –white: #fff; –border-radius: 8px; –box-shadow: 0 4px 8px rgba(0,0,0,0.1); } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(–background-color); color: var(–text-color); line-height: 1.6; margin: 0; padding: 0; } .container { max-width: 960px; margin: 20px auto; padding: 20px; background-color: var(–white); border-radius: var(–border-radius); box-shadow: var(–box-shadow); } h1, h2, h3 { color: var(–primary-color); text-align: center; } h1 { margin-bottom: 20px; } h2 { margin-top: 30px; border-bottom: 2px solid var(–primary-color); padding-bottom: 5px; } .calculator-wrapper { background-color: var(–white); padding: 30px; border-radius: var(–border-radius); box-shadow: var(–box-shadow); margin-bottom: 40px; } .input-group { margin-bottom: 20px; text-align: left; } .input-group label { display: block; margin-bottom: 8px; font-weight: bold; color: var(–primary-color); } .input-group input[type="number"], .input-group input[type="text"], .input-group select { width: calc(100% – 20px); padding: 10px; border: 1px solid var(–light-gray); border-radius: var(–border-radius); box-sizing: border-box; font-size: 1rem; } .input-group .helper-text { font-size: 0.85em; color: #6c757d; margin-top: 5px; display: block; } .input-group .error-message { color: #dc3545; font-size: 0.9em; margin-top: 5px; display: none; /* Hidden by default */ } .button-group { text-align: center; margin-top: 25px; } .button-group button { padding: 10px 20px; margin: 0 10px; border: none; border-radius: var(–border-radius); cursor: pointer; font-size: 1rem; transition: background-color 0.3s ease; } #calculateBtn { background-color: var(–primary-color); color: var(–white); } #calculateBtn:hover { background-color: #003366; } #resetBtn { background-color: var(–light-gray); color: var(–text-color); } #resetBtn:hover { background-color: #adb5bd; } #copyBtn { background-color: var(–success-color); color: var(–white); display: none; /* Hidden by default */ } #copyBtn:hover { background-color: #218838; } #results { margin-top: 30px; padding: 25px; border: 1px solid var(–light-gray); border-radius: var(–border-radius); background-color: var(–light-gray); text-align: center; } #results h3 { color: var(–primary-color); margin-bottom: 15px; } .primary-result { font-size: 2.5em; font-weight: bold; color: var(–primary-color); margin-bottom: 15px; background-color: rgba(40, 167, 69, 0.1); padding: 10px; border-radius: var(–border-radius); display: inline-block; } .intermediate-results div, .calculation-explanation { margin-bottom: 10px; font-size: 1.1em; } .calculation-explanation { font-style: italic; color: #6c757d; margin-top: 20px; } table { width: 100%; border-collapse: collapse; margin-top: 20px; margin-bottom: 30px; box-shadow: var(–box-shadow); } th, td { padding: 12px; text-align: left; border: 1px solid var(–light-gray); } th { background-color: var(–primary-color); color: var(–white); font-weight: bold; } tr:nth-child(even) { background-color: var(–light-gray); } caption { font-size: 1.1em; font-weight: bold; color: var(–primary-color); margin-bottom: 10px; caption-side: top; text-align: left; } canvas { display: block; margin: 20px auto; max-width: 100%; border: 1px solid var(–light-gray); border-radius: var(–border-radius); background-color: var(–white); } .article-section { margin-top: 40px; padding: 30px; background-color: var(–white); border-radius: var(–border-radius); box-shadow: var(–box-shadow); } .article-section h2 { text-align: left; margin-bottom: 20px; } .article-section h3 { text-align: left; margin-top: 25px; margin-bottom: 10px; color: #0056b3; } .article-section p { margin-bottom: 15px; } .article-section ul, .article-section ol { margin-left: 20px; margin-bottom: 15px; } .article-section li { margin-bottom: 8px; } .faq-item { margin-bottom: 15px; } .faq-item strong { color: var(–primary-color); cursor: pointer; display: block; padding: 10px; background-color: var(–light-gray); border-radius: var(–border-radius); margin-bottom: 5px; } .faq-item p { margin-top: 5px; padding: 10px; border-left: 3px solid var(–primary-color); background-color: #f0f8ff; } .internal-links-list { list-style: none; padding: 0; } .internal-links-list li { margin-bottom: 10px; } .internal-links-list a { color: var(–primary-color); text-decoration: none; font-weight: bold; } .internal-links-list a:hover { text-decoration: underline; } .internal-links-list span { font-size: 0.9em; color: #6c757d; display: block; margin-top: 3px; } /* Specific styling for the DITY calculator */ #actualWeightInput, #estimatedWeightInput, #weightUnitSelect, #packingMaterialInput, #vehicleSizeSelect { background-color: var(–white); border: 1px solid var(–light-gray); } #results .primary-result { color: var(–success-color); /* Success color for the main result */ }

DITY Move Weight Calculator & Guide

Estimate the total weight of your DITY (Do It Yourself) move to plan effectively and understand potential reimbursement factors.

DITY Move Weight Calculator

Enter the total weight of your belongings after packing.
Weight of the empty moving truck or trailer.
Estimated weight of boxes, tape, padding, etc.
Pounds (lbs) Kilograms (kg) Select the unit for your weight measurements.

Your DITY Move Weight Estimate

— lbs
Gross Packed Weight: — lbs
Net Cargo Weight: — lbs
Estimated Weight Per Mile: — lbs/mile
Formula: Total DITY Move Weight = (Actual Packed Weight + Packing Material Weight) + Estimated Empty Vehicle Weight. Net Cargo Weight = Actual Packed Weight + Packing Material Weight. Weight Per Mile = Net Cargo Weight / Total Miles Driven.

What is DITY Move Weight?

The DITY (Do It Yourself) move weight refers to the total combined weight of all your personal belongings, packing materials, and the vehicle used to transport them during a military or government-sponsored relocation. Understanding this weight is crucial for several reasons, primarily related to reimbursement calculations and proper planning. For military members authorized for a DITY move, the weight of your shipment is a primary factor in determining the authorized reimbursement amount. It's not just about how much you pack, but also how you pack and transport it.

Who Should Use It: This calculator is designed for military personnel, government employees, and anyone undertaking a DITY move who needs to accurately estimate the weight of their shipment. It helps in budgeting, understanding potential allowances, and ensuring compliance with moving regulations. If you are responsible for arranging your own move and seeking reimbursement, this tool is invaluable.

Common Misconceptions: A frequent misconception is that DITY move weight only includes the weight of the items themselves. In reality, it often includes the weight of the packing materials (boxes, tape, bubble wrap) and, crucially for calculating reimbursement based on weight, the empty weight of the vehicle (like a rental truck or trailer) used for transport. Another misunderstanding is that the weight recorded by a commercial moving company is always the definitive figure; for military DITY moves, specific procedures for weighing at certified weigh stations are usually required.

DITY Move Weight Formula and Mathematical Explanation

Calculating the DITY move weight involves a few key steps to accurately reflect the total mass being transported and the portion for which you are typically reimbursed (the net cargo weight). The primary calculation focuses on determining the gross weight of your shipment and then isolating the weight of your belongings and packing materials (net cargo weight).

Core Calculation:

The total weight for weighing purposes (often referred to as Gross Weight) is calculated as:

Gross Weight = Actual Packed Weight + Weight of Packing Materials + Estimated Empty Vehicle Weight

For reimbursement, the focus is typically on the Net Cargo Weight, which represents the weight of your belongings and their immediate packaging:

Net Cargo Weight = Actual Packed Weight + Weight of Packing Materials

Additionally, many find it useful to understand the weight distributed per mile, especially if using a rental truck with mileage-based costs:

Weight Per Mile = Net Cargo Weight / Total Miles Driven

Variable Explanations:

  • Actual Packed Weight: This is the weight of all the personal property you are moving, including items in boxes, furniture, appliances, etc.
  • Weight of Packing Materials: This includes the cumulative weight of all boxes, crates, tape, bubble wrap, padding, and any other materials used to secure and protect your belongings during the move.
  • Estimated Empty Vehicle Weight: This is the weight of the transportation method itself before any belongings are loaded. This could be a rental truck, a U-Haul trailer, or a personal vehicle if it's part of the official move.
  • Total Miles Driven: The distance covered from the origin to the destination of the move.

Variables Table:

Variable Meaning Unit Typical Range
Actual Packed Weight Weight of all personal belongings. Pounds (lbs) or Kilograms (kg) 500 – 15,000 lbs
Weight of Packing Materials Weight of boxes, padding, tape, etc. Pounds (lbs) or Kilograms (kg) 50 – 500 lbs
Estimated Empty Vehicle Weight Weight of the empty truck/trailer/van. Pounds (lbs) or Kilograms (kg) 1,500 – 8,000 lbs
Total Miles Driven Distance from origin to destination. Miles 10 – 5,000 miles
Gross Weight Total weight for weighing verification. Pounds (lbs) or Kilograms (kg) 2,000 – 20,000 lbs
Net Cargo Weight Weight of belongings and packing materials (reimbursement basis). Pounds (lbs) or Kilograms (kg) 550 – 15,500 lbs
Weight Per Mile Average weight load per mile traveled. Pounds per mile (lbs/mile) 1 – 10 lbs/mile

Practical Examples (Real-World Use Cases)

Example 1: Standard Household DITY Move

Sergeant Miller is moving his family across country. They estimate their packed belongings will weigh around 8,000 lbs. They used a 26-foot moving truck, which weighs approximately 4,500 lbs empty. They estimate the weight of their boxes, tape, and padding to be about 400 lbs. The total distance is 1,500 miles.

  • Actual Packed Weight: 8,000 lbs
  • Weight of Packing Materials: 400 lbs
  • Estimated Empty Vehicle Weight: 4,500 lbs
  • Total Miles Driven: 1,500 miles

Calculation:

  • Net Cargo Weight = 8,000 lbs + 400 lbs = 8,400 lbs
  • Gross Weight = 8,400 lbs + 4,500 lbs = 12,900 lbs
  • Weight Per Mile = 8,400 lbs / 1,500 miles = 5.6 lbs/mile

Interpretation: Sergeant Miller's DITY move has a net cargo weight of 8,400 lbs, which is the figure typically used for reimbursement calculations. The gross weight of 12,900 lbs is what would be measured at a weigh station, including the truck. The weight per mile indicates a moderate load density for the truck's capacity.

Example 2: Small Apartment DITY Move with Trailer

Airman Davis is moving out of a small apartment. She plans to use a trailer towed by her personal vehicle. She estimates her packed items will weigh 1,200 lbs. The trailer's empty weight is 700 lbs, and she estimates 100 lbs for packing materials. The move is 300 miles.

  • Actual Packed Weight: 1,200 lbs
  • Weight of Packing Materials: 100 lbs
  • Estimated Empty Vehicle Weight: 700 lbs
  • Total Miles Driven: 300 miles

Calculation:

  • Net Cargo Weight = 1,200 lbs + 100 lbs = 1,300 lbs
  • Gross Weight = 1,300 lbs + 700 lbs = 2,000 lbs
  • Weight Per Mile = 1,300 lbs / 300 miles ≈ 4.33 lbs/mile

Interpretation: Airman Davis's DITY move has a net cargo weight of 1,300 lbs. The total weight when combined with the trailer is 2,000 lbs. This demonstrates that even smaller moves using trailers require careful weight estimation for DITY purposes.

How to Use This DITY Move Weight Calculator

Using this DITY Move Weight Calculator is straightforward and designed to provide a quick estimate for your relocation planning. Follow these steps:

  1. Enter Actual Packed Weight: Input the total estimated weight of all your personal belongings, furniture, and items you've packed into boxes or containers. Be as accurate as possible; rounding up slightly is often better than underestimating.
  2. Enter Estimated Empty Vehicle Weight: Provide the weight of the moving truck, trailer, or van you intend to use before it's loaded. This information can often be found in the rental agreement or the vehicle's specifications.
  3. Enter Weight of Packing Materials: Estimate the combined weight of all your boxes, padding, bubble wrap, tape, and other packing supplies. A rough estimate (e.g., 5-10% of your packed item weight) can be a good starting point if unsure.
  4. Select Weight Unit: Choose whether your measurements are in Pounds (lbs) or Kilograms (kg). The calculator will convert if necessary.
  5. Click 'Calculate': Press the 'Calculate' button to see the results.

How to Read Results:

  • Primary Result (Total DITY Move Weight / Net Cargo Weight): This highlighted number shows the Net Cargo Weight (your belongings + packing materials). This is the weight typically used as the basis for DITY move reimbursement calculations.
  • Gross Packed Weight: This is the total weight measured at a weigh station, including the vehicle itself.
  • Net Cargo Weight: This is the weight of only your belongings and packing materials.
  • Estimated Weight Per Mile: This gives you an idea of how densely packed your load is relative to the distance traveled.

Decision-Making Guidance: The estimated weights can help you choose the appropriate size of moving truck or trailer, budget for potential fuel costs (which can be influenced by weight and distance), and understand the scope of your move for reimbursement purposes. Always check with your specific branch of service or moving counselor for the most accurate DITY move policies and weight requirements.

Key Factors That Affect DITY Move Weight Results

Several factors can significantly influence the calculated DITY move weight, impacting both your planning and potential reimbursement. Understanding these elements is key to an accurate estimate:

  1. Volume of Possessions: The sheer quantity of items you own directly determines the 'Actual Packed Weight'. Larger homes, families, or collections of large items (like furniture, appliances, electronics) will naturally result in higher weights.
  2. Type of Belongings: Denser items like books, tools, or metal objects contribute more weight per cubic foot than lighter items like clothing or bedding. Packing a lot of dense items will increase the overall weight.
  3. Choice of Vehicle: The empty weight ('Estimated Empty Vehicle Weight') of the truck, trailer, or van you rent or use is a substantial component. Larger trucks have higher empty weights, which will increase the gross weight, though the net cargo weight remains unchanged.
  4. Quality and Quantity of Packing Materials: While often a smaller fraction, heavy-duty boxes, excessive bubble wrap, or crating materials can add noticeable weight to your shipment. Choosing lighter, efficient packing methods can slightly reduce this.
  5. Method of Weighing: For official DITY moves, particularly military ones, there are specific procedures for weighing. This usually involves weighing the loaded vehicle on a certified scale (Weigh Station 1), then weighing the empty vehicle (Weigh Station 2), and calculating the difference. The total gross weight is often documented. Your calculator estimate should align with these procedures.
  6. Full vs. Partial Load: Whether you are filling a large truck completely or only using a portion of its capacity affects the weight distribution and density. However, the calculator focuses on the total weight loaded, regardless of how full the vehicle is.
  7. Reimbursement Policies: While this calculator focuses on physical weight, reimbursement policies are complex. They often have weight limits per rank/TAD (Tour of Duty), distance, and may include allowances for PPM (Personally Procured Move) based on the lower of either government-rate moving costs or your actual expenses. The calculated weight helps confirm you are within authorized limits.

Frequently Asked Questions (FAQ)

What is the difference between Gross Weight and Net Cargo Weight in a DITY move?

Gross Weight is the total weight of everything – your belongings, packing materials, and the vehicle used for transport. Net Cargo Weight is specifically the weight of your belongings and packing materials. For DITY move reimbursement, the Net Cargo Weight is typically the primary figure used.

How accurate do my weight estimates need to be?

Accuracy is important for reimbursement. While estimates are necessary initially, the official weight will be determined at certified weigh stations during your actual move. Your estimate helps you plan and ensure you're within authorized weight allowances. Overestimating significantly might not be beneficial if reimbursement is capped.

Can I use my personal vehicle for a DITY move?

Yes, you can often use your personal vehicle, especially if towing a trailer. The empty weight of your vehicle and the trailer (if used) would be factored into the 'Estimated Empty Vehicle Weight' for gross weight calculation. Reimbursement structures might differ.

What if I use a professional moving company for parts of my DITY move?

If you utilize a professional moving company for a portion of your belongings (e.g., shipping some items via their services while driving others yourself), you'll need to understand how their weight is documented and factored into your overall DITY reimbursement. Coordination with the moving company and your transportation office is key.

Does the weight of my car count if I drive it myself?

If you drive your personal vehicle as part of your DITY move, its empty weight is usually considered part of the 'Estimated Empty Vehicle Weight'. The belongings packed *inside* your vehicle would contribute to the 'Actual Packed Weight'.

What are the weight limits for DITY moves?

Weight limits vary significantly based on military branch, rank, family size, and the distance of the move. Typically, there's a maximum allowance per rank and dependency status. You must consult your specific service's Joint Travel Regulations (JTR) or guidance from your local transportation office (TMO/PTO) for exact limits.

How do I find the empty weight of a rental truck?

Rental companies usually provide the Gross Vehicle Weight Rating (GVWR) for their trucks. The empty weight (curb weight) is typically less than the GVWR. You can often find this information on a sticker inside the driver's side doorjamb, in the rental contract, or by searching the truck model online. A common estimate for a 26-foot truck is around 4,500-5,000 lbs.

What happens if my DITY move weight exceeds the authorized limit?

If your DITY move exceeds the authorized weight allowance for your rank and situation, you may not be reimbursed for the excess weight. You might have to pay out-of-pocket for the transportation of items above the limit, or you may need to leave some items behind. It's crucial to know your limits beforehand.

Related Tools and Internal Resources

© 2023 Your Company Name. All rights reserved.

This calculator provides estimates. Consult official DITY move regulations and your transportation office for precise details.

var actualWeightInput = document.getElementById('actualWeightInput'); var estimatedWeightInput = document.getElementById('estimatedWeightInput'); var packingMaterialInput = document.getElementById('packingMaterialInput'); var weightUnitSelect = document.getElementById('weightUnitSelect'); var calculateBtn = document.getElementById('calculateBtn'); var resetBtn = document.getElementById('resetBtn'); var copyBtn = document.getElementById('copyBtn'); var resultsDiv = document.getElementById('results'); var totalWeightResult = document.getElementById('totalWeightResult'); var grossWeightDiv = document.getElementById('grossWeight'); var netWeightDiv = document.getElementById('netWeight'); var weightPerMileDiv = document.getElementById('weightPerMile'); var actualWeightError = document.getElementById('actualWeightError'); var estimatedWeightError = document.getElementById('estimatedWeightError'); var packingMaterialError = document.getElementById('packingMaterialError'); var chart; var myChart; function formatWeight(weight, unit) { if (isNaN(weight) || !isFinite(weight)) return '–'; if (unit === 'kg') { return (weight * 0.453592).toFixed(2) + ' kg'; } return weight.toFixed(2) + ' lbs'; } function updateResults() { var actualWeight = parseFloat(actualWeightInput.value); var estimatedVehicleWeight = parseFloat(estimatedWeightInput.value); var packingMaterialWeight = parseFloat(packingMaterialInput.value); var unit = weightUnitSelect.value; var milesDriven = 1500; // Default miles for example calculation if not provided // Clear previous errors actualWeightError.style.display = 'none'; estimatedWeightError.style.display = 'none'; packingMaterialError.style.display = 'none'; var isValid = true; if (isNaN(actualWeight) || actualWeight < 0) { actualWeightError.textContent = 'Please enter a valid positive number for actual packed weight.'; actualWeightError.style.display = 'block'; isValid = false; } if (isNaN(estimatedVehicleWeight) || estimatedVehicleWeight < 0) { estimatedWeightError.textContent = 'Please enter a valid positive number for estimated empty vehicle weight.'; estimatedWeightError.style.display = 'block'; isValid = false; } if (isNaN(packingMaterialWeight) || packingMaterialWeight < 0) { packingMaterialError.textContent = 'Please enter a valid positive number for packing material weight.'; packingMaterialError.style.display = 'block'; isValid = false; } if (!isValid) { resultsDiv.style.display = 'none'; copyBtn.style.display = 'none'; return; } var netCargoWeight = actualWeight + packingMaterialWeight; var grossWeight = netCargoWeight + estimatedVehicleWeight; var weightPerMileCalc = (netCargoWeight / milesDriven); // Apply unit conversion if necessary for display var displayNetCargoWeight = (unit === 'kg') ? (netCargoWeight * 0.453592).toFixed(2) : netCargoWeight.toFixed(2); var displayGrossWeight = (unit === 'kg') ? (grossWeight * 0.453592).toFixed(2) : grossWeight.toFixed(2); var displayWeightPerMile = (unit === 'kg') ? (weightPerMileCalc * 0.453592).toFixed(2) : weightPerMileCalc.toFixed(2); var displayUnit = (unit === 'kg') ? 'kg' : 'lbs'; totalWeightResult.textContent = displayNetCargoWeight + ' ' + displayUnit; grossWeightDiv.innerHTML = 'Gross Packed Weight: ' + displayGrossWeight + ' ' + displayUnit; netWeightDiv.innerHTML = 'Net Cargo Weight: ' + displayNetCargoWeight + ' ' + displayUnit; weightPerMileDiv.innerHTML = 'Estimated Weight Per Mile: ' + displayWeightPerMile + ' ' + displayUnit + '/mile'; resultsDiv.style.display = 'block'; copyBtn.style.display = 'inline-block'; // Update chart data updateChart(parseFloat(displayNetCargoWeight), parseFloat(displayGrossWeight), unit); } function resetForm() { actualWeightInput.value = '8000'; estimatedWeightInput.value = '4500'; packingMaterialInput.value = '400'; weightUnitSelect.value = 'lbs'; updateResults(); } function copyResults() { var resultText = "DITY Move Weight Results:\n\n"; resultText += "Primary Result (Net Cargo Weight): " + totalWeightResult.textContent + "\n"; resultText += grossWeightDiv.textContent.replace('', ").replace('', ") + "\n"; resultText += netWeightDiv.textContent.replace('', ").replace('', ") + "\n"; resultText += weightPerMileDiv.textContent.replace('', ").replace('', ") + "\n"; resultText += "\nKey Assumptions:\n"; resultText += "- Actual Packed Weight: " + formatWeight(parseFloat(actualWeightInput.value), weightUnitSelect.value) + "\n"; resultText += "- Estimated Empty Vehicle Weight: " + formatWeight(parseFloat(estimatedWeightInput.value), weightUnitSelect.value) + "\n"; resultText += "- Packing Material Weight: " + formatWeight(parseFloat(packingMaterialInput.value), weightUnitSelect.value) + "\n"; resultText += "- Weight Unit: " + weightUnitSelect.options[weightUnitSelect.selectedIndex].text + "\n"; var textArea = document.createElement("textarea"); textArea.value = resultText; document.body.appendChild(textArea); textArea.select(); try { document.execCommand('copy'); alert('Results copied to clipboard!'); } catch (e) { alert('Failed to copy results. Please copy manually.'); } document.body.removeChild(textArea); } function drawChart(netWeight, grossWeight, unit) { var ctx = document.getElementById('weightChart').getContext('2d'); myChart = new Chart(ctx, { type: 'bar', data: { labels: ['Net Cargo Weight', 'Gross Packed Weight'], datasets: [{ label: 'Weight (' + unit + ')', data: [netWeight, grossWeight], backgroundColor: [ 'rgba(40, 167, 69, 0.6)', // Net Cargo Weight – Greenish 'rgba(0, 74, 153, 0.6)' // Gross Packed Weight – Primary Blue ], borderColor: [ 'rgba(40, 167, 69, 1)', 'rgba(0, 74, 153, 1)' ], borderWidth: 1 }] }, options: { responsive: true, maintainAspectRatio: false, scales: { y: { beginAtZero: true, title: { display: true, text: 'Weight (' + unit + ')' } } }, plugins: { legend: { position: 'top', }, title: { display: true, text: 'DITY Move Weight Breakdown' } } } }); } function updateChart(netWeight, grossWeight, unit) { if (myChart) { myChart.data.labels = ['Net Cargo Weight', 'Gross Packed Weight']; myChart.data.datasets[0].data = [netWeight, grossWeight]; myChart.data.datasets[0].label = 'Weight (' + unit + ')'; myChart.options.scales.y.title.text = 'Weight (' + unit + ')'; myChart.update(); } else { drawChart(netWeight, grossWeight, unit); } } // Initial setup calculateBtn.onclick = updateResults; resetBtn.onclick = resetForm; copyBtn.onclick = copyResults; // Add a canvas element for the chart dynamically var chartContainer = document.createElement('div'); chartContainer.innerHTML = "; document.querySelector('.calculator-wrapper').appendChild(chartContainer); var chartCanvas = document.getElementById('weightChart'); chartCanvas.style.marginTop = '30px'; // Initial calculation on load window.onload = function() { resetForm(); // Set default values and calculate }; // FAQ toggle functionality var faqItems = document.querySelectorAll('.faq-item strong'); faqItems.forEach(function(item) { item.onclick = function() { var content = this.nextElementSibling; if (content.style.display === 'none' || content.style.display === ") { content.style.display = 'block'; } else { content.style.display = 'none'; } }; });

Leave a Comment