static public FirefoxProfile createFireFoxProfile() {
	    ProfilesIni allProfile = new ProfilesIni();
	    FirefoxProfile profile = allProfile.getProfile("tvedb"); 
        profile.setPreference("browser.startup.homepage_override.mstone", "ignore");
        profile.setPreference("startup.homepage_welcome_url.additional",  "about:blank");
        profile.setPreference("print.print_footerleft", "");
        profile.setPreference("print.print_footerright", "");
        profile.setPreference("print.print_headerleft", "");
        profile.setPreference("print.print_headerright", "");
        profile.setPreference("print_printer", "Bullzip PDF Printer");
        profile.setPreference("printer_Bullzip_PDF_Printer.print_footerleft", "");
        profile.setPreference("printer_Bullzip_PDF_Printer.print_footerright", "");
        profile.setPreference("printer_Bullzip_PDF_Printer.print_headerleft", "");
        profile.setPreference("printer_Bullzip_PDF_Printer.print_headerright", "");
        profile.setPreference("print.always_print_silent", true);
        
        profile.setPreference("browser.download.manager.showWhenStarting", false);
        profile.setPreference("browser.download.folderList", 2); // to make the following setting take effect
        profile.setPreference("browser.helperApps.neverAsk.saveToDisk", "application/vnd.ms-excel,application/vnd.ms-execl");
        
        profile.setPreference("security.ssl3.dhe_rsa_aes_128_sha", false);
        profile.setPreference("security.ssl3.dhe_rsa_aes_256_sha", false);
//      profile.setPreference("webdriver_accept_untrusted_certs", true);
        profile.setAcceptUntrustedCertificates(true);
        profile.setAssumeUntrustedCertificateIssuer(false);
        return profile;
	}