function leapCheck(y){y-=2008;if (y < 0){y*=-1;}if((y % 4) == 0){return true;}return false;}
that actually works how you want it to...