// JavaScript Document

function buildSelect() { //alert(x) ; //return
x = document.f1.typeOW.value

for (var q=f1.levelOW.options.length;q>=0;q--) 
f1.levelOW.options[q]=null;


for (var q=f1.numberOP.options.length;q>=0;q--) 
f1.numberOP.options[q]=null;

for (var q=f1.WDelivery.options.length;q>=0;q--) 
f1.WDelivery.options[q]=null;

var abc=new Array()

document.f1.totalAmount.value = "0.00"


if (x == "Term Paper" || x == "Research Paper" || x == "Essay" || x == "Book Review" || x == "Book Report" || x == "Case Study" || x == "Lab Report") {
j = 1
for (var i = j; i <= 300; i++)
abc[i]=new Option(i, i)

abc1 = new Option("Select Number of Pages","0")
document.f1.numberOP.options[0] = abc1

for (var k = j; k <= 300; k++)
document.f1.numberOP.options[k] = abc[k]




  /* set choices 1 and 2 */

  option0 = new Option("Select Academic Level","None")
  option1 = new Option("High School","High School")
  option2 = new Option("College","College")
  option3 = new Option("Undergraduate","Undergraduate")
  option4 = new Option("Bachelor’s","Bachelor’s")
  option5 = new Option("Master’s","Master’s")
  option6 = new Option("Doctoral","Doctoral")
  // write them
  document.f1.levelOW.options[0] = option0
  document.f1.levelOW.options[1] = option1
  document.f1.levelOW.options[2] = option2
  document.f1.levelOW.options[3] = option3
  document.f1.levelOW.options[4] = option4
  document.f1.levelOW.options[5] = option5
  document.f1.levelOW.options[6] = option6
  
  /* set choices 1 and 2 */

  option0 = new Option("Deadline","None")
  option1 = new Option("15 Days","15 Days")
  option2 = new Option("7 Days","7 Days")
  option3 = new Option("6 Days","6 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")
  // write them
  document.f1.WDelivery.options[0] = option0
  document.f1.WDelivery.options[1] = option1
  document.f1.WDelivery.options[2] = option2
  document.f1.WDelivery.options[3] = option3
  document.f1.WDelivery.options[4] = option4
  document.f1.WDelivery.options[5] = option5
  document.f1.WDelivery.options[6] = option6
  document.f1.WDelivery.options[7] = option7
  document.f1.WDelivery.options[8] = option8
  
  

  return;
  }

if (x == "Research Proposal") { 


j = 1
for (var i = j; i <= 300; i++)
abc[i]=new Option(i, i)

abc1 = new Option("Select Number of Pages","0")
document.f1.numberOP.options[0] = abc1

for (var k = 1; k <= 300; k++)
document.f1.numberOP.options[k] = abc[k]


  /* set choices 1 and 2 */
  option0 = new Option("Select Academic Level","None")
  option1 = new Option("Undergraduate","Undergraduate")
  option2 = new Option("Master’s","Master’s")
  option3 = new Option("Doctoral","Doctoral")
  // write them
  document.f1.levelOW.options[0] = option0
  document.f1.levelOW.options[1] = option1
  document.f1.levelOW.options[2] = option2
  document.f1.levelOW.options[3] = option3
  
  /* set choices 1 and 2 */

  option0 = new Option("Deadline","None")
  option1 = new Option("15 Days","15 Days")
  option2 = new Option("7 Days","7 Days")
  option3 = new Option("6 Days","6 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")
  // write them
  document.f1.WDelivery.options[0] = option0
  document.f1.WDelivery.options[1] = option1
  document.f1.WDelivery.options[2] = option2
  document.f1.WDelivery.options[3] = option3
  document.f1.WDelivery.options[4] = option4
  document.f1.WDelivery.options[5] = option5
  document.f1.WDelivery.options[6] = option6
  document.f1.WDelivery.options[7] = option7
  document.f1.WDelivery.options[8] = option8
  

  return;
  }

if (x == "Admission Essay") { 


j = 1
for (var i = j; i <= 300; i++)
abc[i]=new Option(i, i)

abc1 = new Option("Select Number of Pages","0")
document.f1.numberOP.options[0] = abc1

for (var k = 1; k <= 300; k++)
document.f1.numberOP.options[k] = abc[k]


  /* set choices 1 and 2 */
  option0 = new Option("No Academic Level","--")
  // write them
  document.f1.levelOW.options[0] = option0
  
  /* set choices 1 and 2 */

  option0 = new Option("Deadline","None")
  option1 = new Option("15 Days","15 Days")
  option2 = new Option("7 Days","7 Days")
  option3 = new Option("6 Days","6 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")
  // write them
  document.f1.WDelivery.options[0] = option0
  document.f1.WDelivery.options[1] = option1
  document.f1.WDelivery.options[2] = option2
  document.f1.WDelivery.options[3] = option3
  document.f1.WDelivery.options[4] = option4
  document.f1.WDelivery.options[5] = option5
  document.f1.WDelivery.options[6] = option6
  document.f1.WDelivery.options[7] = option7
  document.f1.WDelivery.options[8] = option8
  

  return;
  }

if (x == "Thesis" || x == "Dissertation") { 


j = 1
for (var i = j; i <= 297; i++)
abc[i]=new Option(i+3, i+3)

abc1 = new Option("Select Number of Pages","0")
document.f1.numberOP.options[0] = abc1

for (var k = 1; k <= 297; k++)
document.f1.numberOP.options[k] = abc[k]


  /* set choices 1 and 2 */
  option0 = new Option("Select Academic Level","None")
  option1 = new Option("Undergraduate","Undergraduate")
  option2 = new Option("Master’s","Master’s")
  option3 = new Option("Doctoral","Doctoral")
  // write them
  document.f1.levelOW.options[0] = option0
  document.f1.levelOW.options[1] = option1
  document.f1.levelOW.options[2] = option2
  document.f1.levelOW.options[3] = option3
  
  /* set choices 1 and 2 */

  option0 = new Option("Deadline","None")
  option1 = new Option("2 Months","2 Months")
  option2 = new Option("30 Days","30 Days")
  option3 = new Option("20 Days","20 Days")
  option4 = new Option("15 Days","15 Days")
  option5 = new Option("10 Days","10 Days")
  option6 = new Option("7 Days","7 Days")
  option7 = new Option("6 Days","6 Days")
  option8 = new Option("5 Days","5 Days")
  option9 = new Option("4 Days","4 Days")
  option10 = new Option("3 Days","3 Days")
  // write them
  document.f1.WDelivery.options[0] = option0
  document.f1.WDelivery.options[1] = option1
  document.f1.WDelivery.options[2] = option2
  document.f1.WDelivery.options[3] = option3
  document.f1.WDelivery.options[4] = option4
  document.f1.WDelivery.options[5] = option5
  document.f1.WDelivery.options[6] = option6
  document.f1.WDelivery.options[7] = option7
  document.f1.WDelivery.options[8] = option8
  document.f1.WDelivery.options[9] = option9
  document.f1.WDelivery.options[10] = option10
  
  return;
  }

if (x == "PowerPoint Presentation- You will provide resources" || x == "PowerPoint Presentation- You will not provide resources") { 


j = 1
for (var i = j; i <= 300; i++)
abc[i]=new Option(i, i)

abc1 = new Option("Select Number of Pages","0")
document.f1.numberOP.options[0] = abc1

for (var k = 1; k <= 300; k++)
document.f1.numberOP.options[k] = abc[k]


  /* set choices 1 and 2 */
  option0 = new Option("No Academic Level","--")

// write them
  document.f1.levelOW.options[0] = option0
  
  /* set choices 1 and 2 */

  option0 = new Option("Deadline","None")
  option1 = new Option("14 Days","14 Days")
  option2 = new Option("7 Days","7 Days")
  option3 = new Option("6 Days","6 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")
  // write them
  document.f1.WDelivery.options[0] = option0
  document.f1.WDelivery.options[1] = option1
  document.f1.WDelivery.options[2] = option2
  document.f1.WDelivery.options[3] = option3
  document.f1.WDelivery.options[4] = option4
  document.f1.WDelivery.options[5] = option5
  document.f1.WDelivery.options[6] = option6
  document.f1.WDelivery.options[7] = option7
  document.f1.WDelivery.options[8] = option8

  return;
  }

if (x == "Editing") { 


j = 1
for (var i = j; i <= 300; i++)
abc[i]=new Option(i, i)

abc1 = new Option("Select Number of Pages","0")
document.f1.numberOP.options[0] = abc1

for (var k = 1; k <= 300; k++)
document.f1.numberOP.options[k] = abc[k]


  /* set choices 1 and 2 */
  option0 = new Option("No Academic Level","--")

// write them
  document.f1.levelOW.options[0] = option0
  
  /* set choices 1 and 2 */

  option0 = new Option("Deadline","None")
  option1 = new Option("6-7 Days","6-7 Days")
  option2 = new Option("5 Days","5 Days")
  option3 = new Option("4 Days","4 Days")
  option4 = new Option("3 Days","3 Days")
  option5 = new Option("48 Hours","48 Hours")
  option6 = new Option("24 Hours","24 Hours")
  // write them
  document.f1.WDelivery.options[0] = option0
  document.f1.WDelivery.options[1] = option1
  document.f1.WDelivery.options[2] = option2
  document.f1.WDelivery.options[3] = option3
  document.f1.WDelivery.options[4] = option4
  document.f1.WDelivery.options[5] = option5
  document.f1.WDelivery.options[6] = option6

  return;
  }



} // end of function



