plumbers,carpenters, need some help

I discovered a bulge in the vinyl flooring next to the toilet so I removed the toilet and sure enough the subfloor was rotten.i cut back the vinyl til there was no more wet spot showing and grabbed my circular saw and made a cut a few inches outside the bad area and down just deeper than the subfloor. tried to pry up the sub to remove it and discovered it was 'GLUED" down! I have a 2ft. square section cutout. If that wasn't enough there is also a section of main floor underneath that is rotten. I' m running out of beers and ideas.Help?