function openLogo(ClientID)
{
var attributes = 'toolbar=0,location=0,directories=0,status=0, menubar=0,scrollbars=1,resizable=1,width=550,height=600,left=0,top=0';
sealWin=window.open('http://www.ccavenue.com/verifySeal.jsp?ClientID='+ClientID ,'win',attributes); 
self.name = 'mainWin'; 
}
function fndlr()
	{


		var frm = document.dlr

		if(frm.dlrname.value=="")
			{
            	alert("Dealer Name should not be empty");
        		frm.dlrname.focus();
        		return false;
			}
		if(frm.dlradd.value=="")
			{
            	alert("Dealer Address should not be empty");
		    	frm.dlradd.focus();
        		return false;		    	
			}
		if(frm.dlrcity.value=="")
			{
            	alert("City should not be empty");
				frm.dlrcity.focus();
        		return false;				
			}
		window.document.dlr.method="POST";
		window.document.dlr.action="dlradd.php";
		window.document.dlr.submit();
	}

function emailCheck (emailStr)
	{

    	var checkTLD=1;

    	var knownDomsPat=/^(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum)$/;

    	var emailPat=/^(.+)@(.+)$/;

    	var specialChars="\\(\\)><@,;:\\\\\\\"\\.\\[\\]";

    	var validChars="\[^\\s" + specialChars + "\]";

    	var quotedUser="(\"[^\"]*\")";

    	var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/;

    	var atom=validChars + '+';

    	var word="(" + atom + "|" + quotedUser + ")";

    	var userPat=new RegExp("^" + word + "(\\." + word + ")*$");

    	var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$");

    	var matchArray=emailStr.match(emailPat);

        if (matchArray==null)

            {
                alert("Email address seems incorrect (check @ and .'s)");
                return false;
            }
        var user=matchArray[1];

        var domain=matchArray[2];

        for (i=0; i<user.length; i++)
            {
                if (user.charCodeAt(i)>127)
                    {
                        alert("Ths username contains invalid characters.");
                        return false;
                    }
            }
        for (i=0; i<domain.length; i++)
            {
                if (domain.charCodeAt(i)>127)
                    {
                        alert("Ths domain name contains invalid characters.");
                        return false;
                    }
            }

        if (user.match(userPat)==null)
            {
                alert("The username doesn't seem to be valid.");
                return false;
            }

        var IPArray=domain.match(ipDomainPat);
        if (IPArray!=null)
            {
                for (var i=1;i<=4;i++)
                    {
                        if (IPArray[i]>255)
                            {
                                alert("Destination IP address is invalid!");
                                return false;
                            }
                    }
                return true;
            }

        var atomPat=new RegExp("^" + atom + "$");

        var domArr=domain.split(".");

        var len=domArr.length;

        for (i=0;i<len;i++)
            {
                if (domArr[i].search(atomPat)==-1)
                    {
                        alert("The domain name does not seem to be valid.");
                        return false;
                    }
            }

        if (checkTLD && domArr[domArr.length-1].length!=2 && domArr[domArr.length-1].search(knownDomsPat)==-1)
            {
                alert("The address must end in a well-known domain or two letter " + "country.");
                return false;
            }

        if (len<2)
            {
                alert("This address is missing a hostname!");
                return false;
            }

        return true;
    }
function disableForm(theform)
    {
        if (document.all || document.getElementById)
            {
                for (i = 0; i < theform.length; i++)
                    {
                        var tempobj = theform.elements[i];
                         if (tempobj.type.toLowerCase() == "submit" || tempobj.type.toLowerCase() == "reset")
                        tempobj.disabled = true;
                    }
                return true;
            }
    }

