﻿function showOptions()
{
    if (document.getElementById("ctl00_ContentPlaceHolder1_radioButton1_0").checked)
    {
        document.getElementById('uk1').style.display = 'block';
        document.getElementById('uk2').style.display = 'none';
    }
    else
    {
        document.getElementById('uk1').style.display = 'none';
        document.getElementById('uk2').style.display = 'block';
    }
}

function Deadline()
{
    var selIndex=document.getElementById("ctl00_ContentPlaceHolder1_drAcademic").selectedIndex;
    var serviceID=document.getElementById("ctl00_ContentPlaceHolder1_drAcademic").options[selIndex].value;
    document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = 0.00;
    document.getElementById('ctl00_ContentPlaceHolder1_drStandard').length=0;
    option0 = new Option("Select Standard","None")
    document.getElementById('ctl00_ContentPlaceHolder1_drStandard').options[0] = option0;
    document.getElementById('ctl00_ContentPlaceHolder1_drnop').length=0;
    option0 = new Option("Select No Of Pages","0")
    document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[0] = option0;
        
    //document.getElementById('ctl00_ContentPlaceHolder1_drProject').length=0;
    
    switch(serviceID)
    {
       case "1":
       case "2":
       case "3":
       case "4":
       case "5":
       case "6":
       case "7":
       case "8":
       case "9":
       case "10":
       case "11":
       case "14":
       case "15":
       case "16":
       case "17":
       case "18":
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').length=0;
            option0 = new Option("Select Deadline","Select Deadline")
            option1 = new Option("1 Month","1 Month")
            option2 = new Option("15 Days","15 Days")
            option3 = new Option("6-7 Days","6-7 Days")
            option4 = new Option("5 Days","5 Days")
            option5 = new Option("4 Days","4 Days")
            option6 = new Option("3 Days","3 Days")
            option7 = new Option("48 Hours","48 Hours")
            option8 = new Option("24 Hours","24 Hours")
            
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[0] = option0;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[1] = option1;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[2] = option2;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[3] = option3;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[4] = option4;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[5] = option5;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[6] = option6;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[7] = option7;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[8] = option8;
            //document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[9] = option9;
            break;
       case "12":
       case "13":
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').length=0;
            option0 = new Option("Select Deadline","Select Deadline")
            option1 = new Option("1 Week","1 Week")
            option2 = new Option("72 Hours","72 Hours")
            option3 = new Option("48 Hours","48 Hours")
            option4 = new Option("24 Hours","24 Hours")
            
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[0] = option0;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[1] = option1;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[2] = option2;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[3] = option3;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[4] = option4;
       break;
       case "14":
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').length=0;
            option0 = new Option("Select Deadline","Select Deadline")
            option1 = new Option("1 Week","1 Week")
            option2 = new Option("72 Hours","72 Hours")
            option3 = new Option("48 Hours","48 Hours")
            option4 = new Option("24 Hours","24 Hours")
            
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[0] = option0;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[1] = option1;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[2] = option2;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[3] = option3;
            document.getElementById('ctl00_ContentPlaceHolder1_drDeadline').options[4] = option4;
       break;
    }
  }