// Calculation function starts

function calc(){
//Term Paper - High School
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "High School"&&document.f1.WDelivery.value == "15 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 10.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "High School"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 12.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "High School"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 14.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "High School"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 16.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "High School"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 18.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "High School"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 20.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "High School"&&document.f1.WDelivery.value == "48 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 22.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "High School"&&document.f1.WDelivery.value == "24 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 24.95).toFixed(2)
}

//Term Paper - College
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "College"&&document.f1.WDelivery.value == "15 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 12.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "College"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 14.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "College"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 16.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "College"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 18.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "College"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 20.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "College"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 22.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "College"&&document.f1.WDelivery.value == "48 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 24.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "College"&&document.f1.WDelivery.value == "24 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 26.95).toFixed(2)
}

//Term Paper - Undergraduate
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "15 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 14.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 16.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 18.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 20.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 22.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 24.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "48 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 26.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "24 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 28.95).toFixed(2)
}

//Term Paper - Bachelor’s
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Bachelor’s"&&document.f1.WDelivery.value == "15 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 16.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Bachelor’s"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 18.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Bachelor’s"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 20.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Bachelor’s"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 22.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Bachelor’s"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 24.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Bachelor’s"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 26.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Bachelor’s"&&document.f1.WDelivery.value == "48 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 28.95).toFixed(2)
}
if (document.f1.typeOW.value == "Term Paper"&&document.f1.levelOW.value == "Bachelor’s"&&document.f1.WDelivery.value == "24 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 30.95).toFixed(2)
}

