You can put this solution on YOUR website! I don't believe for a second that you tried everything. I believe you tried nothing.
Also you violated the rules by posting two problems at once. Tell me what you actually tried and i will consider helping you. Also what didn't work about your attempts? And how do you know that it didn't work?