function GetData()
{
    var selIndex=document.getElementById("ctl00_ContentPlaceHolder1_drAcademic").selectedIndex;
    var serviceID=document.getElementById("ctl00_ContentPlaceHolder1_drAcademic").options[selIndex].value;
    document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = 0.00;    
    //document.getElementById('ctl00_ContentPlaceHolder1_drProject').length=0;
    
    switch(serviceID)
    {
        case "1":
        case "6":
            option0 = new Option("Select Standard","None")
            option1 = new Option("Guaranteed “A” Grade","Guaranteed “A” Grade")
            option2 = new Option("Guaranteed “B” Grade","Guaranteed “B” Grade")
            document.getElementById('ctl00_ContentPlaceHolder1_drStandard').options[2] = option2;
            document.getElementById('ctl00_ContentPlaceHolder1_drStandard').options[0] = option0;
            document.getElementById('ctl00_ContentPlaceHolder1_drStandard').options[1] = option1;
            document.getElementById('ctl00_ContentPlaceHolder1_drnop').length=0;
            option0 = new Option("Select No Of Pages","0")
            document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[0] = option0;
            for(var i=1;i<=300;i++)
            {  
                 option = new Option(i,i)
                 document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[i] = option;
            }
            break;
       case "2":
       case "3":
       case "4":
       case "5":
       case "7":
       case "8":
       case "9":
       case "10":
       case "11":
       case "14":
       case "15":
       case "16":
       case "17":
       case "18":
            var selIndex2=document.getElementById("ctl00_ContentPlaceHolder1_drDeadline").selectedIndex;
            var deadline=document.getElementById("ctl00_ContentPlaceHolder1_drDeadline").options[selIndex2].value;
            option0 = new Option("Select Standard","None")
            option1 = new Option("Guaranteed First Class","Guaranteed First Class")
            option2 = new Option("Guaranteed 2:1 Standard","Guaranteed 2:1 Standard")
            option3 = new Option("Guaranteed 2:2 Standard","Guaranteed 2:2 Standard")
            document.getElementById('ctl00_ContentPlaceHolder1_drStandard').options[0] = option0;
            document.getElementById('ctl00_ContentPlaceHolder1_drStandard').options[1] = option1;
            document.getElementById('ctl00_ContentPlaceHolder1_drStandard').options[2] = option2;
            document.getElementById('ctl00_ContentPlaceHolder1_drStandard').options[3] = option3;
            
            document.getElementById('ctl00_ContentPlaceHolder1_drnop').length=0;
            option0 = new Option("Select No Of Pages","0")
            document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[0] = option0;
            
            if (deadline == '24 Hours')
            {
                option0 = new Option("Select No Of Pages","0")
                document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[0] = option0;
                var t = 0;
                for(var i=1;i<=8;i++)
                {  
                     t = t+1;
                     option = new Option(i,i)
                     document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[t] = option;
                }
            }
            else if (deadline == '48 Hours')
            {
                document.getElementById('ctl00_ContentPlaceHolder1_drnop').length=0;
                option0 = new Option("Select No Of Pages","0")
                document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[0] = option0;
                for(var i=1;i<=19;i++)
                {  
                     option = new Option(i,i)
                     document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[i] = option;
                }
            }
            else if (deadline == '72 Hours')
            {
                document.getElementById('ctl00_ContentPlaceHolder1_drnop').length=0;
                option0 = new Option("Select No Of Pages","0")
                document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[0] = option0;
                for(var i=1;i<=300;i++)
                {  
                     option = new Option(i,i)
                     document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[i] = option;
                }
            }
            else if (deadline == '1 Week')
            {
                document.getElementById('ctl00_ContentPlaceHolder1_drnop').length=0;
                option0 = new Option("Select No Of Pages","0")
                document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[0] = option0;
                for(var i=1;i<=300;i++)
                {  
                     option = new Option(i,i)
                     document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[i] = option;
                }
            }
            else if (deadline != 'Select Deadline')
            {
                document.getElementById('ctl00_ContentPlaceHolder1_drnop').length=0;
                option0 = new Option("Select No Of Pages","0")
                document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[0] = option0;
                for(var i=1;i<=300;i++)
                {  
                     option = new Option(i,i)
                     document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[i] = option;
                }
            }
            
            break; 
            
            case "12":
            case "13":
                var selIndex2=document.getElementById("ctl00_ContentPlaceHolder1_drDeadline").selectedIndex;
                var deadline=document.getElementById("ctl00_ContentPlaceHolder1_drDeadline").options[selIndex2].value;
                option0 = new Option("Select Standard","None")
                option1 = new Option("Guaranteed First Class","Guaranteed First Class")
                option2 = new Option("Guaranteed 2:1 Standard","Guaranteed 2:1 Standard")
                option3 = new Option("Guaranteed 2:2 Standard","Guaranteed 2:2 Standard")
                document.getElementById('ctl00_ContentPlaceHolder1_drStandard').options[0] = option0;
                document.getElementById('ctl00_ContentPlaceHolder1_drStandard').options[1] = option1;
                document.getElementById('ctl00_ContentPlaceHolder1_drStandard').options[2] = option2;
                document.getElementById('ctl00_ContentPlaceHolder1_drStandard').options[3] = option3;
                
                document.getElementById('ctl00_ContentPlaceHolder1_drnop').length=0;
                option0 = new Option("Select No Of Pages","0")
                document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[0] = option0;
                
                //if (deadline == '24 Hours')
               // {
                    option0 = new Option("Select No Of Pages","0")
                    document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[0] = option0;
                    var t = 0;
                    for(var i=1;i<=300;i++)
                    {  
                         t = t+1;
                         option = new Option(i,i)
                         document.getElementById('ctl00_ContentPlaceHolder1_drnop').options[t] = option;
                    }
                //}
           break;
                   
    }
 }
 
 function Price()
 {
    var selIndex=document.getElementById("ctl00_ContentPlaceHolder1_drAcademic").selectedIndex;
    var serviceID=document.getElementById("ctl00_ContentPlaceHolder1_drAcademic").options[selIndex].value;
    var selIndex2=document.getElementById("ctl00_ContentPlaceHolder1_drDeadline").selectedIndex;
    var deadline=document.getElementById("ctl00_ContentPlaceHolder1_drDeadline").options[selIndex2].value;
    var selIndex3=document.getElementById("ctl00_ContentPlaceHolder1_drnop").selectedIndex;
    var nop=document.getElementById("ctl00_ContentPlaceHolder1_drnop").options[selIndex3].value;
    var selIndex4=document.getElementById("ctl00_ContentPlaceHolder1_drStandard").selectedIndex;
    var standard=document.getElementById("ctl00_ContentPlaceHolder1_drStandard").options[selIndex4].value;
    
    document.getElementById("ctl00_ContentPlaceHolder1_hdnop").value = nop;
    document.getElementById("ctl00_ContentPlaceHolder1_hdstandard").value = standard;
    var serIDDeadline = serviceID + ' ' + deadline;
    
    switch(serIDDeadline)
    {
        case "1 1 Month":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 19.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 6.95).toFixed(2);
            }
        break;
        case "1 15 Days":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 20.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 6.95).toFixed(2);
            }
        break;
        case "1 6-7 Days":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 21.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 6.95).toFixed(2);
            }
        break;
        case "1 5 Days":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 8.95).toFixed(2);
            }
        break;
        case "1 4 Days":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 10.95).toFixed(2);
            }
        break;
        case "1 3 Days":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 28.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 12.95).toFixed(2);
            }
        break;
        case "1 48 Hours":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 33.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 14.95).toFixed(2);
            }
        break;
        case "1 24 Hours":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 38.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 19.95).toFixed(2);
            }
        break;
        //----------------------------------------------------------------------------------------------------------
        case "6 1 Month":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 15.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 6.95).toFixed(2);
            }
        break;
        case "6 15 Days":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 16.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 6.95).toFixed(2);
            }
        break;
        case "6 6-7 Days":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 17.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 6.95).toFixed(2);
            }
        break;
        case "6 5 Days":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 19.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 8.95).toFixed(2);
            }
        break;
        case "6 4 Days":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 10.95).toFixed(2);
            }
        break;
        case "6 3 Days":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 25.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 12.95).toFixed(2);
            }
        break;
        case "6 48 Hours":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 29.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 12.95).toFixed(2);
            }
        break;
        case "6 24 Hours":
            if (standard == 'Guaranteed “A” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 34.95).toFixed(2);
            }
            else if (standard == 'Guaranteed “B” Grade')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 14.95).toFixed(2);
            }
        break;
        //----------------------------------------------------------------------------------------------------------
        case "2 1 Month":
        case "3 1 Month":
        case "5 1 Month":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 12.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 9.95).toFixed(2);
            }
        break;
        case "2 15 Days":
        case "3 15 Days":
        case "5 15 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 26.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 12.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 9.95).toFixed(2);
            }
        break;
        case "2 6-7 Days":
        case "3 6-7 Days":
        case "5 6-7 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 28.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 13.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 9.95).toFixed(2);
            }
        break;
        case "2 5 Days":
        case "3 5 Days":
        case "5 5 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 30.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 14.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 10.95).toFixed(2);
            }
        break;
        case "2 4 Days":
        case "3 4 Days":
        case "5 4 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 39.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 15.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 12.95).toFixed(2);
            }
        break;
        case "2 3 Days":
        case "3 3 Days":
        case "5 3 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 46.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 19.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 14.95).toFixed(2);
            }
        break;
        case "2 48 Hours":
        case "3 48 Hours":
        case "5 48 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 60.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 25.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 19.95).toFixed(2);
            }
        break;
        case "2 24 Hours":
        case "3 24 Hours":
        case "5 24 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 84.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 34.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 25.95).toFixed(2);
            }
        break;
        //-----------------------------------------------------------------------------------------------------------
        case "4 1 Month":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 21.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 9.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 8.95).toFixed(2);
            }
        break;
        case "4 15 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 9.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 8.95).toFixed(2);
            }
        break;
        case "4 6-7 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 10.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 8.95).toFixed(2);
            }
        break;
        case "4 5 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 26.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 11.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 9.95).toFixed(2);
            }
        break;
        case "4 4 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 32.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 13.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 10.95).toFixed(2);
            }
        break;
        case "4 3 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 39.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 18.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 12.95).toFixed(2);
            }
        break;
        case "4 48 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 49.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 17.95).toFixed(2);
            }
        break;
        case "4 24 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 69.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 27.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 21.95).toFixed(2);
            }
        break;
        //-----------------------------------------------------------------------------------------------------------
        case "7 1 Month":
        case "11 1 Month":
        case "9 1 Month":
        case "8 1 Month":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 19.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 12.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 9.95).toFixed(2);
            }
        break;
        case "7 15 Days":
        case "11 15 Days":
        case "9 15 Days":
        case "8 15 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 21.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 14.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 11.95).toFixed(2);
            }
        break;
        case "7 6-7 Days":
        case "11 6-7 Days":
        case "9 6-7 Days":
        case "8 6-7 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 23.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 16.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 13.95).toFixed(2);
            }
        break;
        case "7 5 Days":
        case "11 5 Days":
        case "9 5 Days":
        case "8 5 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 25.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 18.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 15.95).toFixed(2);
            }
        break;
        case "7 4 Days":
        case "11 4 Days":
        case "9 4 Days":
        case "8 4 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 27.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 20.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 17.95).toFixed(2);
            }
        break;
        case "7 3 Days":
        case "11 3 Days":
        case "9 3 Days":
        case "8 3 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 29.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 19.95).toFixed(2);
            }
        break;       
        case "7 48 Hours":
        case "11 48 Hours":
        case "9 48 Hours":
        case "8 48 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 31.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 21.95).toFixed(2);
            }
        break;
        case "7 24 Hours":
        case "11 24 Hours":
        case "9 24 Hours":
        case "8 24 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 33.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 26.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 23.95).toFixed(2);
            }
        break;
        //-----------------------------------------------------------------------------------------------------------
        
        case "10 1 Month":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 20.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 13.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 9.95).toFixed(2);
            }
        break;
        case "10 15 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 15.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 11.95).toFixed(2);
            }
        break;
        case "10 6-7 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 17.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 13.95).toFixed(2);
            }
        break;
        case "10 5 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 26.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 19.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 15.95).toFixed(2);
            }
        break;
        case "10 4 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 28.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 21.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 17.95).toFixed(2);
            }
        break;
        case "10 3 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 30.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 23.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 19.95).toFixed(2);
            }
        break;       
        case "10 48 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 32.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 25.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 21.95).toFixed(2);
            }
        break;
        case "10 24 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 34.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 27.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 23.95).toFixed(2);
            }
        break;
        //---------------------------------------------------------------------------------------------------------
        
        case "12 1 Week":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 5.5).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 3.5).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 2.5).toFixed(2);
            }
        break;
        case "12 72 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 5.92).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 3.92).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 2.92).toFixed(2);
            }
        break;
        case "12 48 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 6.29).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 4.29).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 3.29).toFixed(2);
            }
        break;
        case "12 24 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 6.92).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 4.92).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 3.92).toFixed(2);
            }
        break;
        
        //-------------------------------------------------------------------------------------------------------
        
        case "13 1 Week":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 7.5).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 5.5).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 3.92).toFixed(2);
            }
        break;
        case "13 72 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 8.29).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 6.29).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 4.29).toFixed(2);
            }
        break;
        case "13 48 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 8.69).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 6.69).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 4.69).toFixed(2);
            }
        break;
        case "13 24 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 8.92).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 6.92).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 5.29).toFixed(2);
            }
        break;
        //----------------------------------------------------------------------------------------------------
        case "14 1 Month":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 26.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 22.95).toFixed(2);
            }
        break;
        case "14 15 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 28.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 26.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 24.95).toFixed(2);
            }
        break;
        case "14 6-7 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 30.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 28.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 26.95).toFixed(2);
            }
        break;
        case "14 5 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 32.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 30.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 28.95).toFixed(2);
            }
        break;
        case "14 4 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 34.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 32.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 30.95).toFixed(2);
            }
        break;
        case "14 3 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 36.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 34.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 32.95).toFixed(2);
            }
        break;       
        case "14 48 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 38.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 36.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 34.95).toFixed(2);
            }
        break;
        case "14 24 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 40.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 38.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 36.95).toFixed(2);
            }
        break;
        
        //-----------------------------------------------------------------------------------------------------
        case "15 1 Month":
        case "16 1 Month":
        case "17 1 Month":
        case "18 1 Month":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 25.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 23.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 21.95).toFixed(2);
            }
        break;
        case "15 15 Days":
        case "16 15 Days":
        case "17 15 Days":
        case "18 15 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 27.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 25.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 23.95).toFixed(2);
            }
        break;
        case "15 6-7 Days":
        case "16 6-7 Days":
        case "17 6-7 Days":
        case "18 6-7 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 29.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 27.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 25.95).toFixed(2);
            }
        break;
        case "15 5 Days":
        case "16 5 Days":
        case "17 5 Days":
        case "18 5 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 31.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 29.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 27.95).toFixed(2);
            }
        break;
        case "15 4 Days":
        case "16 4 Days":
        case "17 4 Days":
        case "18 4 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 33.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 31.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 29.95).toFixed(2);
            }
        break;
        case "15 3 Days":
        case "16 3 Days":
        case "17 3 Days":
        case "18 3 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 35.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 33.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 31.95).toFixed(2);
            }
        break;       
        case "15 48 Hours":
        case "16 48 Hours":
        case "17 48 Hours":
        case "18 48 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 37.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 35.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 33.95).toFixed(2);
            }
        break;
        case "15 24 Hours":
        case "16 24 Hours":
        case "17 24 Hours":
        case "18 24 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 39.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 37.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("ctl00_ContentPlaceHolder1_txtTPrice").value = (nop * 35.95).toFixed(2);
            }
        break;
        //-----------------------------------------------------------------------------------------------------------
        
    }
    
    
 }