//Term Paper - Master’s
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "15 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 18.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 20.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 22.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 24.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 26.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 28.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "48 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 30.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "24 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 32.95).toFixed(2)
}

//Term Paper - Doctoral
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "15 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 20.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 22.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 24.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 26.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 28.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 30.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "48 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 32.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Term Paper"||document.f1.typeOW.value == "Research Paper"||document.f1.typeOW.value == "Essay"||document.f1.typeOW.value == "Book Review"||document.f1.typeOW.value == "Book Report"||document.f1.typeOW.value == "Case Study"||document.f1.typeOW.value == "Lab Report")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "24 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 34.95).toFixed(2)
}


//Research Proposal - Undergraduate
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "15 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 16.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 18.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 20.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 22.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 24.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 26.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "48 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 28.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "24 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 30.95).toFixed(2)
}

//Research Proposal - Master’s
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "15 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 20.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 22.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 24.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 26.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 28.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 30.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "48 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 32.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "24 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 34.95).toFixed(2)
}

//Research Proposal - Doctoral
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "15 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 22.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 24.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 26.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 28.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 30.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 32.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "48 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 34.95).toFixed(2)
}
if (document.f1.typeOW.value == "Research Proposal"&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "24 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 36.95).toFixed(2)
}

//Admission Essay - --
if (document.f1.typeOW.value == "Admission Essay"&&document.f1.WDelivery.value == "15 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 28.95).toFixed(2)
}
if (document.f1.typeOW.value == "Admission Essay"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 30.95).toFixed(2)
}
if (document.f1.typeOW.value == "Admission Essay"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 32.95).toFixed(2)
}
if (document.f1.typeOW.value == "Admission Essay"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 34.95).toFixed(2)
}
if (document.f1.typeOW.value == "Admission Essay"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 36.95).toFixed(2)
}
if (document.f1.typeOW.value == "Admission Essay"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 39.95).toFixed(2)
}
if (document.f1.typeOW.value == "Admission Essay"&&document.f1.WDelivery.value == "48 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 41.95).toFixed(2)
}
if (document.f1.typeOW.value == "Admission Essay"&&document.f1.WDelivery.value == "24 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 44.95).toFixed(2)
}


