tcode = location.search.split('=') gender = new Array('f','m') ceremony = new Array('b','c') gender['f']=new Array('her','sister'); gender['m']=new Array('his','brother'); ceremony['b']=new Array('body to the ground') ceremony['c']=new Array('ashes to this last resting place') whichgen = gender['f'] whichcer = ceremony['b'] switch(tcode[1]) { case '11': whichgen = gender['f'] whichcer = ceremony['b'] break; case '10': whichgen = gender['f'] whichcer = ceremony['c'] break; case '01': whichgen = gender['m'] whichcer = ceremony['b'] break; case '00': whichgen = gender['m'] whichcer = ceremony['c'] break; } article = " Convocation: I am the Resurrection and the Life, saith the Lord; he that believeth in Me, through he were dead, yet shall he live: and whosoever liveth and believeth in Me shall never die. Words of Committal: Forasmuch as it hath pleased Almighty God to take unto Himself the soul of our "+whichgen[1]+" here departed, we therefore commit "+whichgen[0]+" "+whichcer[0]+", earth to earth, ashes to ashes, dust to dust, in sure and certain hope of the resurrection to eternal life, through our Lord Jesus Christ. Closing Prayer: Almighty God, who hast revealed Thine only begotten Son as the resurrection and the life, raise us up, through Him, we beseech Thee, from the death of sin to the life of righteousness; that, when we shall depart this life, we may rest in Him, as our hope is this our "+whichgen[1]+" doth, and that we may at last receive the blessing, \"Well done, good and faithful servant; enter thou into the joy of thy Lord.\" Grant this, we beseech Thee, O merciful Father; through Jesus Christ, our Mediator and Redeemer. Amen." document.write(article)