';
        if (!$scope) echo '
';
        echo '';
    }else{
        echo'
        ';
    }
}
function itx_header_styles(){
	$halfwrap=$fullwrap='';
    extract(itx_get_option('header'));
	$height=empty($height)?'':" height:$height;";
	$bg=(empty($bg))?$image:$bg;
	$img="background:$bgcolor url($bg) $repeat $h_align $v_align;$height";
	if ($scope==1) $fullwrap=$img;
	else $halfwrap=$img;
	if (itx_get_option('layout','wrapping')=='fixed') $maxw=itx_get_option('layout','wrap').'px';
    else $maxw='98%';
    echo "
#headerwrap{ $fullwrap text-align: $text_align;}
#header{ $halfwrap }
#header h1 {font-size: {$font_size};}
#header h1 a {color: $color;text-decoration: none;}
#header h1 a:hover {color: $hover_color;}
#header img{max-width:$maxw;}
#header span {font-size: {$span_font_size};color: $span_color;}";
}
?>