﻿// JScript File

//function pageLoad()
//{
// Use $addHandler
//$addHandler($get("Button1"), "click", switch2preview);
//$addHandler($get("btnHandler"), "click", switch2preview);
//$addHandler($get("btnCallback"), "click", switch2preview2);
//}

function CallMe(src,dest)
 {     
     var ctrl = document.getElementById(src);
     // call server side method
     PageMethods.GetContactName(ctrl.value, CallSuccess, CallFailed, dest);
 }

 // set the destination textbox value with the ContactName
 function CallSuccess(res, destCtrl)
 {     
     var dest = document.getElementById(destCtrl);
     dest.value = res;
 }

 // alert message on some failure
 function CallFailed(res, destCtrl)
 {
     alert(res.get_message());
 }
 
 function echeck(str)
	{	
		var at="@"
		var dot="."
		var lat=str.indexOf(at)
		var lstr=str.length
		var ldot=str.indexOf(dot)
		if (str.indexOf(at)==-1){
		   alert("Invalid E-mail ID")
		   return false
		}

		if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
		   alert("Invalid E-mail ID")
		   return false
		}

		if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
		    alert("Invalid E-mail ID")
		    return false
		}

		 if (str.indexOf(at,(lat+1))!=-1){
		    alert("Invalid E-mail ID")
		    return false
		 }

		 if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
		    alert("Invalid E-mail ID")
		    return false
		 }

		 if (str.indexOf(dot,(lat+2))==-1){
		    alert("Invalid E-mail ID")
		    return false
		 }
		
		 if (str.indexOf(" ")!=-1){
		    alert("Invalid E-mail ID")
		    return false
		 }

 		 return true			
	}
 