var newwindow;
function poptastic1(url)
{
	newwindow=window.open(url,'Search','status=1, height=560, width=370, resizable=yes, scrollbars=yes,top=20');
	if (window.focus) {newwindow.focus()}
}
function poptastic(url)
{
	newwindow=window.open(url,'name','status=1, height=550, width=525, resizable=yes, scrollbars=yes,top=20');
	if (window.focus) {newwindow.focus()}
}
            if (document.images)
                {
                    btnvatup       = new Image();
                    btnvatup.src   = "images/top_bt_vat.gif" ;
                    btnvatdown     = new Image() ;
                    btnvatdown.src = "images/top_bt_vat_ov.gif" ;

                    btnsalesup       = new Image();
                    btnsalesup.src   = "images/top_bt_st.gif" ;
                    btnsalesdown     = new Image() ;
                    btnsalesdown.src = "images/top_bt_st_ov.gif" ;

                    btnstaxup       = new Image();
                    btnstaxup.src   = "images/top_bt_stax.gif" ;
                    btnstaxdown     = new Image() ;
                    btnstaxdown.src = "images/top_bt_stax_ov.gif" ;

                    btnregup       = new Image();
                    btnregup.src   = "images/top_bt_reg.gif" ;
                    btnregdown     = new Image() ;
                    btnregdown.src = "images/top_bt_reg_ov.gif" ;

                    btnloginup       = new Image();
                    btnloginup.src   = "images/top_bt_login.gif" ;
                    btnlogindown     = new Image() ;
                    btnlogindown.src = "images/top_bt_login_ov.gif" ;

                    btnlogoutup       = new Image();
                    btnlogoutup.src   = "images/top_bt_logout.gif" ;
                    btnlogoutdown     = new Image() ;
                    btnlogoutdown.src = "images/top_bt_logout_ov.gif" ;

                    btncusup       = new Image();
                    btncusup.src   = "images/top_bt_cus.gif" ;
                    btncusdown     = new Image() ;
                    btncusdown.src = "images/top_bt_cus_ov.gif" ;

                    btnarticlsup       = new Image();
                    btnarticlsup.src   = "images/bt_articls.gif" ;
                    btnarticlsdown     = new Image() ;
                    btnarticlsdown.src = "images/bt_articls_ov.gif" ;

                    btncasesup       = new Image();
                    btncasesup.src   = "images/bt_cases.gif" ;
                    btncasesdown     = new Image() ;
                    btncasesdown.src = "images/bt_cases_ov.gif" ;

                    btnactsup       = new Image();
                    btnactsup.src   = "images/bt_acts.gif" ;
                    btnactsdown     = new Image() ;
                    btnactsdown.src = "images/bt_acts_ov.gif" ;

                    btnrulesup       = new Image();
                    btnrulesup.src   = "images/bt_rules.gif" ;
                    btnrulesdown     = new Image() ;
                    btnrulesdown.src = "images/bt_rules_ov.gif" ;

                    btnschup       = new Image();
                    btnschup.src   = "images/bt_sch.gif" ;
                    btnschdown     = new Image() ;
                    btnschdown.src = "images/bt_sch_ov.gif" ;

                    btnnotiup       = new Image();
                    btnnotiup.src   = "images/bt_noti.gif" ;
                    btnnotidown     = new Image() ;
                    btnnotidown.src = "images/bt_noti_ov.gif" ;

                    btncircup       = new Image();
                    btncircup.src   = "images/bt_circ.gif" ;
                    btncircdown     = new Image() ;
                    btncircdown.src = "images/bt_circ_ov.gif" ;

                    btnclarup       = new Image();
                    btnclarup.src   = "images/bt_clar.gif" ;
                    btnclardown     = new Image() ;
                    btnclardown.src = "images/bt_clar_ov.gif" ;

                    btnformsup       = new Image();
                    btnformsup.src   = "images/bt_forms.gif" ;
                    btnformsdown     = new Image() ;
                    btnformsdown.src = "images/bt_forms_ov.gif" ;

                    btnnewsup       = new Image();
                    btnnewsup.src   = "images/bt_news.gif" ;
                    btnnewsdown     = new Image() ;
                    btnnewsdown.src = "images/bt_news_ov.gif" ;

                    btnserviceup       = new Image();
                    btnserviceup.src   = "images/bt_service.gif" ;
                    btnservicedown     = new Image() ;
                    btnservicedown.src = "images/bt_service_ov.gif" ;
                }

            function buttondown( buttonname )
                {
                    if (document.images)
                        {
                          document[ buttonname ].src = eval( buttonname + "down.src" );
                        }
                }
            function buttonup ( buttonname )
                {
                    if (document.images)
                        {
                             document[ buttonname ].src = eval( buttonname + "up.src" );
                        }
                }
           
            function fnSubmit()
            	{
                    var frm = document.frmMain
            		var num = frm.Logname.value
            		var lnt2=num.length
            		var phnum=frm.Pincode.value


                    if(frm.Logname.value=="")
                        {
                            alert("Logname should not be empty");
        					frm.Logname.focus();
                        }
                        else
                            {
                                if (lnt2<6)
                                    {
                                        alert("User ID should be a minimum of 6 characters");
                                        frm.Logname.focus();
                                    }
                                else
                                    {
                                if(frm.Password.value=="")
                                    {
                                        alert("Password should not be empty");
                    					frm.Password.focus();
                                    }
                                    else
                                        {
                                            if(frm.Cnfpwd.value=="")
                                                {
                                                    alert("Confirm Password should not be empty");
                                					frm.Cnfpwd.focus();
                                                }
                                                else
                                                    {
                                                        if (frm.Password.value!=frm.Cnfpwd.value)
                                                            {
                                                              alert("Password and Confirm Password entries do not match");
                                                            }
                                                            else
                                                                       {
                                                                              if(frm.Licname.value=="")
                                                                        {
                                                                            alert("Licensee Name should not be empty");
                                                            			    frm.Licname.focus();
                                                                        }
                                                                          else
                                                                                {
                                                                                                if(frm.Address.value=="")
                                                                                                    {
                                                                                                        alert("Address should not be empty");
                                                                                    					frm.Address.focus();
                                                                                                    }
                                                                                                       else
                                                                                                            {
                                                                                                                if(frm.City.value=="")
                                                                                                                    {
                                                                                                                        alert("City should not be empty");
                                                                                                    					frm.City.focus();
                                                                                                                    }
                                                                                                                    else
                                                                                                                        {
                                                                                                                            if((frm.Pincode.value=="")||(frm.Pincode.value.length!="6"))
                                                                                                                                {
                                                                                                                                    alert("Please enter 6 character Pincode");
                                                                                                                					frm.Pincode.focus();
                                                                                                                                }
                                                                                                                                else
                                                                                                                                     {

                                                                                                                                     var val=frm.Pincode.value;
                                                                                                                                     if (isNaN(val))
                                                                                                                                        {
                                                                                                                                            alert("Please enter number only");
                                                                                                                                            frm.Pincode.focus();
                                                                                                                                        }
                                                                                                                                        else
                                                                                                                                            {
                                                                                                                                               if(frm.State.value=="")
                                                                                                                                                    {
                                                                                                                                                alert("State should not be empty");
                                                                                                                            					frm.State.focus();
                                                                                                                                                    }
                                                                                                                                                    else
                                                                                                                                                        {
                                                                                                                                                    if(frm.Email.value=="")
                                                                                                                                                        {
                                                                                                                                                            alert("Email should not be empty");
                                                                                                                                        					frm.Email.focus();
                                                                                                                                                        }
                                                                                                                                                        else
                                                                                                                                                            {
                                                                                                                                                              emailCheck (frm.Email.value)
                                                                                                                                                                
                                                                                                                                                                    if(frm.Phonenum.value=="")
                                                                                                                                                                        {
                                                                                                                                                                            alert("Phone number should not be empty");
                                                                                                                                                        					frm.Phonenum.focus();
                                                                                                                                                                        }
                                                                                                                                                                        else
                                                                                                                                                                            {
                                                                                                                                                                                window.document.frmMain.method="POST";
                                                                                                                                                                                window.document.frmMain.action="verify.php";
                                                                                                                                                                                window.document.frmMain.submit();
                                                                                                                                                                            }
                                                                                                                                                                


                                                                                                                                                            }
                                                                                                                                                }
                                                                                                                                            }

                                                                                                                                                                                                                                                                           }

                                                                                                                        }
                                                                                                            }
                                                                                            }
                                                                                }
                                                                       }

                                                                }
                                                     }
                                             }
                                       }
