<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<title><?php the_title(); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );
</style>
<style type="text/css" media="print">
@import url( <?php bloginfo('stylesheet_url'); ?> );
</style>
<?php if(detect_ie()): ?>
<style type="text/css" media="screen">
@import url('<?php bloginfo('template_url'); ?>/style_ie7.css');
</style>
<?php endif; ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<script src="<?php bloginfo('template_directory'); ?>/javascript/jquery-1.4.2.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
//var background = $('#photo-area .background-image');
//var ratio = background.width() / background.height();
//background.removeClass('background-image').addClass('background');
$(window).resize(function() {
//background.css('height', Math.round(background.width() / ratio) + 'px');
var photo_and_wrapper = ($('#photo-area').height() + $('#wrapper:not(.gallery)').height());
if($(window).height() > photo_and_wrapper) {
$('#wrapper:not(.gallery)').css('padding-top', ($(window).height() - photo_and_wrapper) + 'px');
}
});
setTimeout(function() {
$(window).resize();
}, 1);
$('*:not(input)').keydown(function(event) {
if(event.keyCode == '39') {
featured_next();
} else if(event.keyCode == '37') {
featured_previous();
}
});
$('#nav_up').hover(function() {
$('#nav_up .pages li:not(.current_page_item)').show(400, function() {$('#nav_up').removeClass('minimized');});
}, function() {
$('#nav_up .pages li:not(.current_page_item)').hide(400, function() {$('#nav_up').addClass('minimized');});
});
});
</script>
<?php wp_head();?>
</head>
<body>