<?php
if (! function_exists("theme_gfonts_options")) {
	function theme_gfonts_options($value, $default){
		$font = array();
		$lists = get_font_list();
		if($default&&is_array($default)){
			$fonts = $default;
		}else{
			$fonts = array("file"=>"","include"=>array(),"exclude"=>implode(',',array_keys($lists))); 
		}
		/*$fonts = array("file"=>"","include"=>array(),"exclude"=>implode(',',array_keys($lists))); */
		/*$font_items = theme_cufon_get_fonts();*/
		$font_items = theme_get_option('gfont','used_gfont');
		echo '<tr><th scope="row"><h4>Loaded Font</h4></th><td>';
		echo '<select id="font_item">';
		if(!empty($font_items)){
			foreach($font_items as $font_name){
				 echo '<option id="'.$font_name.' "value="'.$font_name.'">'.$font_name.'</option>';
			}
		}
		echo '</select></td></tr>';
		if(empty($font_items)){
			echo '<tr><td colspan="2"><b>There is no google font style to load.</b></td></tr>';
		}else{
			if(!empty($fonts['include'])){
				foreach($fonts['include'] as $font_name => $has_area){
					if(!in_array($font_name,$font_items)){
						$fonts['exclude'] = implode(',',array($fonts['exclude'],$fonts['include'][$font_name]));
						unset($fonts['include'][$font_name]);
					}
				}
			}
			echo '<tr><th scope="row">Control</th><td><span id="includeArea" class="font_span"><h3>Use this font</h3>';
			foreach ($font_items as $font_name){
				echo '<select id="'.$font_name.'" style="display:none" multiple="multiple" class="font_multi include" size=10>';
				if(array_key_exists($font_name,$fonts['include'])&&!empty($fonts['include'][$font_name])){
					$include = explode(',',$fonts['include'][$font_name]);
					foreach ($include as $item) {
						if(array_key_exists($item,$lists) && !empty($lists[$item]))
							echo '<option value="'.$item.'"/>'.$lists[$item].'</option>';
						$lists[$item] = '';
					}
				}else{
					$fonts['include'][$font_name] = '';
				}
				echo '</select>';
				/*echo '<input id="fontInclude_'.$font_name.'" name="fonts[include]['.$font_name.']" type="hidden" value=""/>';*/
				echo '<input id="fontInclude_'.$font_name.'" name="fonts[include]['.$font_name.']" type="hidden" value="'.$fonts['include'][$font_name].'"/>';
			}
			echo '</span><span id="font-control" class="font_span">';
			echo '<input type="button" value="<<" id="addButton"/>';
			echo '<input type="button" value=">>" id="removeButton"/></span>';
			echo '<input id="fontExclude" name="fonts[exclude]" type="hidden" value="'.$fonts['exclude'].'"/>';
			/*echo '<input id="fontFile" name="fonts[file]" type="hidden" value="'.$fonts['file'].'"/>';*/
			/*echo '<input id="fontExclude" name="fonts[exclude]" type="hidden" value="h1,h2,h3,h4,h5,h6"/>';
			echo '<input id="fontFile" name="fonts[file]" type="hidden" value=""/>';*/
			echo '<span id="excludeArea" class="font_span"><h3>Field</h3>';
			echo '<select id="exclude" multiple="multiple" class="font_multi" size=10>';
			if(!empty($fonts['exclude'])){
				$exclude = explode(",",$fonts['exclude']);
				foreach($exclude as $value){
					if(!empty($value)){
						if(array_key_exists($value,$lists) && !empty($lists[$value]))
							echo '<option value="'.$value.'">'.$lists[$value].'</option>';
						$lists[$value] = '';
					}
				}
			}
			foreach($lists as $key => $value){
				if(!empty($value))
					echo '<option value="'.$key.'">'.$value.'</option>';
			}
			echo '</select>';
			echo '</span>';
			echo '</td></tr>';
		}
	}
}
$options = array(
	array(
		"name" => __("Google Fonts",THEME_ADMIN_DOMAIN),
		"type" => "title"
	),
	array(
		"name" => __("Google Fonts General",THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"name" => __("Google Fonts Custom CSS",THEME_ADMIN_DOMAIN),
			"desc" => __('sample:<p><code>h1,h2,h3,h4,h5 { font-family:ColaborateLightRegular; }</code></p>',THEME_ADMIN_DOMAIN),
			"id" => "code",
			"default" => '',
			"rows" => '8',
			"type" => "textarea"
		),
	
		array(
			"id" => "used_gfont",
			"name" =>__('Select Google Fonts',THEME_ADMIN_DOMAIN),
			"default" => array(),
			"prompt" => __("Choose google font..",THEME_ADMIN_DOMAIN),
			"chosen" => "true",
			"type" => "multiselect",
			'desc' =>__('Go to <a href="http://www.google.com/webfonts" target="_blank">Google webfonts library</a> to choose the fonts.',"striking_admin"),
			"options"=>array(
				"Abel"=>"Abel",
				"Abril Fatface"=>"Abril Fatface",
				"Aclonica"=>"Aclonica",
				"Acme"=>"Acme",
				"Actor"=>"Actor",
				"Adamina"=>"Adamina",
				"Advent Pro"=>"Advent Pro",
				"Advent Pro:100,200,300,400,500,600,700"=>"Advent Pro (plus all weights)",
				"Aguafina Script"=>"Aguafina Script",
				"Aladin"=>"Aladin",
				"Aldrich"=>"Aldrich",
				"Alex Brush"=>"Alex Brush",
				"Alfa Slab One"=>"Alfa Slab One",
				"Alice"=>"Alice",
				"Alike Angular"=>"Alike Angular",
				"Alike"=>"Alike",
				"Allan"=>"Allan",
				"Allerta Stencil"=>"Allerta Stencil",
				"Allerta"=>"Allerta",
				"Allura"=>"Allura",
				"Almendra SC"=>"Almendra SC",
				"Almendra"=>"Almendra",
				"Almendra:400,bold"=>"Almendra:400,bold",
				"Amaranth"=>"Amaranth",
				"Amatic SC"=>"Amatic SC",
				"Amatic SC:400,700"=>"Amatic SC:400,700",
				"Amethysta"=>"Amethysta",
				"Andada"=>"Andada",
				"Andika"=>"Andika",
				"Annie Use Your Telescope"=>"Annie Use Your Telescope",
				"Anonymous Pro"=>"Anonymous Pro",
				"Anonymous Pro:regular,italic,bold,bolditalic"=>"Anonymous Pro (plus italic, bold, and bold italic)",
				"Antic Didone"=>"Antic Didone",
				"Antic Slab"=>"Antic Slab",
				"Antic"=>"Antic",
				"Anton"=>"Anton",
				"Arapey"=>"Arapey",
				"Arapey:400,400italic"=>"Arapey:400,400italic",
				"Arbutus"=>"Arbutus",
				"Architects Daughter"=>"Architects Daughter",
				"Arimo"=>"Arimo",
				"Arimo:regular,italic,bold,bolditalic"=>"Arimo (plus italic, bold, and bold italic)",
				"Arizonia"=>"Arizonia",
				"Armata"=>"Armata",
				"Artifika"=>"Artifika",
				"Arvo"=>"Arvo",
				"Arvo:regular,italic,bold,bolditalic"=>"Arvo (plus italic, bold, and bold italic)",
				"Asap"=>"Asap",
				"Asap:400,400italic,700,700italic"=>"Asap (plus all weights and italics)",
				"Asset"=>"Asset",
				"Astloch"=>"Astloch",
				"Astloch:regular,bold"=>"Astloch (plus bold)",
				"Asul"=>"Asul",
				"Asul:400,bold"=>"Asul:400,bold",
				"Atomic Age"=>"Atomic Age",
				"Aubrey"=>"Aubrey",
				"Average"=>"Average",
				"Averia Gruesa Libre"=>"Averia Gruesa Libre",
				"Averia Libre"=>"Averia Libre",
				"Averia Libre:300,300italic,400,400italic,700,700italic"=>"Averia Libre (plus all weights and italics)",
				"Averia Sans Libre"=>"Averia Sans Libre",
				"Averia Sans Libre:300,300italic,400,400italic,700,700italic"=>"Averia Sans Libre (plus all weights and italics)",
				"Averia Serif Libre"=>"Averia Serif Libre", 
				"Averia Serif Libre:300,300italic,400,400italic,700,700italic"=>"Averia Serif Libre (plus all weights and italics)",
				"Bad Script"=>"Bad Script",
				"Balthazar"=>"Balthazar",
				"Bangers"=>"Bangers",
				"Basic"=>"Basic",
				"Baumans"=>"Baumans",
				"Belgrano"=>"Belgrano",
				"Bentham"=>"Bentham",
				"Berkshire Swash"=>"Berkshire Swash",
				"Bevan"=>"Bevan",
				"Bigshot One"=>"Bigshot One",
				"Bilbo Swash Caps"=>"Bilbo Swash Caps",
				"Bilbo"=>"Bilbo",
				"Bitter"=>"Bitter",
				"Bitter:400,400italic,700"=>"Bitter:400,400italic,700",
				"Black Ops One"=>"Black Ops One",
				"Bonbon"=>"Bonbon",
				"Boogaloo"=>"Boogaloo",
				"Bowlby One SC"=>"Bowlby One SC",
				"Bowlby One"=>"Bowlby One",
				"Brawler"=>"Brawler",
				"Bree Serif"=>"Bree Serif",
				"Bubblegum Sans"=>"Bubblegum Sans",
				"Buda:light"=>"Buda",
				"Buenard"=>"Buenard",
				"Buenard:400,bold"=>"Buenard:400,bold",
				"Butcherman"=>"Butcherman",
				"Butterfly Kids"=>"Butterfly Kids",
				"Cabin Condensed"=>"Cabin Condensed",
				"Cabin Condensed:400,500,600,700"=>"Cabin Condensed:400,500,600,700",
				"Cabin Sketch"=>"Cabin Sketch",
				"Cabin Sketch:bold"=>"Cabin Sketch Bold",
				"Cabin Sketch:regular,bold"=>"Cabin Sketch:regular,bold",
				"Cabin"=>"Cabin",
				"Cabin:regular,500,600,bold"=>"Cabin (plus 500, 600, and bold)",
				"Caesar Dressing"=>"Caesar Dressing",
				"Cagliostro"=>"Cagliostro",
				"Calligraffitti"=>"Calligraffitti",
				"Cambo"=>"Cambo",
				"Candal"=>"Candal",
				"Cantarell"=>"Cantarell",
				"Cantarell:regular,italic,bold,bolditalic"=>"Cantarell (plus italic, bold, and bold italic)",
				"Cantata One"=>"Cantata One",
				"Cardo"=>"Cardo",
				"Carme"=>"Carme",
				"Carter One"=>"Carter One",
				"Caudex"=>"Caudex",
				"Caudex:regular,italic,bold,bolditalic"=>"Caudex (plus italic, bold, and bold italic)",
				"Cedarville Cursive"=>"Cedarville Cursive",
				"Ceviche One"=>"Ceviche One",
				"Changa One"=>"Changa One",
				"Chango"=>"Chango",
				"Chelsea Market"=>"Chelsea Market",
				"Cherry Cream Soda"=>"Cherry Cream Soda",
				"Chewy"=>"Chewy",
				"Chicle"=>"Chicle",
				"Chivo"=>"Chivo",
				"Chivo:400,900"=>"Chivo (plus bold)",
				"Coda"=>"Coda",
				"Coda:400,800"=>"Coda:400,800",
				"Codystar"=>"Codystar",
				"Codystar:300,400"=>"Codystar (plus all weights)",
				"Comfortaa"=>"Comfortaa",
				"Comfortaa:300,400,700"=>"Comfortaa (plus book and bold)",
				"Coming Soon"=>"Coming Soon",
				"Concert One"=>"Concert One",
				"Condiment"=>"Condiment",
				"Contrail One"=>"Contrail One",
				"Convergence"=>"Convergence",
				"Cookie"=>"Cookie",
				"Copse"=>"Copse",
				"Corben"=>"Corben",
				"Corben:400,bold"=>"Corben:400,bold",
				"Corben:bold"=>"Corben Bold",
				"Cousine"=>"Cousine",
				"Cousine:regular,italic,bold,bolditalic"=>"Cousine (plus italic, bold, and bold italic)",
				"Coustard"=>"Coustard",
				"Coustard:400,900"=>"Coustard (plus ultra bold)",
				"Covered By Your Grace"=>"Covered By Your Grace",
				"Crafty Girls"=>"Crafty Girls",
				"Creepster"=>"Creepster",
				"Crete Round"=>"Crete Round",
				"Crete Round:400,400italic"=>"Crete Round:400,400italic",
				"Crimson Text"=>"Crimson Text",
				"Crushed"=>"Crushed",
				"Cuprum"=>"Cuprum",
				"Cutive"=>"Cutive",
				"Damion"=>"Damion",
				"Dancing Script"=>"Dancing Script",
				"Dawning of a New Day"=>"Dawning of a New Day",
				"Days One"=>"Days One",
				"Delius Swash Caps"=>"Delius Swash Caps",
				"Delius Unicase"=>"Delius Unicase",
				"Delius"=>"Delius",
				"Devonshire"=>"Devonshire",
				"Didact Gothic"=>"Didact Gothic",
				"Diplomata SC"=>"Diplomata SC",
				"Diplomata"=>"Diplomata",
				"Doppio One"=>"Doppio One",
				"Dorsa"=>"Dorsa",
				"Dr Sugiyama"=>"Dr Sugiyama",
				"Droid Sans Mono"=>"Droid Sans Mono",
				"Droid Sans"=>"Droid Sans",
				"Droid Sans:regular,bold"=>"Droid Sans (plus bold)",
				"Droid Serif"=>"Droid Serif",
				"Droid Serif:regular,italic,bold,bolditalic"=>"Droid Serif (plus italic, bold, and bold italic)",
				"Duru Sans"=>"Duru Sans",
				"Dynalight"=>"Dynalight",
				"EB Garamond"=>"EB Garamond",
				"Eater"=>"Eater",
				"Economica"=>"Economica",
				"Economica:400,400italic,700,700italic"=>"Economica (plus all weights and italics)",
				"Electrolize"=>"Electrolize",
				"Emblema One"=>"Emblema One",
				"Emilys Candy"=>"Emilys Candy",
				"Engagement"=>"Engagement",
				"Enriqueta"=>"Enriqueta",
				"Enriqueta:400,700"=>"Enriqueta:400,700",
				"Erica One"=>"Erica One",
				"Esteban"=>"Esteban",
				"Euphoria Script"=>"Euphoria Script",
				"Ewert"=>"Ewert",
				"Exo"=>"Exo",
				"Exo:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic"=>"Exo (plus all weights and italics)",
				"Expletus Sans"=>"Expletus Sans",
				"Expletus Sans:regular,500,600,bold"=>"Expletus Sans (plus 500, 600, and bold)",
				"Fanwood Text"=>"Fanwood Text",
				"Fanwood Text:400,400italic"=>"Fanwood Text (plus italic)",
				"Fascinate Inline"=>"Fascinate Inline",
				"Fascinate"=>"Fascinate",
				"Federant"=>"Federant",
				"Federo"=>"Federo",
				"Felipa"=>"Felipa",
				"Fjord One"=>"Fjord One",
				"Flamenco"=>"Flamenco",
				"Flamenco:300"=>"Flamenco:300",
				"Flavors"=>"Flavors",
				"Fondamento"=>"Fondamento",
				"Fondamento:400,400italic"=>"Fondamento:400,400italic",
				"Fontdiner Swanky"=>"Fontdiner Swanky",
				"Forum"=>"Forum",
				"Francois One"=>"Francois One",
				"Fredoka One"=>"Fredoka One",
				"Fresca"=>"Fresca",
				"Frijole"=>"Frijole",
				"Fugaz One"=>"Fugaz One",
				"Galdeano"=>"Galdeano",
				"Gentium Basic"=>"Gentium Basic",
				"Gentium Basic:400,700,400italic,700italic"=>"Gentium Basic (plus bold and italic)",
				"Gentium Book Basic"=>"Gentium Book Basic",
				"Gentium Book Basic:400,400italic,700,700italic"=>"Gentium Book Basic (plus bold and italic)",
				"Geo"=>"Geo",
				"Geostar Fill"=>"Geostar Fill",
				"Geostar"=>"Geostar",
				"Germania One"=>"Germania One",
				"Give You Glory"=>"Give You Glory",
				"Glass Antiqua"=>"Glass Antiqua",
				"Glegoo"=>"Glegoo",
				"Gloria Hallelujah"=>"Gloria Hallelujah",
				"Goblin One"=>"Goblin One",
				"Gochi Hand"=>"Gochi Hand",
				"Gochi Hand:400"=>"Gochi Hand:400",
				"Gorditas"=>"Gorditas",
				"Gorditas:400,bold"=>"Gorditas (plus bold)",
				"Goudy Bookletter 1911"=>"Goudy Bookletter 1911",
				"Graduate"=>"Graduate",
				"Gravitas One"=>"Gravitas One",
				"Gruppo"=>"Gruppo",
				"Gudea"=>"Gudea",
				"Gudea:400,italic,bold"=>"Gudea:400,italic,bold",
				"Habibi"=>"Habibi",
				"Hammersmith One"=>"Hammersmith One",
				"Handlee"=>"Handlee",
				"Happy Monkey"=>"Happy Monkey",
				"Henny Penny"=>"Henny Penny",
				"Herr Von Muellerhoff"=>"Herr Von Muellerhoff",
				"Holtwood One SC"=>"Holtwood One SC",
				"Homemade Apple"=>"Homemade Apple",
				"Homenaje"=>"Homenaje",
				"IM Fell DW Pica SC"=>"IM Fell DW Pica SC",
				"IM Fell DW Pica"=>"IM Fell DW Pica",
				"IM Fell DW Pica:regular,italic"=>"IM Fell DW Pica (plus italic)",
				"IM Fell Double Pica SC"=>"IM Fell Double Pica SC",
				"IM Fell Double Pica"=>"IM Fell Double Pica",
				"IM Fell Double Pica:regular,italic"=>"IM Fell Double Pica (plus italic)",
				"IM Fell English SC"=>"IM Fell English SC",
				"IM Fell English"=>"IM Fell English",
				"IM Fell English:regular,italic"=>"IM Fell English (plus italic)",
				"IM Fell French Canon SC"=>"IM Fell French Canon SC",
				"IM Fell French Canon"=>"IM Fell French Canon",
				"IM Fell French Canon:regular,italic"=>"IM Fell French Canon (plus italic)",
				"IM Fell Great Primer SC"=>"IM Fell Great Primer SC",
				"IM Fell Great Primer"=>"IM Fell Great Primer",
				"IM Fell Great Primer:regular,italic"=>"IM Fell Great Primer (plus italic)",
				"Iceberg"=>"Iceberg",
				"Iceland"=>"Iceland",
				"Imprima"=>"Imprima",
				"Inconsolata"=>"Inconsolata",
				"Inder"=>"Inder",
				"Indie Flower"=>"Indie Flower",
				"Inika"=>"Inika",
				"Inika:400,bold"=>"Inika (plus bold)",
				"Irish Grover"=>"Irish Grover",
				"Irish Growler"=>"Irish Growler",
				"Istok Web"=>"Istok Web",
				"Istok Web:400,700,400italic,700italic"=>"Istok Web (plus italic, bold, and bold italic)",
				"Italiana"=>"Italiana",
				"Italianno"=>"Italianno",
				"Jim Nightshade"=>"Jim Nightshade",
				"Jockey One"=>"Jockey One",
				"Jolly Lodger"=>"Jolly Lodger",
				"Josefin Sans"=>"Josefin Sans Regular 400",
				"Josefin Sans:100"=>"Josefin Sans 100",
				"Josefin Sans:100,100italic"=>"Josefin Sans 100 (plus italic)",
				"Josefin Sans:600"=>"Josefin Sans 600",
				"Josefin Sans:600,600italic"=>"Josefin Sans 600 (plus italic)",
				"Josefin Sans:bold"=>"Josefin Sans Bold 700",
				"Josefin Sans:bold,bolditalic"=>"Josefin Sans Bold 700 (plus italic)",
				"Josefin Sans:light"=>"Josefin Sans Light 300",
				"Josefin Sans:light,lightitalic"=>"Josefin Sans Light 300 (plus italic)",
				"Josefin Sans:regular,regularitalic"=>"Josefin Sans Regular 400 (plus italic)",
				"Josefin Slab"=>"Josefin Slab Regular 400",
				"Josefin Slab:100"=>"Josefin Slab 100",
				"Josefin Slab:100,100italic"=>"Josefin Slab 100 (plus italic)",
				"Josefin Slab:600"=>"Josefin Slab 600",
				"Josefin Slab:600,600italic"=>"Josefin Slab 600 (plus italic)",
				"Josefin Slab:bold"=>"Josefin Slab Bold 700",
				"Josefin Slab:bold,bolditalic"=>"Josefin Slab Bold 700 (plus italic)",
				"Josefin Slab:light"=>"Josefin Slab Light 300",
				"Josefin Slab:light,lightitalic"=>"Josefin Slab Light 300 (plus italic)",
				"Josefin Slab:regular,regularitalic"=>"Josefin Slab Regular 400 (plus italic)",
				"Judson"=>"Judson",
				"Judson:regular,regularitalic,bold"=>"Judson (plus bold)",
				"Julee"=>"Julee",
				"Junge"=>"Junge",
				"Jura"=>" Jura Regular",
				"Jura:500"=>" Jura 500",
				"Jura:600"=>" Jura 600",
				"Jura:light"=>" Jura Light",
				"Just Another Hand"=>"Just Another Hand",
				"Just Me Again Down Here"=>"Just Me Again Down Here",
				"Kameron"=>"Kameron",
				"Kameron:400,700"=>"Kameron (plus bold)",
				"Karla"=>"Karla",
				"Karla:400,400italic,700,700italic"=>"Karla (plus all weights and italics)",
				"Kaushan Script"=>"Kaushan Script",
				"Kelly Slab"=>"Kelly Slab",
				"Kenia"=>"Kenia",
				"Knewave"=>"Knewave",
				"Kotta One"=>"Kotta One",
				"Kranky"=>"Kranky",
				"Kreon"=>"Kreon",
				"Kreon:light,regular,bold"=>"Kreon (plus light and bold)",
				"Kristi"=>"Kristi",
				"Krona One"=>"Krona One",
				"La Belle Aurore"=>"La Belle Aurore",
				"Lancelot"=>"Lancelot",
				"Lato:100"=>"Lato 100",
				"Lato:100,100italic"=>"Lato 100 (plus italic)",
				"Lato:900"=>"Lato 900",
				"Lato:900,900italic"=>"Lato 900 (plus italic)",
				"Lato:bold"=>"Lato Bold 700",
				"Lato:bold,bolditalic"=>"Lato Bold 700 (plus italic)",
				"Lato:light"=>"Lato Light 300",
				"Lato:light,lightitalic"=>"Lato Light 300 (plus italic)",
				"Lato:regular"=>"Lato Regular 400",
				"Lato:regular,regularitalic"=>"Lato Regular 400 (plus italic)",
				"League Script"=>"League Script",
				"Leckerli One"=>"Leckerli One",
				"Ledger"=>"Ledger",
				"Lekton"=>" Lekton",
				"Lekton:regular,italic,bold"=>"Lekton (plus italic and bold)",
				"Lemon"=>"Lemon",
				"Lilita One"=>"Lilita One",
				"Limelight"=>" Limelight",
				"Linden Hill"=>"Linden Hill",
				"Linden Hill:400,400italic"=>"Linden Hill:400,400italic",
				"Lobster Two"=>"Lobster Two",
				"Lobster Two:400,400italic,700,700italic"=>"Lobster Two (plus italic, bold, and bold italic)",
				"Lobster"=>"Lobster",
				"Londrina Outline"=>"Londrina Outline",
				"Londrina Shadow"=>"Londrina Shadow",
				"Londrina Sketch"=>"Londrina Sketch",
				"Londrina Solid"=>"Londrina Solid",
				"Lora"=>"Lora",
				"Lora:400,700,400italic,700italic"=>"Lora (plus bold and italic)",
				"Love Ya Like A Sister"=>"Love Ya Like A Sister",
				"Loved by the King"=>"Loved by the King",
				"Luckiest Guy"=>"Luckiest Guy",
				"Lusitana"=>"Lusitana",
				"Lusitana:400,bold"=>"Lusitana (plus bold)",
				"Lustria"=>"Lustria",
				"Macondo Swash Caps"=>"Macondo Swash Caps",
				"Macondo"=>"Macondo",
				"Magra"=>"Magra",
				"Magra:400,bold"=>"Magra (plus bold)",
				"Maiden Orange"=>"Maiden Orange",
				"Mako"=>"Mako",
				"Marck Script"=>"Marck Script",
				"Marko One"=>"Marko One",
				"Marmelad"=>"Marmelad",
				"Marvel"=>"Marvel",
				"Marvel:400,400italic,700,700italic"=>"Marvel (plus bold and italic)",
				"Mate SC"=>"Mate SC",
				"Mate"=>"Mate",
				"Mate:400,400italic"=>"Mate:400,400italic",
				"Maven Pro"=>" Maven Pro",
				"Maven Pro:500"=>" Maven Pro 500",
				"Maven Pro:900"=>" Maven Pro 900",
				"Maven Pro:bold"=>" Maven Pro 700",
				"Meddon"=>"Meddon",
				"MedievalSharp"=>"MedievalSharp",
				"Medula One"=>"Medula One",
				"Megrim"=>"Megrim",
				"Merienda One"=>"Merienda One",
				"Merriweather"=>"Merriweather",
				"Metamorphous"=>"Metamorphous",
				"Metrophobic"=>"Metrophobic",
				"Michroma"=>"Michroma",
				"Miltonian Tattoo"=>"Miltonian Tattoo",
				"Miltonian"=>"Miltonian",
				"Miniver"=>"Miniver",
				"Miss Fajardose"=>"Miss Fajardose",
				"Miss Saint Delafield"=>"Miss Saint Delafield",
				"Modern Antiqua"=>"Modern Antiqua",
				"Molengo"=>"Molengo",
				"Monofett"=>"Monofett",
				"Monoton"=>"Monoton",
				"Monsieur La Doulaise"=>"Monsieur La Doulaise",
				"Montaga"=>"Montaga",
				"Montez"=>"Montez",
				"Montserrat"=>"Montserrat",
				"Mountains of Christmas"=>"Mountains of Christmas",
				"Mr Bedford"=>"Mr Bedford",
				"Mr Dafoe"=>"Mr Dafoe",
				"Mr De Haviland"=>"Mr De Haviland",
				"Mrs Saint Delafield"=>"Mrs Saint Delafield",
				"Mrs Sheppards"=>"Mrs Sheppards",
				"Muli"=>"Muli Regular",
				"Muli:light"=>"Muli Light",
				"Muli:light,lightitalic"=>"Muli Light (plus italic)",
				"Muli:regular,regularitalic"=>"Muli Regular (plus italic)",
				"Mystery Quest"=>"Mystery Quest",
				"Neucha"=>"Neucha",
				"Neuton"=>"Neuton",
				"News Cycle"=>"News Cycle",
				"Niconne"=>"Niconne",
				"Nixie One"=>"Nixie One",
				"Nobile"=>"Nobile",
				"Nobile:regular,italic,bold,bolditalic"=>"Nobile (plus italic, bold, and bold italic)",
				"Nokora"=>"Nokora",
				"Nokora:400,700"=>"Nokora:400,700",
				"Norican"=>"Norican",
				"Nosifer"=>"Nosifer",
				"Noticia Text"=>"Noticia Text",
				"Noticia Text:400,400italic,700,700italic"=>"Noticia Text:400,400italic,700,700italic",
				"Nova Cut"=>"Nova Cut",
				"Nova Flat"=>"Nova Flat",
				"Nova Mono"=>"Nova Mono",
				"Nova Oval"=>"Nova Oval",
				"Nova Round"=>"Nova Round",
				"Nova Script"=>"Nova Script",
				"Nova Slim"=>"Nova Slim",
				"Nova Square"=>"Nova Square",
				"Numans"=>"Numans",
				"Nunito"=>" Nunito Regular",
				"Nunito:light"=>" Nunito Light",
				"OFL Sorts Mill Goudy TT"=>"OFL Sorts Mill Goudy TT",
				"OFL Sorts Mill Goudy TT:regular,italic"=>"OFL Sorts Mill Goudy TT (plus italic)",
				"Old Standard TT"=>"Old Standard TT",
				"Old Standard TT:regular,italic,bold"=>"Old Standard TT (plus italic and bold)",
				"Oldenburg"=>"Oldenburg",
				"Open Sans Condensed"=>"Open Sans Condensed",
				"Open Sans Condensed:300,300italic,700"=>"Open Sans Condensed (plus all weights and italics)",
				"Open Sans Condensed:light,lightitalic"=>"Open Sans Condensed Light (plus italic)",
				"Open Sans:600,600italic"=>"Open Sans 600",
				"Open Sans:800,800italic"=>"Open Sans 800",
				"Open Sans:bold,bolditalic"=>"Open Sans bold",
				"Open Sans:light,lightitalic"=>"Open Sans light",
				"Open Sans:light,lightitalic,regular,regularitalic,600,600italic,bold,bolditalic,800,800italic"=>"Open Sans (all weights)",
				"Open Sans:regular,regularitalic"=>"Open Sans regular",
				"Orbitron"=>"Orbitron Regular (400)",
				"Orbitron:500"=>"Orbitron 500",
				"Orbitron:900"=>"Orbitron 900",
				"Orbitron:bold"=>"Orbitron Regular (700)",
				"Original Surfer"=>"Original Surfer",
				"Oswald"=>"Oswald",
				"Over the Rainbow"=>"Over the Rainbow",
				"Overlock SC"=>"Overlock SC",
				"Overlock"=>"Overlock",
				"Overlock:400,400italic,700,700italic,900,900italic"=>"Overlock:400,400italic,700,700italic,900,900italic",
				"Ovo"=>"Ovo",
				"PT Mono"=>"PT Mono",
				"PT Sans Caption"=>"PT Sans Caption",
				"PT Sans Caption:regular,bold"=>"PT Sans Caption (plus bold)",
				"PT Sans Narrow"=>"PT Sans Narrow",
				"PT Sans Narrow:regular,bold"=>"PT Sans Narrow (plus bold)",
				"PT Sans"=>"PT Sans",
				"PT Sans:regular,italic,bold,bolditalic"=>"PT Sans (plus itlic, bold, and bold italic)",
				"PT Serif Caption"=>"PT Serif Caption",
				"PT Serif Caption:regular,italic"=>"PT Serif Caption (plus italic)",
				"PT Serif"=>"PT Serif",
				"PT Serif:regular,italic,bold,bolditalic"=>"PT Serif (plus italic, bold, and bold italic)",
				"Pacifico"=>"Pacifico",
				"Parisienne"=>"Parisienne",
				"Passero One"=>"Passero One",
				"Passion One"=>"Passion One",
				"Passion One:400,700,900"=>"Passion One:400,700,900",
				"Patrick Hand"=>"Patrick Hand",
				"Patua One"=>"Patua One",
				"Paytone One"=>"Paytone One",
				"Permanent Marker"=>"Permanent Marker",
				"Petrona"=>"Petrona",
				"Philosopher"=>"Philosopher",
				"Piedra"=>"Piedra",
				"Pinyon Script"=>"Pinyon Script",
				"Plaster"=>"Plaster",
				"Play"=>"Play",
				"Play:regular,bold"=>"Play (plus bold)",
				"Playball"=>"Playball",
				"Playfair Display"=>" Playfair Display",
				"Podkova"=>" Podkova",
				"Poiret One"=>"Poiret One",
				"Poller One"=>"Poller One",
				"Poly"=>"Poly",
				"Poly:400,400italic"=>"Poly:400,400italic",
				"Pompiere"=>"Pompiere",
				"Pontano Sans"=>"Pontano Sans",
				"Port Lligat Sans"=>"Port Lligat Sans",
				"Port Lligat Slab"=>"Port Lligat Slab",
				"Prata"=>"Prata",
				"Princess Sofia"=>"Princess Sofia",
				"Prociono"=>"Prociono",
				"Prosto One"=>"Prosto One",
				"Puritan"=>"Puritan",
				"Puritan:regular,italic,bold,bolditalic"=>"Puritan (plus italic, bold, and bold italic)",
				"Quantico"=>"Quantico",
				"Quantico:400,400italic,700,700italic"=>"Quantico:400,400italic,700,700italic",
				"Quattrocento Sans"=>"Quattrocento Sans",
				"Quattrocento"=>"Quattrocento",
				"Questrial"=>"Questrial",
				"Quicksand"=>"Quicksand",
				"Quicksand:300,400,700"=>"Quicksand:300,400,700",
				"Qwigley"=>"Qwigley",
				"Radley"=>"Radley",
				"Raleway:100"=>"Raleway",
				"Rammetto One"=>"Rammetto One",
				"Rancho"=>"Rancho",
				"Rationale"=>"Rationale",
				"Redressed"=>"Redressed",
				"Reenie Beanie"=>"Reenie Beanie",
				"Revalia"=>"Revalia",
				"Ribeye Marrow"=>"Ribeye Marrow",
				"Ribeye"=>"Ribeye",
				"Righteous"=>"Righteous",
				"Rochester"=>"Rochester",
				"Rock Salt"=>"Rock Salt",
				"Rokkitt"=>"Rokkitt",
				"Ropa Sans"=>"Ropa Sans",
				"Ropa Sans:400,400italic"=>"Ropa Sans (plus italics)",
				"Rosario"=>"Rosario",
				"Rouge Script"=>"Rouge Script",
				"Ruda"=>"Ruda",
				"Ruda:400,bold,900"=>"Ruda (plus all bold and 900)",
				"Ruge Boogie"=>"Ruge Boogie",
				"Ruluko"=>"Ruluko",
				"Ruslan Display"=>"Ruslan Display",
				"Ruthie"=>"Ruthie",
				"Sail"=>"Sail",
				"Salsa"=>"Salsa",
				"Sancreek"=>"Sancreek",
				"Sansita One"=>"Sansita One",
				"Sarina"=>"Sarina",
				"Satisfy"=>"Satisfy",
				"Schoolbell"=>"Schoolbell",
				"Seaweed Script"=>"Seaweed Script",
				"Sevillana"=>"Sevillana",
				"Shadows Into Light Two"=>"Shadows Into Light Two",
				"Shadows Into Light"=>"Shadows Into Light",
				"Shanti"=>"Shanti",
				"Share"=>"Share",
				"Share:400,400italic,700,700italic"=>"Share (plus all weights and italics)",
				"Shojumaru"=>"Shojumaru",
				"Short Stack"=>"Short Stack",
				"Sigmar One"=>"Sigmar One",
				"Signika Negative"=>"Signika Negative",
				"Signika Negative:300,400,600,700"=>"Signika Negative:300,400,600,700",
				"Signika"=>"Signika",
				"Signika:300,400,600,700"=>"Signika:300,400,600,700",
				"Simonetta"=>"Simonetta",
				"Simonetta:400,400italic"=>"Simonetta (plus italic)",
				"Sirin Stencil"=>"Sirin Stencil",
				"Six Caps"=>"Six Caps",
				"Slackey"=>"Slackey",
				"Smokum"=>"Smokum",
				"Smythe"=>"Smythe",
				"Sniglet:800"=>"Sniglet",
				"Snippet"=>"Snippet",
				"Sofia"=>"Sofia",
				"Sonsie One"=>"Sonsie One",
				"Sorts Mill Goudy"=>"Sorts Mill Goudy",
				"Sorts Mill Goudy:400,400italic"=>"Sorts Mill Goudy (plus italic)",
				"Special Elite"=>"Special Elite",
				"Spicy Rice"=>"Spicy Rice",
				"Spinnaker"=>"Spinnaker",
				"Spirax"=>"Spirax",
				"Squada One"=>"Squada One",
				"Stardos Stencil"=>"Stardos Stencil",
				"Stardos Stencil:400,700"=>"Stardos Stencil (plus bold)",
				"Stint Ultra Condensed"=>"Stint Ultra Condensed",
				"Stint Ultra Expanded"=>"Stint Ultra Expanded",
				"Stoke"=>"Stoke",
				"Sue Ellen Francisco"=>"Sue Ellen Francisco",
				"Sunshiney"=>"Sunshiney",
				"Supermercado One"=>"Supermercado One",
				"Swanky and Moo Moo"=>"Swanky and Moo Moo",
				"Syncopate"=>"Syncopate",
				"Tangerine"=>"Tangerine",
				"Telex"=>"Telex",
				"Tenor Sans"=>" Tenor Sans",
				"Terminal Dosis Light"=>"Terminal Dosis Light",
				"Terminal Dosis"=>"Terminal Dosis Regular",
				"Terminal Dosis:200"=>"Terminal Dosis 200",
				"Terminal Dosis:300"=>"Terminal Dosis 300",
				"Terminal Dosis:500"=>"Terminal Dosis 500",
				"Terminal Dosis:600"=>"Terminal Dosis 600",
				"Terminal Dosis:700"=>"Terminal Dosis 700",
				"Terminal Dosis:800"=>"Terminal Dosis 800",
				"The Girl Next Door"=>"The Girl Next Door",
				"Tinos"=>"Tinos",
				"Tinos:regular,italic,bold,bolditalic"=>"Tinos (plus italic, bold, and bold italic)",
				"Titan One"=>"Titan One",
				"Trade Winds"=>"Trade Winds",
				"Trochut"=>"Trochut",
				"Trochut:400,italic,bold"=>"Trochut (plus bold and italic)",
				"Trykker"=>"Trykker",
				"Tulpen One"=>"Tulpen One",
				"Ubuntu Condensed"=>"Ubuntu Condensed",
				"Ubuntu Mono"=>"Ubuntu Mono",
				"Ubuntu Mono:regular,italic,bold,bolditalic"=>"Ubuntu Mono:regular,italic,bold,bolditalic",
				"Ubuntu"=>"Ubuntu",
				"Ubuntu:regular,italic,bold,bolditalic"=>"Ubuntu (plus italic, bold, and bold italic)",
				"Ultra"=>"Ultra",
				"Uncial Antiqua"=>"Uncial Antiqua",
				"UnifrakturCook:bold"=>"UnifrakturCook",
				"UnifrakturMaguntia"=>"UnifrakturMaguntia",
				"Unkempt"=>"Unkempt",
				"Unlock"=>"Unlock",
				"Unna"=>"Unna",
				"VT323"=>"VT323",
				"Varela Round"=>"Varela Round",
				"Varela"=>"Varela",
				"Vast Shadow"=>"Vast Shadow",
				"Vibur"=>"Vibur",
				"Vidaloka"=>"Vidaloka",
				"Viga"=>"Viga",
				"Voces"=>"Voces",
				"Volkhov"=>"Volkhov",
				"Volkhov:400,400italic,700,700italic"=>"Volkhov (plus bold and italic)",
				"Vollkorn"=>"Vollkorn",
				"Vollkorn:regular,italic,bold,bolditalic"=>"Vollkorn (plus italic, bold, and bold italic)",
				"Voltaire"=>"Voltaire",
				"Waiting for the Sunrise"=>"Waiting for the Sunrise",
				"Wallpoet"=>"Wallpoet",
				"Walter Turncoat"=>"Walter Turncoat",
				"Wellfleet"=>"Wellfleet",
				"Wire One"=>"Wire One",
				"Yanone Kaffeesatz"=>"Yanone Kaffeesatz",
				"Yanone Kaffeesatz:300"=>"Yanone Kaffeesatz:300",
				"Yanone Kaffeesatz:400"=>"Yanone Kaffeesatz:400",
				"Yanone Kaffeesatz:700"=>"Yanone Kaffeesatz:700",
				"Yellowtail"=>"Yellowtail",
				"Yeseva One"=>"Yeseva One",
				"Yesteryear"=>"Yesteryear",
				"Zeyada"=>"Zeyada",


			),
		),
	array(
		"type" => "end"
	),
	array(
		"name" =>__('Set Google Fonts',THEME_ADMIN_DOMAIN),
		"type" => "start"
	),
		array(
			"id" => "fonts",
			"layout" => false,
			"function" => "theme_gfonts_options",
			"default"=>false,
			/*"default" =>array("file"=>"","include"=>array(),"exclude"=>implode(',',array_keys(get_cufon_list()))), */
			"type" => "custom"
		),
	array(
		"type" => "end"
	),
);
return array(
	'auto' => true,
	'name' => 'gfont',
	'options' => $options
);