function fntrialchk()
	{
alert('nalaoi')
var frm = document.frmMain
var num = frm.Logname.value
var lnt2=num.length
var phnum=frm.Pincode.value


if(frm.Logname.value=="")
	{
		alert("Logname should not be empty");
		frm.Logname.focus();
	}
else
	{
		if (lnt2<6)
			{
				alert("User ID should be a minimum of 6 characters");
				frm.Logname.focus();
			}
		else
			{
				if(frm.Password.value=="")
					{
						alert("Password should not be empty");
						frm.Password.focus();
					}
				else
					{
						if(frm.Cnfpwd.value=="")
							{
								alert("Confirm Password should not be empty");
								frm.Cnfpwd.focus();
							}
						else
							{
								if (frm.Password.value!=frm.Cnfpwd.value)
									{
										alert("Password and Confirm Password entries do not match");
									}
								else
									{
										if(frm.Licname.value=="")
											{
												alert("Licensee Name should not be empty");
												frm.Licname.focus();
											}
												else
													{
														if(frm.Address.value=="")
															{
																alert("Address should not be empty");
																frm.Address.focus();
															}
														else
															{
																if(frm.City.value=="")
																	{
																		alert("City should not be empty");
																		frm.City.focus();
																	}
																else
																	{
																		if((frm.Pincode.value=="")||(frm.Pincode.value.length!="6"))
																			{
																				alert("Please enter 6 character Pincode");
																				frm.Pincode.focus();
																			}
																		else
																			{
																				var val=frm.Pincode.value;
																					if (isNaN(val))
																						{
																							alert("Please enter number only");
																							frm.Pincode.focus();
																						}
																					else
																						{
																							if(frm.State.value=="")
																								{
																									alert("State should not be empty");
																									frm.State.focus();
																								}
																							else
																								{
																									if(frm.Email.value=="")
																										{
																											alert("Email should not be empty");
																											frm.Email.focus();
																										}
																									else
																										{
																											emailCheck (frm.Email.value)
																											if(frm.Phonenum.value=="")
																												{
																													alert("Phone number should not be empty");
																													frm.Phonenum.focus();
																												}
																											else
																												{
																													alert('babbaba');
                                                                                                                    window.document.frmMain.method="POST";
																													window.document.frmMain.action="trialusr.php";
																													window.document.frmMain.submit();
																												}
																										}
																								}
																							}
																						}
																					}
																				}
																			}
																		}
																	}
																}
															}
														}	
	}
