<?php 

/*******************************************************************************************/
/*
/*		Designed by 'AS Designing'
/*		Web: http://www.asdesigning.com
/*		Web: http://www.astemplates.com
/*		License: GNU/GPL
/*
/*******************************************************************************************/


function fontChooser($fontfamily)
{
	
	$font_arr = array('fontlink'=>false, 'fontfamily'=>false);
	
	switch($fontfamily)
	{
		case 'ABeeZee':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=ABeeZee&subset=cyrillic,greek,latin' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'ABeeZee', Arial, serif !important;";
			break;	
		case 'Acme':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Acme&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Acme', Arial, serif !important;";
			break;	
		case 'Advent Pro':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Advent+Pro&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Advent Pro', Arial, serif !important;";
			break;	
		case 'Arimo':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Arimo&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Arimo', Arial, serif !important;";		
			break;	
		case 'Arizonia':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Arizonia&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Arizonia', Arial, serif !important;";
			break;	
		case 'Average':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Average&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Average', Arial, serif !important;";
			break;	
		case 'BenchNine':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=BenchNine&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'BenchNine', Arial, serif !important;";
			break;	
		case 'Carme':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Carme&subset=cyrillic,greek,latin' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Carme', Arial, sans-serif; !important;";
			break;	
		case 'Comfortaa':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Comfortaa&subset=cyrillic,greek,latin' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Comfortaa', Arial, sans-serif; !important;";
			break;	
		case 'Convergence':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Convergence&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Convergence', Arial, serif !important;";
			break;	
		case 'Cuprum':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Cuprum&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Cuprum', Arial, serif !important;";
			break;	
		case 'Exo':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Exo&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Exo', Arial, serif !important;";
			break;	
		case 'Felipa':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Felipa&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Felipa', Arial, serif !important;";
			break;	
		case 'Fredoka One':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Fredoka+One&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Fredoka One', Arial, serif !important;";
			break;	
		case 'Hammersmith One':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Hammersmith+One&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Hammersmith One', Arial, serif !important;";
			break;	
		case 'Homenaje':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Homenaje&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Homenaje', Arial, serif !important;";
			break;	
		case 'Jockey One':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Jockey+One&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Jockey One', Arial, serif !important;";
			break;	
		case 'Jura':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Jura&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Jura', Arial, serif !important;";
			break;	
		case 'Macondo':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Macondo&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Macondo', Arial, serif !important;";
			break;	
		case 'Marmelad':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Marmelad&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Marmelad', Arial, serif !important;";
			break;
		case 'Michroma':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Michroma&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Michroma', sans-serif !important; ";
			break;				
		case 'Mr Bedfort':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Mr+Bedfort&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Mr Bedfort', Arial, serif !important;";
			break;	
		case 'Montserrat':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Montserrat&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Montserrat', Arial, serif !important;";
			break;	
		case 'Monsieur La Doulaise':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Monsieur+La+Doulaise&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Monsieur La Doulaise', Arial, serif !important;";
			break;	
		case 'Muli':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Muli&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Muli', Arial, serif !important;";
			break;	
		case 'Numans':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Numans&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Numans', Arial, serif !important;";
			break;	
		case 'Open Sans':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Open+Sans&subset=latin,greek,cyrillic' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Open Sans', Arial, serif !important;";
			break;	
		case 'Oxygen':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Oxygen&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Oxygen', Arial, serif !important;";
			break;	
		case 'Parisienne':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Parisienne&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Parisienne', Arial, serif !important;";
			break;	
		case 'Pontano Sans':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Pontano+Sans&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Pontano Sans', Arial, serif !important;";
			break;	
		case 'PT Sans':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=PT+Sans&subset=latin,cyrillic' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'PT Sans', Arial, serif !important;";
			break;	
		case 'Prosto One':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Prosto+One&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Prosto One', Arial, serif !important;";
			break;	
		case 'Questrial':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Questrial&subset=cyrillic,greek,latin' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Questrial', Arial, serif !important;";
			break;	
		case 'Roboto Condensed':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,300italic,400italic,700,700italic&subset=latin,greek,cyrillic' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Roboto Condensed', Arial, serif !important;";
			break;	
		case 'Rouge Script':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Rouge+Script&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Rouge Script', Arial, serif !important;";
			break;	
		case 'Russo One':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Russo+One&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Russo One', Arial, serif !important;";
			break;	
		case 'Sacramento':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Sacramento&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Sacramento', Arial, serif !important;";
			break;
		case 'Sail':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Sail&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Sail', Arial, serif !important;";
			break;			
		case 'Salsa':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Salsa&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Salsa', Arial, serif !important;";
			break;	
		case 'Sevillana':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Sevillana&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Sevillana', Arial, serif !important;";
			break;				
		case 'Signika':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Signika&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Signika', Arial, serif !important;";
			break;	
		case 'Six Caps':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Six+Caps&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Six Caps', Arial, serif !important;";
			break;	
		case 'Tangerine':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Tangerine&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Tangerine', Arial, serif !important;";
			break;	
		case 'Tulpen One':
			$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Tulpen+One&subset=latin,cyrillic,greek' rel='stylesheet' type='text/css'>";
			$font_arr['fontfamily'] = "font-family: 'Tulpen One', Arial, serif !important;";
			break;	
		default:
			$font_arr['fontlink'] = false;
			$font_arr['fontfamily'] = "font-family: " . $fontfamily . ';';
	} 

	return $font_arr;
}



?>