//Thesis / Dissertation - Undergraduate
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "2 Months")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 12.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "30 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 13.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "20 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 14.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "15 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 15.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "10 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 16.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 17.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 17.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 18.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 20.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Undergraduate"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 22.95).toFixed(2)
}

//Thesis / Dissertation - Master’s
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "2 Months")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 16.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "30 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 17.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "20 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 18.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "15 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 20.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "10 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 21.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 22.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 22.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 24.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 26.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Master’s"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 29.95).toFixed(2)
}

//Thesis / Dissertation - Doctoral
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "2 Months")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 22.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "30 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 23.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "20 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 24.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "15 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 26.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "10 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 28.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 30.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 30.95).toFixed(2)
}
if ((document.f1.typeOW.value == "Thesis"||document.f1.typeOW.value == "Dissertation")&&document.f1.levelOW.value == "Doctoral"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 32.95).toFixed(2)
}

//PowerPoint Presentation- You will provide resources - --
if (document.f1.typeOW.value == "PowerPoint Presentation- You will provide resources"&&document.f1.WDelivery.value == "14 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 5.95).toFixed(2)
}
if (document.f1.typeOW.value == "PowerPoint Presentation- You will provide resources"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 7.95).toFixed(2)
}
if (document.f1.typeOW.value == "PowerPoint Presentation- You will provide resources"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 7.95).toFixed(2)
}
if (document.f1.typeOW.value == "PowerPoint Presentation- You will provide resources"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 9.95).toFixed(2)
}
if (document.f1.typeOW.value == "PowerPoint Presentation- You will provide resources"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 11.95).toFixed(2)
}
if (document.f1.typeOW.value == "PowerPoint Presentation- You will provide resources"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 13.95).toFixed(2)
}
if (document.f1.typeOW.value == "PowerPoint Presentation- You will provide resources"&&document.f1.WDelivery.value == "48 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 15.95).toFixed(2)
}
if (document.f1.typeOW.value == "PowerPoint Presentation- You will provide resources"&&document.f1.WDelivery.value == "24 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 17.95).toFixed(2)
}