function fnupdate()
            	{
                    var frm = document.frmMain
            		var num = frm.Logname.value
            		var lnt2=num.length
            		var phnum=frm.Pincode.value


                    if(frm.Logname.value=="")
                        {
                            alert("Logname should not be empty");
        					frm.Logname.focus();
                        }
                        else
                            {
                                if (lnt2<6)
                                    {
                                        alert("Logname should be Minimum 6 Characters");
                                        frm.Logname.focus();
                                    }
                                else
                                    {
                                if(frm.Password.value=="")
                                    {
                                        alert("Password should not be empty");
                    					frm.Password.focus();
                                    }
                                    else
                                        {
                                            if(frm.Cnfpwd.value=="")
                                                {
                                                    alert("Confirm Password should not be empty");
                                					frm.Cnfpwd.focus();
                                                }
                                                else
                                                    {
                                                        if (frm.Password.value!=frm.Cnfpwd.value)
                                                            {
                                                              alert("Password and Confirm Password entries do not match");
                                                            }
                                                            else
                                                                       {
                                                                              if(frm.Licname.value=="")
                                                                        {
                                                                            alert("Licensee Name should not be empty");
                                                            			    frm.Licname.focus();
                                                                        }
                                                                          else
                                                                                {
                                                                                                if(frm.Address.value=="")
                                                                                                    {
                                                                                                        alert("Address should not be empty");
                                                                                    					frm.Address.focus();
                                                                                                    }
                                                                                                       else
                                                                                                            {
                                                                                                                if(frm.City.value=="")
                                                                                                                    {
                                                                                                                        alert("City should not be empty");
                                                                                                    					frm.City.focus();
                                                                                                                    }
                                                                                                                    else
                                                                                                                        {
                                                                                                                            if((frm.Pincode.value=="")||(frm.Pincode.value.length!="6"))
                                                                                                                                {
                                                                                                                                    alert("Please enter 6 character Pincode");
                                                                                                                					frm.Pincode.focus();
                                                                                                                                }
                                                                                                                                else
                                                                                                                                     {

                                                                                                                                     var val=frm.Pincode.value;
                                                                                                                                     if (isNaN(val))
                                                                                                                                        {
                                                                                                                                            alert("Please enter number only");
                                                                                                                                            frm.Pincode.focus();
                                                                                                                                        }
                                                                                                                                        else
                                                                                                                                            {
                                                                                                                                               if(frm.State.value=="")
                                                                                                                                                    {
                                                                                                                                                alert("State should not be empty");
                                                                                                                            					frm.State.focus();
                                                                                                                                                    }
                                                                                                                                                    else
                                                                                                                                                        {
                                                                                                                                                    if(frm.Email.value=="")
                                                                                                                                                        {
                                                                                                                                                            alert("Email should not be empty");
                                                                                                                                        					frm.Email.focus();
                                                                                                                                                        }
                                                                                                                                                        else
                                                                                                                                                            {

                                                                                                                                                                if(frm.Phonenum.value=="")
                                                                                                                                                                    {
                                                                                                                                                                        alert("Phone number should not be empty");
                                                                                                                                                    					frm.Phonenum.focus();
                                                                                                                                                                    }
                                                                                                                                                                    else
                                                                                                                                                                        {
                                                                                                                                                                            window.document.frmMain.method="POST";
                                                                                                                                                                            window.document.frmMain.action="profile.php";
                                                                                                                                                                            window.document.frmMain.submit();
                                                                                                                                                                       }


                                                                                                                                                            }
                                                                                                                                                }
                                                                                                                                            }

                                                                                                                                                                                                                                                                           }

                                                                                                                        }
                                                                                                            }
                                                                                            }
                                                                                }
                                                                       }

                                                                }
                                                     }
                                             }
                                       }
