function SelectVariation() 
{    
    // Define pricing
    base_price = parseInt(document.PayPalForm.base_price.value);
    connector_price = 10;
    gfci_price = 100;
    
    // Set defaults
    gfci_choice = ""
    plug_choice = ""

    // Determine GFCI choice
    len = document.PayPalForm.gfci.length
    for (i = 0; i <len; i++) 
    {
        if (document.PayPalForm.gfci[i].checked) 
        {
            gfci_choice = document.PayPalForm.gfci[i].value
        }
    }
    
    // Determine Connector choice
    len = document.PayPalForm.plug.length
    for (i = 0; i <len; i++) 
    {
        if (document.PayPalForm.plug[i].checked) 
        {
            plug_choice = document.PayPalForm.plug[i].value
        }
    }
    
    // Make drop down box selection
    if ((gfci_choice == "no") && (plug_choice == "620"))
    {                
        document.PayPalForm.os0.value = "No GFCI Line Cord with NEMA 6-20";
        document.getElementById("pricing").innerHTML = "<font color='Red'>$" + (base_price + connector_price) + "</font> ($" + base_price + " + $" + connector_price + ")";
    }
    else if ((gfci_choice == "no") && (plug_choice == "L620"))
    {                
        document.PayPalForm.os0.value = "No GFCI Line Cord with NEMA L6-20";
        document.getElementById("pricing").innerHTML = "<font color='Red'>$" + (base_price + connector_price) + "</font> ($" + base_price + " + $" + connector_price + ")";
    }
    else if ((gfci_choice == "no") && (plug_choice == "fly"))
    {                
        document.PayPalForm.os0.value = "No GFCI Line Cord with Flying Leads";
        document.getElementById("pricing").innerHTML = "<font color='Red'>$" + (base_price) + "</font>" 
    }
    else if ((gfci_choice == "yes") && (plug_choice == "620"))
    {                
        document.PayPalForm.os0.value = "GFCI Line Cord with  NEMA 6-20";
        document.getElementById("pricing").innerHTML = "<font color='Red'>$" + (base_price + gfci_price + connector_price) + "</font> ($" + base_price + " + $" + gfci_price + " + $" + connector_price + ")";
    }
    else if ((gfci_choice == "yes") && (plug_choice == "L620"))
    {                
        document.PayPalForm.os0.value = "GFCI Line Cord with NEMA L6-20";
        document.getElementById("pricing").innerHTML = "<font color='Red'>$" + (base_price + gfci_price + connector_price) + "</font> ($" + base_price + " + $" + gfci_price + " + $" + connector_price + ")";
    }
    else if ((gfci_choice == "yes") && (plug_choice == "fly"))
    {                
        document.PayPalForm.os0.value = "GFCI Line Cord with Flying Leads";
        document.getElementById("pricing").innerHTML = "<font color='Red'>$" + (base_price + gfci_price) + "</font> ($" + base_price + " + $" + gfci_price + ")";
    }
         	
	return true;
}