//PowerPoint Presentation- You will not provide resources - --
if (document.f1.typeOW.value == "PowerPoint Presentation- You will not provide resources"&&document.f1.WDelivery.value == "14 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 12.95).toFixed(2)
}
if (document.f1.typeOW.value == "PowerPoint Presentation- You will not provide resources"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 14.95).toFixed(2)
}
if (document.f1.typeOW.value == "PowerPoint Presentation- You will not provide resources"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 14.95).toFixed(2)
}
if (document.f1.typeOW.value == "PowerPoint Presentation- You will not provide resources"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 16.95).toFixed(2)
}
if (document.f1.typeOW.value == "PowerPoint Presentation- You will not provide resources"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 18.95).toFixed(2)
}
if (document.f1.typeOW.value == "PowerPoint Presentation- You will not provide resources"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 20.95).toFixed(2)
}
if (document.f1.typeOW.value == "PowerPoint Presentation- You will not provide resources"&&document.f1.WDelivery.value == "48 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 22.95).toFixed(2)
}
if (document.f1.typeOW.value == "PowerPoint Presentation- You will not provide resources"&&document.f1.WDelivery.value == "24 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 24.95).toFixed(2)
}

//Editing - --
if (document.f1.typeOW.value == "Editing"&&document.f1.WDelivery.value == "7 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 5.95).toFixed(2)
}
if (document.f1.typeOW.value == "Editing"&&document.f1.WDelivery.value == "6 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 5.95).toFixed(2)
}
if (document.f1.typeOW.value == "Editing"&&document.f1.WDelivery.value == "5 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 7.95).toFixed(2)
}
if (document.f1.typeOW.value == "Editing"&&document.f1.WDelivery.value == "4 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 9.50).toFixed(2)
}
if (document.f1.typeOW.value == "Editing"&&document.f1.WDelivery.value == "3 Days")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 10.95).toFixed(2)
}
if (document.f1.typeOW.value == "Editing"&&document.f1.WDelivery.value == "48 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 12.50).toFixed(2)
}
if (document.f1.typeOW.value == "Editing"&&document.f1.WDelivery.value == "24 Hours")
{
document.f1.totalAmount.value = (document.f1.numberOP.value * 13.95).toFixed(2)
}




}// function end



function submit1(){

if (document.f1.uName.value == ""){
alert("Please enter full name!")
document.f1.uName.focus()
return false;
}

if (echeck(document.f1.email.value)==false){
document.f1.email.value="";
document.f1.email.focus();
return false;
}


if (document.f1.email.value == ""){
alert("Please enter email address!")
document.f1.email.focus()
return false;
}

if (! (document.f1.email1.value == document.f1.email.value)){
alert("Email address and confirm email address are not same")
document.f1.email1.focus()
return false;
}

if (document.f1.tel.value == ""){
alert("Please enter contact number!")
document.f1.tel.focus()
return false;
}


if (!(document.f1.rUser[0].checked||document.f1.rUser[1].checked)){
alert("Are you already a user. Please select.")
document.f1.rUser[0].focus()
return false;
}


if (document.f1.howw.value == "None" && document.f1.rUser[1].checked){
alert("Please tell how did you hear about us?")
document.f1.howw.focus()
return false;
}
if (document.f1.address.value == ""){
alert("Please enter address!")
document.f1.address.focus()
return false;
}
if (document.f1.country.value == "None" && document.f1.country1.value == ""){
alert("Please select country!")
document.f1.country.focus()
return false;
}

if (document.f1.typeOW.value == "None"){
alert("Please Select Type of Paper!")
document.f1.typeOW.focus()
return false;
}

if (document.f1.levelOW.value == "None" || document.f1.levelOW.value == ""){
alert("Please Select Academic Level!\nIf you come to this page using Edit Order button from preview page or using Back button then Refresh your page (Press F5)")
document.f1.levelOW.focus()
return false;
}

if (document.f1.WDelivery.value == "None" || document.f1.levelOW.value == ""){
alert("Please Select Your Deadline!")
document.f1.WDelivery.focus()
return false;
}

if (document.f1.numberOP.value == "0" || document.f1.levelOW.value == ""){
alert("Please Select Number of Pages!")
document.f1.numberOP.focus()
return false;
}


if (document.f1.topic.value == ""){
alert("Please provide topic!")
document.f1.topic.focus()
return false;
}

if (document.f1.areaOW.value == ""){
alert("Please provide subject!")
document.f1.areaOW.focus()
return false;
}

if (document.f1.WSI.value == ""){
alert("Please provide Paper Instructions!")
document.f1.WSI.focus()
return false;
}

if (document.f1.sources.value == "None"){
alert("Please select number of sources!")
document.f1.sources.focus()
return false;
}

if (document.f1.styleOW.value == "None"){
alert("Please provide Referencing/ Citation Style!")
document.f1.styleOW.focus()
return false;
}

if (document.f1.languageReq.value == "None"){
alert("Please provide language requirement!")
document.f1.languageReq.focus()
return false;
}

if (!(document.f1.po[0].checked||document.f1.po[1].checked)){
alert("Please select a payment option.")
document.f1.po[0].focus()
return false;
}

var uword = hex_md5(document.getElementById(jfldid).value);

if (document.getElementById(jfldid).value == "") {
	alert("Please enter security code.");
	document.getElementById(jfldid).focus();
	return false;
}

if (uword!=cword[anum-1]) {		
	alert("Please enter correct security code.");
	document.getElementById(jfldid).focus();
	return false;
}

if (!document.f1.agree.checked){
alert("You have to agree with our terms and conditions")
document.f1.agree.focus()
return false;
}

document.f1.submit();

}