function switch2preview()
{
    if (echeck(document.getElementById("txtEmail").value)==false){
        document.getElementById("txtEmail").value="";
        //document.f1.email.focus();
	        return false;
        }
        
    if (! (document.getElementById("txtEmail").value == document.getElementById("txtEmail2").value)){
    alert("Email address and confirm email address are not same");
    //document.getElementById("txtEmail2").focus()
    return false;
    }

    if (document.getElementById("txtName").value == '')
    {
        alert("Please entery you name");  
        return false;      
    } else if (document.getElementById("txtEmail").value == '') {
        alert("Please enter you email address");
        return false;
    } else if (document.getElementById("drCustomer").value == 'Select One') {
        alert("Are you already our user. Please Select");
        return false;
    } else if (document.getElementById("drAboutus").value == 'Select an option') {
        if (document.getElementById("drCustomer").value != 'Yes')
        alert("Please select how did you hear about us");
        return false;
    } else if (document.getElementById("txtAddress").value == '') {
        alert("Please enter address.");
        return false;
    } else if (document.getElementById("drCountry").value == 'None') {
        alert("Please select country");
        return false;
    } else if (document.getElementById("drDeadline").value == 'Select Deadline') {
        alert("Please select deadline");
        return false;
    } else if (document.getElementById("drStandard").value == 'None') {
        alert("Please select standard");
        return false;
    } else if (document.getElementById("drAcademic").value == '0') {
        alert("Please select Academic Level");
        return false;
    } else if (document.getElementById("drnop").value == '0') {
        alert("Please select number of pages");
        return false;
    } else if (document.getElementById("txtTopic").value == '') {
        alert("Please enter topic");
        return false;
    } else if (document.getElementById("txtSubject").value == '') {
        alert("Please enter subject");
        return false;
    } else if (document.getElementById("txtInstruction").value == '') {
        alert("Please enter page instructions");
        return false;
    } else if (document.getElementById("drNumberofsources").value == 'None') {
        alert("Please enter number of sources");
        return false;
    } else if (document.getElementById("txtRef").value == '') {
        alert("Please enter Refrencing required");
        return false;
    } else if (document.getElementById("txtVerify").value == '') {
        alert("Please enter security code, security code required");
        return false;
    } else if (document.getElementById("txtVerify").value != document.getElementById("HDCaptchaValue").value) {
        alert("Please enter correct security code");
        return false;
    } else if (!document.getElementById("CheckBox1").checked)
    {
        alert("You have to agree with our terms and conditions");
        document.getElementById("CheckBox1").focus();
        return false;
    }    
    else
    {   
		
		var selIndex2=document.getElementById("drDeadline").selectedIndex;
    	var deadline=document.getElementById("drDeadline").options[selIndex2].value;	
	    var selIndex=document.getElementById("drAcademic").selectedIndex;
        var serviceID=document.getElementById("drAcademic").options[selIndex].text;
        
        var discountPercent = document.getElementById("hdDiscount").value;
        var TotalAmount = document.getElementById("txtTPrice").value;
         
        DiscountAmount = (TotalAmount * (discountPercent/100)).toFixed(2);
        document.getElementById("hdDiscount0").value = DiscountAmount;
        var TotalPaid = (TotalAmount - DiscountAmount).toFixed(2);
        
        document.getElementById('hdTotalPaid').value = TotalPaid;
        document.getElementById('hdprice').value = TotalAmount;
        document.getElementById('hdDealine2').value = deadline;
		
		//alert(document.getElementById('hdDealine2').value);
		
        return true;       
        
        /**
        document.getElementById('lblName').innerHTML = document.getElementById("txtName").value;
        document.getElementById('lblEmail').innerHTML = document.getElementById("txtEmail").value;
        document.getElementById('lblAemail').innerHTML = document.getElementById("txtAemail").value;
        document.getElementById('lblPhone').innerHTML = document.getElementById("txtPhone").value;
        document.getElementById('lblCustomer').innerHTML = document.getElementById("drCustomer").value;
        document.getElementById('lblGoogle').innerHTML = document.getElementById("drAboutus").value;
        document.getElementById('lblAddress').innerHTML = document.getElementById("txtAddress").value;
        document.getElementById('lblCountry').innerHTML = document.getElementById("drCountry").value;
        document.getElementById('lblTimeZOne').innerHTML = document.getElementById("drTimezone").value;
        document.getElementById('lblDeadLine').innerHTML = document.getElementById("drDeadline").value;
        
        document.getElementById('lblAcademic').innerHTML = serviceID;
        document.getElementById('lblStandard').innerHTML = document.getElementById("drStandard").value;
        document.getElementById('lblNOP').innerHTML = document.getElementById("drnop").value;
        //lblTopic.innerHTML = document.getElementById("txtTopic").value;
        //lblSubject.innerHTML = document.getElementById("txtSubject").value;
        //lblPaper.innerHTML = document.getElementById("txtInstruction").value;
        document.getElementById('lblNumber').innerHTML = document.getElementById("drNumberofsources").value;
        //lblRef.innerHTML = document.getElementById("txtRef").value;
        document.getElementById('lblWriter').innerHTML = document.getElementById("txtWriter").value;
        document.getElementById('lblPrice').innerHTML = document.getElementById("txtTPrice").value;
        document.getElementById('lblDiscount').innerHTML = DiscountAmount;
        document.getElementById('lblTotal').innerHTML = TotalPaid;
        
        document.getElementById('Label1').innerHTML = "Order Preview";
        
        document.getElementById('orderText').style.display = 'none';
        document.getElementById('ttt').style.display = 'block';
        document.getElementById('t1').style.display = 'none';
        
        self.location = '#top';
        //document.getElementById("drAcademic").focus();**/
    }
}
 
function switch2preview2()
{
    document.getElementById('t1').style.display = 'block';
    document.getElementById('ttt').style.display = 'none';
    document.getElementById('orderText').style.display = 'block';
    document.getElementById('Label1').innerHTML = "Order Form";
    //document.getElementById("txtName").focus();
    self.location = '#top';
    //window.orderText.focus();
    
}

function GetData2()
{
    document.getElementById('drnop').length=0;
    option0 = new Option("Select Standard","None")
    document.getElementById('drnop').options[0] = option0;
    document.getElementById('drStandard').length=0;
    option0 = new Option("Select Standard","None")
    document.getElementById('drStandard').options[0] = option0;
    document.getElementById("txtTPrice").value = 0
}


