Ganja GoBlIn 0 Newbie Poster

I have a Samsung syncmaster 151mp monitor hooked up to a windows xp and now the the monitor doesn't work. The message Sync. out of range 35.4 kHz/ 43Hz pops up on the screen. I hooked this monitor to a windows 95 and it works fine and hook the monitor from the 95 to the windows xp and it works fine too. How do I fix the samsung monitor? thanks