function PP(){
if (document.f1.typeOW.value == "PowerPoint Presentation"&&!(document.f1.rMaterial[0].checked||document.f1.rMaterial[1].checked)){

alert ("Are you providing Presentation Material? Please select to see the rates!")
}
}


function disc(){
				if (document.f1.numberOP.value <= 10) {
				document.f1.totalPaid3.value = document.f1.totalPaid.value;
				document.f1.totalPaid2.value = "0.00";
						}
				
				else if (document.f1.numberOP.value <= 40 && document.f1.numberOP.value >= 11) {
				document.f1.totalPaid3.value = (document.f1.totalPaid.value - (document.f1.totalPaid.value*5/100)).toFixed(2) ;
				document.f1.totalPaid2.value = (document.f1.totalPaid.value*5/100).toFixed(2) ;
						}
				
				else if (document.f1.numberOP.value <= 99 && document.f1.numberOP.value >= 41){
				document.f1.totalPaid3.value = (document.f1.totalPaid.value - (document.f1.totalPaid.value*10/100)).toFixed(2) ;
				document.f1.totalPaid2.value = (document.f1.totalPaid.value*10/100).toFixed(2) ;
						}
				
				else if (document.f1.numberOP.value >= 100){
				document.f1.totalPaid3.value = (document.f1.totalPaid.value - (document.f1.totalPaid.value*15/100)).toFixed(2) ;
				document.f1.totalPaid2.value = (document.f1.totalPaid.value*15/100).toFixed(2) ;
						}
				}


function db(a){
if (a==1){
document.f1.email1.style.background="#CCCCCC";
document.f1.email1.disabled=true;
document.f1.altEmail.style.background="#CCCCCC";
document.f1.altEmail.disabled=true;
document.f1.uName.style.background="#CCCCCC";
document.f1.uName.disabled=true;
document.f1.address.style.background="#CCCCCC";
document.f1.address.disabled=true;
document.f1.country.style.background="#CCCCCC";
document.f1.country.disabled=true;
document.f1.tel.style.background="#CCCCCC";
document.f1.tel.disabled=true;
}
else{
document.f1.email1.style.background="#FFFFFF";
document.f1.email1.disabled=false;
document.f1.altEmail.style.background="#FFFFFF";
document.f1.altEmail.disabled=false;
document.f1.uName.style.background="#FFFFFF";
document.f1.uName.disabled=false;
document.f1.address.style.background="#FFFFFF";
document.f1.address.disabled=false;
document.f1.country.style.background="#FFFFFF";
document.f1.country.disabled=false;
document.f1.tel.style.background="#FFFFFF";
document.f1.tel.disabled=false;

}

}


	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 emailValid(a){

	if (echeck(document.f1.email.value)==false){
	document.f1.email.value="";
	document.f1.email.focus();
		return 
	}
}

