// JavaScript Document

        function calculate(){
            if(document.frm1.webhosting.value=="1 Year - Rs.83.00/month" && document.frm1.domain.value=="None"){
				document.frm1.ototal.value="999.00";
                }
            
            if(document.frm1.webhosting.value=="6 Month - Rs.92.00/month" && document.frm1.domain.value=="None"){
				document.frm1.ototal.value="550.00";
                }
            
            if(document.frm1.webhosting.value=="3 Month - Rs.100.00/month" && document.frm1.domain.value=="None"){
				document.frm1.ototal.value="300.00";
                }
            
            if(document.frm1.webhosting.value=="1 Year - Rs.83.00/month" && document.frm1.domain.value=="Domain at Rs.799.00/Year"){
				document.frm1.ototal.value="1798.00";
                }
            
            if(document.frm1.webhosting.value=="6 Month - Rs.92.00/month" && document.frm1.domain.value=="Domain at Rs.799.00/Year"){
				document.frm1.ototal.value="1394.00";
                }
            
            if(document.frm1.webhosting.value=="3 Month - Rs.100.00/month" && document.frm1.domain.value=="Domain at Rs.799.00/Year"){
				document.frm1.ototal.value="1099.00";
                }
            
            if(document.frm1.webhosting.value=="1 Year - Rs.83.00/month" && document.frm1.domain.value=="PKNIC at Rs.2200.00/2 Years"){
				document.frm1.ototal.value="3199.00";
                }
            
            if(document.frm1.webhosting.value=="6 Month - Rs.92.00/month" && document.frm1.domain.value=="PKNIC at Rs.2200.00/2 Years"){
				document.frm1.ototal.value="2750.00";
                }
            
            if(document.frm1.webhosting.value=="3 Month - Rs.100.00/month" && document.frm1.domain.value=="PKNIC at Rs.2200.00/2 Years"){
				document.frm1.ototal.value="2500.00";
                }
            
            
            }
			

function chgmnu(){
	for (var q = document.frm2.domain.options.length;q>=0;q--) 
	document.frm2.domain.options[q]=null;
	
	if(document.frm2.webhosting.value == "1 Year - Rs.583.00/month"){
	  option0 = new Option("None","None")
	  option1 = new Option("Domain at Free/Year","Domain at Free/Year")
	  option2 = new Option("PKNIC at Rs.2200.00/2 Years","PKNIC at Rs.2200.00/2 Years")
	  // write them
	  document.frm2.domain.options[0] = option0
	  document.frm2.domain.options[1] = option1
	  document.frm2.domain.options[2] = option2
	}
	else{
	  option0 = new Option("None","None")
	  option1 = new Option("Domain at Free/Year", "Domain at Free/Year")
	  option2 = new Option("PKNIC at Rs.2200.00/2 Years","PKNIC at Rs.2200.00/2 Years")
	  // write them
	  document.frm2.domain.options[0] = option0
	  document.frm2.domain.options[1] = option1
	  document.frm2.domain.options[2] = option2
	}

}

        function calculate2(){


            if(document.frm2.webhosting.value=="1 Year - Rs.583.00/month" && document.frm2.domain.value=="None"){
				document.frm2.ototal.value="3999.00";
                }
            
            if(document.frm2.webhosting.value=="6 Month - Rs.620.00/month" && document.frm2.domain.value=="None"){
				document.frm2.ototal.value="2050.00";
                }
            
            if(document.frm2.webhosting.value=="3 Month - Rs.650.00/month" && document.frm2.domain.value=="None"){
				document.frm2.ototal.value="1050.00";
                }
            
            
            if(document.frm2.webhosting.value=="6 Month - Rs.620.00/month" && document.frm2.domain.value=="Domain at Rs.799.00/Year"){
				document.frm2.ototal.value="2849.00";
                }
            
            if(document.frm2.webhosting.value=="1 Year - Rs.583.00/month" && document.frm2.domain.value=="Domain at Free/Year"){
				document.frm2.ototal.value="3999.00";
                }

            if(document.frm2.webhosting.value=="3 Month - Rs.650.00/month" && document.frm2.domain.value=="Domain at Rs.799.00/Year"){
				document.frm2.ototal.value="1849.00";
                }
            
            if(document.frm2.webhosting.value=="1 Year - Rs.583.00/month" && document.frm2.domain.value=="PKNIC at Rs.2200.00/2 Years"){
				document.frm2.ototal.value="6199.00";
                }
            
            if(document.frm2.webhosting.value=="6 Month - Rs.620.00/month" && document.frm2.domain.value=="PKNIC at Rs.2200.00/2 Years"){
				document.frm2.ototal.value="4250.00";
                }
            
            if(document.frm2.webhosting.value=="3 Month - Rs.650.00/month" && document.frm2.domain.value=="PKNIC at Rs.2200.00/2 Years"){
				document.frm2.ototal.value="3250.00";
                }
            
            
            }

