<?php
	
	if (! $nav_bg)
		$nav_bg = "#000";
	if (! $nav_gradient_top)
		$nav_gradient_top = "#000";
	if (! $nav_gradient_bottom)
		$nav_gradient_bottom = "#000";
	if (! $nav_active_gradient_top)
		$nav_active_gradient_top = "#333";
	if (! $nav_active_gradient_bottom)
		$nav_active_gradient_bottom = "#111";
	if (! $nav_bd)
		$nav_bd = "#111";
	if (! $nav_icon_colour)
		$nav_icon_colour = "#999";
	if (! $nav_active_icon_colour)
		$nav_active_icon_colour = "#fff";
	if (! $navmenu_bgchover)
		$navmenu_bgchover = "#222";
	if (! $navmenu_bgimage)
		$navmenu_bgimage = "background-image: none;";
	if (! $navtabs_borderc)
		$navtabs_borderc = "#333";
	if (! $navtabs_fontcolour)
		$navtabs_fontcolour = "#fff";
	if (! $navtabs_bgcolour)
		$navtabs_bgcolour = "#111";
	if (! $navtabs_linkcolour)
		$navtabs_linkcolour = "color: #ccc;";
	if (! $navtabs_linkchover)
		$navtabs_linkchover = "color: #fff;";
	if (! $navtabs_bgchover)
		$navtabs_bgchover = "#222";
	if (! $navtabs_decohover)
		$navtabs_decohover = "underline";
	if (! $navaside_bghover)
		$navaside_bghover = "#222";
	if (! $link_colour)
		$link_colour = "#fff";
	if (! $link_font_weight)
		$link_font_weight = "bold";
	if (! $selected_active_colour)
		$selected_active_colour = "#fff";
	if (! $selected_active_deco)
		$selected_active_deco = "underline";
	if (! $banner_colour)
		$banner_colour = "#999";
	if (! $search_background)
		$search_background = "#999";
	if (! $bgcolour)
		$bgcolour = "#111";
	if (! $item_colour)
		$item_colour = "rgba(28,28,28,0.8)";
	if (! $comment_item_colour)
		$comment_item_colour = "rgba(18,18,18,0.4)";
	if (! $comment_border_colour)
		$comment_border_colour = "rgba(28,28,28,0.8)";
	if (! $toolicon_colour)
		$toolicon_colour = '#999';
	if (! $toolicon_activecolour)
		$toolicon_activecolour = '#fff';
	if (! $font_colour)
		$font_colour = "#ccc";
	if (! $widget_brdrcolour)
		$widget_brdrcolour = "#333";
	if (! $blockquote_colour)
		$blockquote_colour = "#ccc";
	if (! $blockquote_bgcolour)
		$blockquote_bgcolour = "#1e1e1e";
	if (! $blockquote_bordercolour)
		$blockquote_bordercolour = "#666";
	if (! $code_borderc)
		$code_borderc = "#090909";
	if (! $code_bgcolour)
		$code_bgcolour = "#000";
	if (! $code_txtcolour)
		$code_txtcolour = "#fff";
	if (! $pre_borderc)
		$pre_borderc = "#090909";
	if (! $pre_bgcolour)
		$pre_bgcolour = "#000";
	if (! $pre_txtcolour)
		$pre_txtcolour = "#fff";
	if (! $item_bordercolour)
		$item_bordercolour = "#333";
	if (! $notif_itemcolour)
		$notif_itemcolour = "#ccc";
	if (! $notif_itemhovercolour)
		$notif_itemhovercolour = "#fff";
	if (! $acpopup_bgcolour)
		$acpopup_bgcolour = "#222";
	if (! $acpopup_bordercolour)
		$acpopup_bordercolour = "#333";
	if (! $acpopup_tgbl_bgcolour)
		$acpopup_tgbl_bgcolour = "#333";
	if (! $acpopup_hovercolour)
		$acpopup_hovercolour = "#fff";
	if (! $editbuttons_bgcolour)
		$editbuttons_bgcolour = "#1e1e1e";
	if (! $editbuttons_bordercolour)
		$editbuttons_bordercolour = "#222";
	if (! $editbuttons_colour)
		$editbuttons_colour = "#ccc";
	if (! $editbuttons_bghover)
		$editbuttons_bghover = "#222";
	if (! $dropdown_bgcolour)
		$dropdown_bgcolour = "#222";
	if (! $dropdown_textcolour)
		$dropdown_textcolour = "#ccc";
	if (! $dropdown_txtcolhover)
		$dropdown_txtcolhover = "#ddd";
	if (! $dropdown_bgcolhover)
		$dropdown_bgcolhover = "#333";
	if (! $dropdown_bgimghover)
		$dropdown_bgimghover = "background-image: none;";
	if (! $dropdown_togglecol)
		$dropdown_togglecol = "#ccc";
	if (! $dropdown_togglebgcol)
		$dropdown_togglebgcol = "#222";
	if (! $dropdown_bordercol)
		$dropdown_bordercol = "#222";
	if (! $preview_backgroundimg)
		$preview_backgroundimg = "gray_and_black_diagonal_stripes_background_seamless.gif";
	if (! $notify_bgcolour)
		$notify_bgcolour = "#000";
	if (! $notify_linkcolour)
		$notify_linkcolour = "#FFF";	
	if (! $notify_bghover)
		$notify_bghover = "#222";
	if (! $notify_topmargin)
		$notify_topmargin = "-1px";
	if (! $notifyseen_bgcolour)
		$notifyseen_bgcolour = "#111";
	if (! $notifyseen_linkcolour)
		$notifyseen_linkcolour = "#222";
	if (! $notifyseen_bghover)
		$notifyseen_bghover = "#222";
	if (! $notifyseen_linkhover)
		$notifyseen_linkhover = "#CCC";
	if (! $input_bgsubmit)
		$input_bgsubmit = "#333";
	if (! $input_linksubmit)
		$input_linksubmit = "#fff";
	if (! $input_border)
		$input_border = "#222";
	if (! $input_colourhover)
		$input_colourhover = "#fff";
	if (! $input_decohover)
		$input_decohover = "underline";
	if (! $acl_bgcolour)
		$acl_bgcolour = "#111";
	if (! $acl_bordercolour)
		$acl_bordercolour = "#333";
	if (! $aclbutton_linkcolour)
		$aclbutton_linkcolour = "color: #fff;";
	if (! $abookself_bgcolour)
		$abookself_bgcolour = "#251111";
	if(! $infomess_bgcolour)
		$infomess_bgcolour = "#333";
	if(! $alert_txtcolour)
      $alert_txtcolour = "#CCC";	
	if(! $alert_bgcolour)
      $alert_bgcolour = "#333";
   if(! $alert_bordercol)
      $alert_bordercol = "#444";
   if(! $alert_gradientcol)
      $alert_gradientcol = "#333";		
   if(! $advperm_bgcolour)
      $advperm_bgcolour = "#1E1E1E";
   if(! $advperm_bordercol)
      $advperm_bordercol = "#222";
   if(! $advperm_gradientcol)
      $advperm_gradientcol = "#1E1E1E";
   if(! $cal_bgcolour)
      $cal_bgcolour = "#333";
   if(! $fancybox_bgcolour)
      $fancybox_bgcolour = "#1E1E1E";
	if (!$admintable_hoverbgcol)
		$admintable_hoverbgcol="#222";
	if (!$dirpopup_txtcol)
		$dirpopup_txtcol="#111";
	if (!$dirpopup_linkcol)
		$dirpopup_linkcol="#000";
	if (!$abook_changebg)
		$abook_changebg="#402900";
