public void setPicAddress(String r, String s)
	{
		
		boolean ifTen=false;
		char rankLetter=r.charAt(0);
		try{
		if(r.charAt(1)=='0')
		{
			ifTen=true;
		}}
		catch(StringIndexOutOfBoundsException e)
		{
			ifTen=false;
		}
		char suitLetter=s.charAt(0);
		boolean faceCard=false;
		String ifFaceCard="";
		suitLetter+=32;
		String rankString=""+rankLetter;
		
		if(rankLetter=='A'||rankLetter=='J'||rankLetter=='Q'||rankLetter=='K')
		{
			ifFaceCard=r.toLowerCase();
			faceCard=true;
		}
		if(faceCard)
		{
			
				picAddress=ifFaceCard+suitLetter+".jpg";
		}
		else
		{
			if(ifTen)
			{
				picAddress="10"+suitLetter+".jpg";
			}
			else
			{
				picAddress=rankString+suitLetter+".jpg";
			}
			
		}
		
	}