public void render(Graphics g)
	{
		g.drawImage(img,Panel.x, Panel.y, Panel.width, Panel.height, null);
		g.setFont(new Font(Font.SANS_SERIF, 0, Main.size.height/12));
		g.drawString(Page + "", Panel.x + Panel.width/2, Main.size.height/8);
		
		if(Page < Pages)
		{
			if(BRight.contains(Main.mse))
			{
				renderRight(arrow2, g);
			}
			else
			{
				renderRight(arrow1, g);
			}
			
		}
		else if(Page == Pages)
		{
			renderRight(arrow3, g);
		}
		
		if(Page > 1)
		{
			if(BLeft.contains(Main.mse))
			{
				renderLeft(arrow2, g);
			}
			else
			{
				renderLeft(arrow1, g);
			}
		}
		else if(Page == 1)
		{
			renderLeft(arrow3, g);
		}
		
		

	}