function pwdSubmit()
	{
        var frm = document.frmpwd;

       if((frm.usrname.value!="") || (frm.usremail.value!=""))
            {
                window.document.frmpwd.method="POST";                                                                                                                                                                                                                          window.document.frmpwd.action="passrec.php";
                window.document.frmpwd.submit();
            }
        else
            {
                alert("Please enter either User Name or Email address");
        		frm.usrname.focus();
            }
    }
    
function LogSubmit()
	{
        var frm = document.Login;
        
        if((frm.Logname.value!=="") || (frm.Password.value!==""))
            {

                window.document.Login.method="POST";                                                                                                                                                                                                                          window.document.Login.action="login.php";
                window.document.Login.submit();
           }
        else
            {
                alert("Please enter User Name and Password");
        		frm.Logname.focus();
            } 
    }

function fnChk()
    {
        var frm = document.fstchk;
        myOption = -1;

        for (i=fstchk.Subtype.length-1; i > -1; i--)
            {
                if (fstchk.Subtype[i].checked)
                    {
                        myOption = i;
                        if (fstchk.Subtype[myOption].value!='N')
                            {
								if (fstchk.Subtype[myOption].value!='S')
	                        		{
		                                window.document.fstchk.method="POST";
		                                window.document.fstchk.action="register.php?subtype=T";
		                                window.document.fstchk.submit();
		                            }
		                        else
		                        	{
									    // not new subscriber
		                              if ((frm.Subnum.value!="") && (frm.Licname.value!=""))
		                                {
		                                    // three values are entered
		                                    window.document.fstchk.method="POST";
		                                    window.document.fstchk.action="register.php";
		                                    window.document.fstchk.submit();
		                                }
		                              else 
		                                {
		                                  alert ("Please enter your Subscription Number and Licensee Name");
		                                  	frm.Subnum.select();
		                                }
		                            }
                            }
                        else
                            {
                                window.document.fstchk.method="POST";
                                window.document.fstchk.action="register.php";
                                window.document.fstchk.submit();
                            }

                    }
            }

        if (myOption==-1)
            {
                alert("You must select a Subscription type");
                return false;
                frm.Subtype.focus();
            }


    }
function fnMainCk()
    {
        var frm = document.Main;
        MainOpt = -1;

        for (i=Main.optact.length-1; i > -1; i--)
            {
                if (Main.optact[i].checked)
                    {
                        MainOpt = i;
                        if (Main.optact[MainOpt].value!='N')
                            {
                                // not new subscriber
                              if (frm.optact.value!="")
                                {
                                    // three values are entered
                                    window.document.Main.method="POST";
                                    window.document.Main.action="main.php";
                                    window.document.Main.submit();
                                }
                              else
                                {
                                  alert ("Please enter your Subscription Number and Licensee Name");
                                  	
                                }
                            }
                        else
                            {
                                // new subscriber
                                window.document.Main.method="POST";
                                window.document.Main.action="main.php";
                                window.document.Main.submit();
                            }

                    }
            }

        if (MainOpt==-1)
            {
                alert("Please choose the Subject and Action");
                return false;
                frm.Subtype.focus();
            }

    }
function fnCase($type)
    {
        if ($type=="F")
        window.document.optcase.method="POST";
        window.document.optcase.action="cases.php";
        window.document.optcase.submit();
    }
    
function fnvatback(target)
    {
        window.document.frmback.method="POST";
        window.document.frmback.action=target;
        window.document.frmback.submit();
    }
