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