function set_action()
{

//Postpaid Mobile
	if(document.form1.PayType[0].checked)
	{
		if(document.form1.UtilPay.value==0)
		{
		alert("Please select utility payment");
		document.form1.UtilPay.focus();
		return false;
		}
		else {
			if(document.form1.UtilPay.value=="BSESR")
			{
			document.form1.action="BSESR_onestopshop.htm";
			}
			else if(document.form1.UtilPay.value=="BSESY")
			{
			document.form1.action="BSESY_onestopshop.htm";
			}
			else if(document.form1.UtilPay.value=="NDPL")
			{
			document.form1.action="NDPL_onestopshop.htm";
			}
			else if(document.form1.UtilPay.value=="MSEBMUM")
			{
			document.form1.action="MSEBMUM_onestopshop.htm";
			}
			else if(document.form1.UtilPay.value=="BSES")
			{
			document.form1.action="BSES_onestopshop.htm";
			}
			else if(document.form1.UtilPay.value=="IGLINSTA")
			{
			document.form1.action="IGLINSTA_onestopshop.htm";
			}
			else if(document.form1.UtilPay.value=="MGL")
			{
			document.form1.action="MGL_onestopshop.htm";
			}
			else if(document.form1.UtilPay.value=="AIRTUPLL")
			{
			document.form1.action="AIRTUPLL_onestopshop.htm";
			}
			else if(document.form1.UtilPay.value=="TTSL")
			{
			document.form1.action="TTSL_onestopshop.htm";
			}
			else if(document.form1.UtilPay.value=="RIMP")
			{
			document.form1.action="RIMP_onestopshop.htm";
			}
			document.form1.submit();
		 }
	}	 
	//end Postpaid Mobile
	
	//Utillity Payment
	else if(document.form1.PayType[1].checked)
	{
		if(document.form1.PostMobile.value==0)
		{
			alert("Please select mobile operator");
			document.form1.PostMobile.focus();
			return false;
		}
		else{ 
			if(document.form1.PostMobile.value=="AIRTUPMOB")
			{
			document.form1.action="AIRTUPMOB_onestopshop.htm";
			}
			else if(document.form1.PostMobile.value=="CELL1INSTA")
			{
			document.form1.action="CELL1INSTA_onestopshop.htm";
			}
			else if(document.form1.PostMobile.value=="IDEA")
			{
			document.form1.action="IDEA_onestopshop.htm";
			}
			else if(document.form1.PostMobile.value=="RIMP")
			{
			document.form1.action="RIMP_onestopshop.htm";
			}
			else if(document.form1.PostMobile.value=="TTSL")
			{
			document.form1.action="TTSL_onestopshop.htm";
			}
			else if(document.form1.PostMobile.value=="DOCOMO")
			{
			document.form1.action="DOCOMO_onestopshop.htm";
			}
			else if(document.form1.PostMobile.value=="VODAFONE")
			{
			document.form1.action="VODAFONE_onestopshop.htm";
			}
			else if(document.form1.PostMobile.value=="RPGChen")
			{
			document.form1.action="RPGChen_onestopshop.htm";
			}
			else if(document.form1.PostMobile.value=="DOLPHINDEL")
			{
			document.form1.action="DOLPHINDEL_onestopshop.htm";
			}
			else if(document.form1.PostMobile.value=="SPICE")
			{
			document.form1.action="SPICE_onestopshop.htm";
			}
			else if(document.form1.PostMobile.value=="SpiceChand")
			{
			document.form1.action="SpiceChand_onestopshop.htm";
			}
			else if(document.form1.PostMobile.value=="BPLMUM")
			{
			document.form1.action="BPLMUM_onestopshop.htm";
			}
						document.form1.submit();
		 }

	}//UTility Bills end here
	
	//DTH Payments starts here
	else if(document.form1.PayType[2].checked)
	{
		if(document.form1.dth.value==0)
		{
			alert("Please select your DTH service provider");
			document.form1.dth.focus();
			return false;
		}
		else{ 
			if(document.form1.dth.value=="AIRTUPDTH")
			{
			document.form1.action="AIRTUPDTH_onestopshop.htm";
			}
			else if(document.form1.dth.value=="TATASKYB")
			{
			document.form1.action="TATASKYB_onestopshop_details.htm";
			}
						document.form1.submit();
		 }

	}//DTH Payments end here

	//Subscriptions Payments starts here
	else if(document.form1.PayType[3].checked)
	{
		if(document.form1.subscript.value==0)
		{
			alert("Please select a subscription");
			document.form1.subscript.focus();
			return false;
		}
		else{ 
			if(document.form1.subscript.value=="INDIA2DAY")
			{
			document.form1.action="INDIA2DAY_onestopshop.htm";
			}
			else if(document.form1.subscript.value=="RDIGEST")
			{
			document.form1.action="RD_onestopshop.htm";
			}
						document.form1.submit();
		 }

	}//Subscriptions Payments end here

	//Donation Payments starts here
	else if(document.form1.PayType[4].checked)
	{
		if(document.form1.donation.value==0)
		{
			alert("Please select an Organisation");
			document.form1.donation.focus();
			return false;
		}
		else{ 
			
			document.form1.action=document.form1.donation.value +"_onestopshop.htm";
			document.form1.submit();
		 }

	}//Donation Payments end here


else{ //if PayType is  null
	alert("Please select your choice");
	}

}



