private void loadNatives()
	{
		log("Loading Natives...");
		
		String os = System.getProperty("os.name").toLowerCase();
		String folder = "";
    	
    	if (os.indexOf("win") >= 0)
    	{
			log("OS: Windows");
			folder = "windows";
		} 
    	else if (os.indexOf("mac") >= 0) 
    	{
    		log("OS: Mac");
			folder = "macosx";
		} 
    	else if (os.indexOf("nix") >= 0 || os.indexOf("nux") >= 0 || os.indexOf("aix") > 0) 
    	{
    		log("OS: Unix or Linux");
			folder = "linux";
		} 
    	else if (os.indexOf("sunos") >= 0) 
		{
    		log("OS: Solaris");
			folder = "solaris";
		} 
    	else 
		{
			shutDown(1, "OS NOT SUPPORTED");
		}
    	
    	String jarDir = System.getProperty("user.dir");    	
    	String nativeLibDir = jarDir + File.separator + "natives" + File.separator + folder;
    	
    	System.setProperty("org.lwjgl.librarypath", nativeLibDir);
    	
    	log("Natives loaded successfully!");
	}