Pageflip open source resizing troubles

Trying to resize the pageflip code from --> http://www.iparigrafika.hu/pageflip

My book is going to be 300x250 but i’m having alot trouble getting it working, anyone familiar with this code able to give me some help. So far i’ve tried resizing the pages and some of the code numbers, but it is giving me some very odd glitches.