function Deadline()
{
    var selIndex=document.getElementById("drAcademic").selectedIndex;
    var serviceID=document.getElementById("drAcademic").options[selIndex].value;
    document.getElementById("txtTPrice").value = 0.00;
    document.getElementById('drStandard').length=0;
    option0 = new Option("Select Standard","None")
    document.getElementById('drStandard').options[0] = option0;
    document.getElementById('drnop').length=0;
    option0 = new Option("Select No Of Pages","0")
    document.getElementById('drnop').options[0] = option0;
        
    //document.getElementById('drProject').length=0;
    
    switch(serviceID)
    {
       case "1":
	   case "2":
       case "3":
       case "4":
       case "5":
       case "6":
       case "7":
       case "8":
       case "9":                  
            document.getElementById('drDeadline').length=0;
            option0 = new Option("Select Deadline","Select Deadline")
            option1 = new Option("3 Weeks", "3 Weeks")
            option2 = new Option("2 Weeks", "2 Weeks")
            option3 = new Option("1 Week", "1 Week")
            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('drDeadline').options[0] = option0;
            document.getElementById('drDeadline').options[1] = option1;
            document.getElementById('drDeadline').options[2] = option2;
            document.getElementById('drDeadline').options[3] = option3;
            document.getElementById('drDeadline').options[4] = option4;
            document.getElementById('drDeadline').options[5] = option5;
            document.getElementById('drDeadline').options[6] = option6;
            document.getElementById('drDeadline').options[7] = option7;
            document.getElementById('drDeadline').options[8] = option8;
            //document.getElementById('drDeadline').options[9] = option9;
            break;			
	   
		default:
			document.getElementById('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('drDeadline').options[0] = option0;
            document.getElementById('drDeadline').options[1] = option1;
            document.getElementById('drDeadline').options[2] = option2;
            document.getElementById('drDeadline').options[3] = option3;
            document.getElementById('drDeadline').options[4] = option4;
            document.getElementById('drDeadline').options[5] = option5;
            document.getElementById('drDeadline').options[6] = option6;
            document.getElementById('drDeadline').options[7] = option7;
            document.getElementById('drDeadline').options[8] = option8;
			break;
		
       
    }
  }


function GetData() {    
    var selIndex=document.getElementById("drAcademic").selectedIndex;
    var serviceID=document.getElementById("drAcademic").options[selIndex].value;
    document.getElementById("txtTPrice").value = 0.00;    
    //document.getElementById('drProject').length=0;
    
    var selIndex2=document.getElementById("drDeadline").selectedIndex;
    var deadline = document.getElementById("drDeadline").options[selIndex2].value;
	
    document.getElementById('drStandard').options.length = 0;
    option0 = new Option("Select Standard", "None")
    document.getElementById('drStandard').options[0] = option0;
    
    if (serviceID == '13') {        
        option1 = new Option("A Level", "A Level")
        option2 = new Option("Degree", "Degree")
        option3 = new Option("Masters", "Masters")
        option4 = new Option("Ph.D. / Doctorate", "Ph.D. / Doctorate")
        document.getElementById('drStandard').options[1] = option1;
        document.getElementById('drStandard').options[2] = option2;
        document.getElementById('drStandard').options[3] = option3;
        document.getElementById('drStandard').options[4] = option4;
    } else {
        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('drStandard').options[1] = option1;
        document.getElementById('drStandard').options[2] = option2;
        document.getElementById('drStandard').options[3] = option3;
    }        
    document.getElementById('drnop').length=0;
    option0 = new Option("Select No Of Pages","0")
    document.getElementById('drnop').options[0] = option0;
            
        if (deadline == '24 Hours')
        {
            option0 = new Option("Select No Of Pages","0")
            document.getElementById('drnop').options[0] = option0;
            var t = 1;
            for(var i=2;i<=8;i++)
            {  
                 //t = t+1;
                 option = new Option(i,i)
                 document.getElementById('drnop').options[i-1] = option;
            }
        }
        else if (deadline == '48 Hours')
        {
            document.getElementById('drnop').length=0;
            option0 = new Option("Select No Of Pages","0")
            document.getElementById('drnop').options[0] = option0;
            for(var i=2;i<=16;i++)
            {  
                 option = new Option(i,i)
                 document.getElementById('drnop').options[i-1] = option;
            }
        }
        
        else if (deadline != 'Select Deadline')
        {
            document.getElementById('drnop').length=0;
            option0 = new Option("Select No Of Pages","0")
            document.getElementById('drnop').options[0] = option0;
            for(var i=2;i<=300;i++)
            {  
                 option = new Option(i,i)
                 document.getElementById('drnop').options[i-1] = option;
            }
        }
        
        
       
 }

 function Price() {     
    var selIndex=document.getElementById("drAcademic").selectedIndex;
    var serviceID=document.getElementById("drAcademic").options[selIndex].value;
    var selIndex2=document.getElementById("drDeadline").selectedIndex;
    var deadline=document.getElementById("drDeadline").options[selIndex2].value;
    var selIndex3=document.getElementById("drnop").selectedIndex;
    var nop=document.getElementById("drnop").options[selIndex3].value;
    var selIndex4=document.getElementById("drStandard").selectedIndex;
    var standard=document.getElementById("drStandard").options[selIndex4].value;
    
    document.getElementById("hdnop").value = nop;
    document.getElementById("hdstandard").value = standard;
	document.getElementById("hdDealine2").value = deadline;
    var serIDDeadline = serviceID + ' ' + deadline;

    switch (serIDDeadline) 
    {
        // Degree Dissertation - Degree Lit / Review - Degree Dissertation Proposal
        case "1 3 Weeks":
        case "2 3 Weeks":
        case "3 3 Weeks":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 16.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 13.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 11.95).toFixed(2);
            }
            break;
        // Degree Dissertation - Degree Lit / Review - Degree Dissertation Proposal
        case "1 2 Weeks":
        case "2 2 Weeks":
        case "3 2 Weeks":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 18.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 15.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 13.95).toFixed(2);
            }
            break;
        // Degree Dissertation - Degree Lit / Review - Degree Dissertation Proposal
        case "1 1 Week":
        case "2 1 Week":
        case "3 1 Week":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 20.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 17.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 15.95).toFixed(2);
            }
            break;
        // Degree Dissertation - Degree Lit / Review - Degree Dissertation Proposal 
        case "1 5 Days":
        case "2 5 Days":
        case "3 5 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 19.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 17.95).toFixed(2);
            }
            break;
        // Degree Dissertation - Degree Lit / Review - Degree Dissertation Proposal 
        case "1 4 Days":
        case "2 4 Days":
        case "3 4 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 21.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 19.95).toFixed(2);
            }
            break;
        // Degree Dissertation - Degree Lit / Review - Degree Dissertation Proposal 
        case "1 3 Days":
        case "2 3 Days":
        case "3 3 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 26.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 23.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 21.95).toFixed(2);
            }
            break;
        // Degree Dissertation - Degree Lit / Review - Degree Dissertation Proposal 
        case "1 48 Hours":
        case "2 48 Hours":
        case "3 48 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 28.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 25.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 23.95).toFixed(2);
            }
            break;
        // Degree Dissertation - Degree Lit / Review - Degree Dissertation Proposal 
        case "1 24 Hours":
        case "2 24 Hours":
        case "3 24 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 30.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 27.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 25.95).toFixed(2);
            }
            break;
        //----------------------------------------------------------------------------------------------------------
        // Master Dissertation - Master Dissertation Lit / Review - Master Dissertation Proposal
        case "4 3 Weeks":
            if (standard == 'Guaranteed First Class') {
                document.getElementById("txtTPrice").value = (nop * 17.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard') {
            document.getElementById("txtTPrice").value = (nop * 14.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard') {
            document.getElementById("txtTPrice").value = (nop * 12.95).toFixed(2);
            }
            else {
                document.getElementById("txtTPrice").value = '0.00';
            }
            break;
        case "5 3 Weeks":
        case "6 3 Weeks":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 17.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 14.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 12.95).toFixed(2);
            }
            break;
        // Master Dissertation - Master Dissertation Lit / Review - Master Dissertation Proposal
        case "4 2 Weeks":
            if (standard == 'Guaranteed First Class') {
                document.getElementById("txtTPrice").value = (nop * 19.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard') {
                document.getElementById("txtTPrice").value = (nop * 16.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard') {
                document.getElementById("txtTPrice").value = (nop * 14.95).toFixed(2);
            }
            else {
                document.getElementById("txtTPrice").value = '0.00';
            }
            break;
        case "5 2 Weeks":
        case "6 2 Weeks":
        
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 19.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 16.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 14.95).toFixed(2);
            }
            break;
        // Master Dissertation - Master Dissertation Lit / Review - Master Dissertation Proposal
        case "4 1 Week":
            if (standard == 'Guaranteed First Class') {
                document.getElementById("txtTPrice").value = (nop * 21.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard') {
                document.getElementById("txtTPrice").value = (nop * 18.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard') {
                document.getElementById("txtTPrice").value = (nop * 16.95).toFixed(2);
            }
            else {
                document.getElementById("txtTPrice").value = '0.00';
            }
            break;
        case "5 1 Week":
        case "6 1 Week":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 21.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 18.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 16.95).toFixed(2);
            }
            break;
        // Master Dissertation - Master Dissertation Lit / Review - Master Dissertation Proposal
        case "4 5 Days":
            if (standard == 'Guaranteed First Class') {
                document.getElementById("txtTPrice").value = (nop * 23.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard') {
                document.getElementById("txtTPrice").value = (nop * 20.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard') {
                document.getElementById("txtTPrice").value = (nop * 18.95).toFixed(2);
            }
            else {
                document.getElementById("txtTPrice").value = '0.00';
            }
            break;
        case "5 5 Days":
        case "6 5 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 23.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 20.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 18.95).toFixed(2);
            }
            break;
        // Master Dissertation - Master Dissertation Lit / Review - Master Dissertation Proposal
        case "4 4 Days":
            if (standard == 'Guaranteed First Class') {
                document.getElementById("txtTPrice").value = (nop * 25.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard') {
                document.getElementById("txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard') {
                document.getElementById("txtTPrice").value = (nop * 20.95).toFixed(2);
            }
            else {
                document.getElementById("txtTPrice").value = '0.00';
            }
            break;
        case "5 4 Days":
        case "6 4 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 25.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 20.95).toFixed(2);
            }

            break;
        // Master Dissertation - Master Dissertation Lit / Review - Master Dissertation Proposal
        case "4 3 Days":
            if (standard == 'Guaranteed First Class') {
                document.getElementById("txtTPrice").value = (nop * 27.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard') {
                document.getElementById("txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard') {
                document.getElementById("txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            else {
                document.getElementById("txtTPrice").value = '0.00';
            }
            break;
        case "5 3 Days":
        case "6 3 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 27.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            break;
        // Master Dissertation - Master Dissertation Lit / Review - Master Dissertation Proposal
        case "4 48 Hours":
            if (standard == 'Guaranteed First Class') {
                document.getElementById("txtTPrice").value = (nop * 29.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard') {
                document.getElementById("txtTPrice").value = (nop * 26.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard') {
                document.getElementById("txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            else {
                document.getElementById("txtTPrice").value = '0.00';
            }
            break;
        case "5 48 Hours":
        case "6 48 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 29.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 26.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            break;
        // Master Dissertation - Master Dissertation Lit / Review - Master Dissertation Proposal
        case "4 24 Hours":
            if (standard == 'Guaranteed First Class') {
                document.getElementById("txtTPrice").value = (nop * 31.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard') {
                document.getElementById("txtTPrice").value = (nop * 28.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard') {
                document.getElementById("txtTPrice").value = (nop * 26.95).toFixed(2);
            }
            else {
                document.getElementById("txtTPrice").value = '0.00';
            }
            break;  
        case "5 24 Hours":
        case "6 24 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 31.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 28.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 26.95).toFixed(2);
            }
        break;
        //----------------------------------------------------------------------------------------------------------
        // PhD Dissertation PhD Dissertation Lit / Review - PhD Dissertation Proposal
        case "7 3 Weeks":
        case "8 3 Weeks":
        case "9 3 Weeks":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 19.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 16.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 14.95).toFixed(2);
            }
            break;
        // PhD Dissertation  PhD Dissertation Lit / Review - PhD Dissertation Proposal
        case "7 2 Weeks":
        case "8 2 Weeks":
        case "9 2 Weeks":     
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 21.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 18.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 16.95).toFixed(2);
            }
            break;
        // PhD Dissertation  PhD Dissertation Lit / Review - PhD Dissertation Proposal
        case "7 1 Week":
        case "8 1 Week":
        case "9 1 Week":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 23.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 20.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 18.95).toFixed(2);
            }
            break;
        // PhD Dissertation PhD Dissertation Lit / Review - PhD Dissertation Proposal 
        case "7 5 Days":    
        case "8 5 Days":
        case "9 5 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 25.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 20.95).toFixed(2);
            }
            break;
        // PhD Dissertation PhD Dissertation Lit / Review - PhD Dissertation Proposal   
        case "7 4 Days":
        case "8 4 Days":
        case "9 4 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 27.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            break;
        // PhD Dissertation PhD Dissertation Lit / Review - PhD Dissertation Proposal 
        case "7 3 Days":
        case "8 3 Days":
        case "9 3 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 29.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 26.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            break;
        // PhD Dissertation  PhD Dissertation Lit / Review - PhD Dissertation Proposal  
        case "7 48 Hours":
        case "8 48 Hours":
        case "9 48 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 31.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 28.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 26.95).toFixed(2);
            }
            break;
        // PhD Dissertation PhD Dissertation Lit / Review - PhD Dissertation Proposal 
        case "7 24 Hours":
        case "8 24 Hours":
        case "9 24 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 37.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 32.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 29.95).toFixed(2);
            }
        break;
        
        //----------------------------------------------------------------------------------------------------------
        // Master Essay
        case "11 1 Month":                
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * (16.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (13.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (11.95)).toFixed(2);
            }
            break;
        // Master Essay 
        case "11 15 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * (18.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (15.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (13.95)).toFixed(2);
            }
            break;
        // Master Essay 
        case "11 6-7 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * (20.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (17.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (15.95)).toFixed(2);
            }
            break;
        // Master Essay 
        case "11 5 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * (22.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (19.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (17.95)).toFixed(2);
            }
            break;
        // Master Essay 
        case "11 4 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * (24.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (21.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (19.95)).toFixed(2);
            }

            break;
        // Master Essay 
        case "11 3 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * (26.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (23.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (21.95)).toFixed(2);
            }
            break;
        // Master Essay 
        case "11 48 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * (28.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (25.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (23.95)).toFixed(2);
            }
            break;
        // Master Essay 
        case "11 24 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * (30.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (27.95)).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * (25.95)).toFixed(2);
            }
        break;
        //----------------------------------------------------------------------------------------------------------
        // Degree Essay 
        case "10 1 Month":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 14.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 11.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 9.95).toFixed(2);
            }
            break;
        // Degree Essay  
        case "10 15 Days":        
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 16.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 13.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 11.95).toFixed(2);
            }
            break;
        // Degree Essay  
        case "10 6-7 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 18.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 15.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 13.95).toFixed(2);
            }
            break;
        // Degree Essay  
        case "10 5 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 20.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 17.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 15.95).toFixed(2);
            }
            break;
        // Degree Essay  
        case "10 4 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 19.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 17.95).toFixed(2);
            }
            break;
        // Degree Essay  
        case "10 3 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 21.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 19.95).toFixed(2);
            }
            break;
        // Degree Essay  
        case "10 48 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 26.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 23.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 21.95).toFixed(2);
            }
            break;
        // Degree Essay  
        case "10 24 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 28.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 25.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 23.95).toFixed(2);
            }
        break;
        //----------------------------------------------------------------------------------------------------------
        // PhD Essay 
        case "12 1 Month":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 18.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 15.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 13.95).toFixed(2);
            }
            break;
        // PhD Essay  
        case "12 15 Days":        
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 20.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 17.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 15.95).toFixed(2);
            }
            break;
        // PhD Essay  
        case "12 6-7 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 22.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 19.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 17.95).toFixed(2);
            }
            break;
        // PhD Essay  
        case "12 5 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 24.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 21.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 19.95).toFixed(2);
            }
            break;
        // PhD Essay  
        case "12 4 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 26.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 23.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 21.95).toFixed(2);
            }
            break;
        // PhD Essay  
        case "12 3 Days":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 28.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 25.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 23.95).toFixed(2);
            }
            break;
        // PhD Essay  
        case "12 48 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 30.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 27.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 25.95).toFixed(2);
            }
            break;
        // PhD Essay  
        case "12 24 Hours":
            if (standard == 'Guaranteed First Class')
            {
                document.getElementById("txtTPrice").value = (nop * 32.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:1 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 29.95).toFixed(2);
            }
            else if (standard == 'Guaranteed 2:2 Standard')
            {
                document.getElementById("txtTPrice").value = (nop * 27.95).toFixed(2);
            }
            break;
        // ---------------------------------------------------------------- 
        //Editing
        case "13 1 Month":
            if (standard == 'A Level') {
                document.getElementById("txtTPrice").value = (nop * 6.95).toFixed(2);
            }
            else if (standard == 'Degree') {
                document.getElementById("txtTPrice").value = (nop * 7.95).toFixed(2);
            }
            else if (standard == 'Masters') {
                document.getElementById("txtTPrice").value = (nop * 8.95).toFixed(2);
            }
            else if (standard == 'Ph.D. / Doctorate') {
                document.getElementById("txtTPrice").value = (nop * 9.95).toFixed(2);
            }
            break;
        // Editing
        case "13 15 Days":
            if (standard == 'A Level') {
                document.getElementById("txtTPrice").value = (nop * 7.95).toFixed(2);
            }
            else if (standard == 'Degree') {
                document.getElementById("txtTPrice").value = (nop * 8.95).toFixed(2);
            }
            else if (standard == 'Masters') {
                document.getElementById("txtTPrice").value = (nop * 9.95).toFixed(2);
            }
            else if (standard == 'Ph.D. / Doctorate') {
                document.getElementById("txtTPrice").value = (nop * 10.95).toFixed(2);
            }
            break;
        // Editing   
        case "13 6-7 Days":
            if (standard == 'A Level') {
                document.getElementById("txtTPrice").value = (nop * 8.95).toFixed(2);
            }
            else if (standard == 'Degree') {
                document.getElementById("txtTPrice").value = (nop * 9.95).toFixed(2);
            }
            else if (standard == 'Masters') {
                document.getElementById("txtTPrice").value = (nop * 10.95).toFixed(2);
            }
            else if (standard == 'Ph.D. / Doctorate') {
                document.getElementById("txtTPrice").value = (nop * 11.95).toFixed(2);
            }
            break;
        // Editing   
        case "13 5 Days":
            if (standard == 'A Level') {
                document.getElementById("txtTPrice").value = (nop * 9.95).toFixed(2);
            }
            else if (standard == 'Degree') {
                document.getElementById("txtTPrice").value = (nop * 10.95).toFixed(2);
            }
            else if (standard == 'Masters') {
                document.getElementById("txtTPrice").value = (nop * 11.95).toFixed(2);
            }
            else if (standard == 'Ph.D. / Doctorate') {
                document.getElementById("txtTPrice").value = (nop * 12.95).toFixed(2);
            }
            break;
        // Editing   
        case "13 4 Days":
            if (standard == 'A Level') {
                document.getElementById("txtTPrice").value = (nop * 10.95).toFixed(2);
            }
            else if (standard == 'Degree') {
                document.getElementById("txtTPrice").value = (nop * 11.95).toFixed(2);
            }
            else if (standard == 'Masters') {
                document.getElementById("txtTPrice").value = (nop * 12.95).toFixed(2);
            }
            else if (standard == 'Ph.D. / Doctorate') {
                document.getElementById("txtTPrice").value = (nop * 13.95).toFixed(2);
            }
            break;
        // Editing   
        case "13 3 Days":
            if (standard == 'A Level') {
                document.getElementById("txtTPrice").value = (nop * 11.95).toFixed(2);
            }
            else if (standard == 'Degree') {
                document.getElementById("txtTPrice").value = (nop * 12.95).toFixed(2);
            }
            else if (standard == 'Masters') {
                document.getElementById("txtTPrice").value = (nop * 13.95).toFixed(2);
            }
            else if (standard == 'Ph.D. / Doctorate') {
                document.getElementById("txtTPrice").value = (nop * 14.95).toFixed(2);
            }
            break;
        // Editing   
        case "13 48 Hours":
            if (standard == 'A Level') {
                document.getElementById("txtTPrice").value = (nop * 12.95).toFixed(2);
            }
            else if (standard == 'Degree') {
                document.getElementById("txtTPrice").value = (nop * 13.95).toFixed(2);
            }
            else if (standard == 'Masters') {
                document.getElementById("txtTPrice").value = (nop * 14.95).toFixed(2);
            }
            else if (standard == 'Ph.D. / Doctorate') {
                document.getElementById("txtTPrice").value = (nop * 15.95).toFixed(2);
            }
            break;
        // Editing   
        case "13 24 Hours":
            if (standard == 'A Level') {
                document.getElementById("txtTPrice").value = (nop * 13.95).toFixed(2);
            }
            else if (standard == 'Degree') {
                document.getElementById("txtTPrice").value = (nop * 14.95).toFixed(2);
            }
            else if (standard == 'Masters') {
                document.getElementById("txtTPrice").value = (nop * 15.95).toFixed(2);
            }
            else if (standard == 'Ph.D. / Doctorate') {
                document.getElementById("txtTPrice").value = (nop * 16.95).toFixed(2);
            }
            break;     
    } 
    
    
    
       
 }