function chgmnu2(){
	for (var q = document.frm3.domain.options.length;q>=0;q--) 
	document.frm3.domain.options[q]=null;
	
	if(document.frm3.webhosting.value == "1 Year - Rs.833.00/month"){
	  option0 = new Option("None","None")
	  option1 = new Option("Domain at Free/Year","Domain at Free/Year")
	  option2 = new Option("PKNIC at Rs.2200.00/2 Years","PKNIC at Rs.2200.00/2 Years")
	  // write them
	  document.frm3.domain.options[0] = option0
	  document.frm3.domain.options[1] = option1
	  document.frm3.domain.options[2] = option2
	}
	else{
	  option0 = new Option("None","None")
	  option1 = new Option("Domain at Rs.799.00/Year","Domain at Rs.799.00/Year")
	  option2 = new Option("PKNIC at Rs.2200.00/2 Years","PKNIC at Rs.2200.00/2 Years")
	  // write them
	  document.frm3.domain.options[0] = option0
	  document.frm3.domain.options[1] = option1
	  document.frm3.domain.options[2] = option2
	}

}

        function calculate3(){


            if(document.frm3.webhosting.value=="1 Year - Rs.833.00/month" && document.frm3.domain.value=="None"){
				document.frm3.ototal.value="9999.00";
                }
            
            if(document.frm3.webhosting.value=="6 Month - Rs.842.00/month" && document.frm3.domain.value=="None"){
				document.frm3.ototal.value="5050.00";
                }
            
            if(document.frm3.webhosting.value=="3 Month - Rs.850.00/month" && document.frm3.domain.value=="None"){
				document.frm3.ototal.value="2550.00";
                }
            
            
            if(document.frm3.webhosting.value=="1 Year - Rs.833.00/month" && document.frm3.domain.value=="Domain at Free/Year"){
				document.frm3.ototal.value="9999.00";
                }
            
            if(document.frm3.webhosting.value=="6 Month - Rs.842.00/month" && document.frm3.domain.value=="Domain at Rs.799.00/Year"){
				document.frm3.ototal.value="5849.00";
                }
            
            if(document.frm3.webhosting.value=="3 Month - Rs.850.00/month" && document.frm3.domain.value=="Domain at Rs.799.00/Year"){
				document.frm3.ototal.value="3349.00";
                }
            
            if(document.frm3.webhosting.value=="1 Year - Rs.833.00/month" && document.frm3.domain.value=="PKNIC at Rs.2200.00/2 Years"){
				document.frm3.ototal.value="12199.00";
                }
            
            if(document.frm3.webhosting.value=="6 Month - Rs.842.00/month" && document.frm3.domain.value=="PKNIC at Rs.2200.00/2 Years"){
				document.frm3.ototal.value="7250.00";
                }
            
            if(document.frm3.webhosting.value=="3 Month - Rs.850.00/month" && document.frm3.domain.value=="PKNIC at Rs.2200.00/2 Years"){
				document.frm3.ototal.value="4750.00";
                }
            
            
            }