function fnback()
    {

        window.document.RTEDemo.method="POST";
        window.document.RTEDemo.action="list.php";
        window.document.RTEDemo.submit();
    }
function fnadd()
    {

        window.document.Main.method="POST";
        window.document.Main.action="main.php";
        window.document.Main.submit();
    }
function fnred()
    {
        window.document.Main.method="POST";
        window.document.Main.action="logout.php";
        window.document.Main.submit();
    }
function fnchktrial()
	{
		var frm = document.frmMain
var num = frm.Logname.value
var lnt2=num.length
var phnum=frm.Pincode.value


if(frm.Logname.value=="")
	{
		alert("Logname should not be empty");
		frm.Logname.focus();
	}
else
	{
		if (lnt2<6)
			{
				alert("Logname should be Minimum 6 Characters");
				frm.Logname.focus();
			}
		else
			{
				if(frm.Password.value=="")
					{
						alert("Password should not be empty");
						frm.Password.focus();
					}
				else
					{
						if(frm.Cnfpwd.value=="")
							{
								alert("Confirm Password should not be empty");
								frm.Cnfpwd.focus();
							}
						else
							{
								if (frm.Password.value!=frm.Cnfpwd.value)
									{
										alert("Password and Confirm Password entries do not match");
									}
								else
									{
										if(frm.Licname.value=="")
											{
												alert("Licensee Name should not be empty");
												frm.Licname.focus();
											}
												else
													{
														if(frm.Address.value=="")
															{
																alert("Address should not be empty");
																frm.Address.focus();
															}
														else
															{
																if(frm.City.value=="")
																	{
																		alert("City should not be empty");
																		frm.City.focus();
																	}
																else
																	{
																		if((frm.Pincode.value=="")||(frm.Pincode.value.length!="6"))
																			{
																				alert("Please enter 6 character Pincode");
																				frm.Pincode.focus();
																			}
																		else
																			{
																				var val=frm.Pincode.value;
																					if (isNaN(val))
																						{
																							alert("Please enter number only");
																							frm.Pincode.focus();
																						}
																					else
																						{
																							if(frm.State.value=="")
																								{
																									alert("State should not be empty");
																									frm.State.focus();
																								}
																							else
																								{
																									if(frm.Email.value=="")
																										{
																											alert("Email should not be empty");
																											frm.Email.focus();
																										}
																									else
																										{
																											emailCheck (frm.Email.value)
																											if(frm.Phonenum.value=="")
																												{
																													alert("Phone number should not be empty");
																													frm.Phonenum.focus();
																												}
																											else
																												{
																													window.document.frmMain.method="POST";
																													window.document.frmMain.action="trialusr.php";
																													window.document.frmMain.submit();
																												}
																										}
																								}
																							}
																						}
																					}
																				}
																			}
																		}
																	}
																}
															}
														}
	}
function fbSubmit()
	{
        myOption = -1;

        for (i=Fback.etype.length-1; i > -1; i--)
            {
                if (Fback.etype[i].checked)
                    {
                        myOption = i;
                        if (Fback.etype[myOption].value=='bug')
                            {
                                my1Option = -1;
                                    for (i=Fback.bugrt.length-1; i > -1; i--)
                                        {
                                            if (Fback.bugrt[i].checked)
                                                {
                                                    my1Option = i;
                                                }
                                        }
                                    if (my1Option == -1)
                                        {
                                            alert("Please select occurance");
                                            return false;
                                        }
                            }
                      }
            }
        if (myOption == -1)
            {
                alert("You must select a radio button");
                return false;
            }
        if(Fback.desbug.value=="")
            {
                alert("Please Describe the bug");
                return false;
            }
        if(Fback.cmnts.value=="")
            {
                alert("Please fill your comments");
                return false;
            }
        if(Fback.fdemail.value=="")
            {
                alert("Please provide Email address");
                return false;
            }
        alert ("We thank for your Feedback.")
        window.document.Fback.method="POST";
        window.document.Fback.action="feedback.php";
        window.document.Fback.submit();

    }
function opt()
    {
      window.document.option.method="POST";
      window.document.option.action="news.php";
      window.document.option.submit();
    }
function acts()
        {
            window.document.frmAct.method="GET";
            window.document.frmAct.action="listsnd.php";
            //window.document.lkfrm.action="news.php";
            window.document.frmAct.submit();
        }
function fntrial()
	{

	  window.document.trial.method='POST';
	  window.document.trial.acton='register.php';
	  window.document.trial.submit();
	}

