<?php
/*--------------------------------------------------------------------------*/
/* Options Framework Functions
/*---------------------------------------------------------------------------*/
require_once(TEMPLATEPATH . '/admin/admin-functions.php');
require_once(TEMPLATEPATH . '/admin/admin-interface.php');
require_once(TEMPLATEPATH . '/admin/theme-settings.php');
?>
<?php
add_theme_support('post-thumbnails');
add_theme_support('widgets');


/**
 * Register Widget Area.
 *
 */




function wpsidebar_widgets_init() {
 
	register_sidebar( array(
		'name' => 'Newsletter',
		'id' => 'footer_newsletter',
		'description' => _('Widget in this area will be shown in the footer'),
		'before_widget' => '<div id="%1$s" class="widget %2$s">',
		'after_widget' => '</div>',
		'before_title' => '<h3 class="sidebar_title">',
		'after_title' => '</h3>',
	) );
}
add_action( 'widgets_init', 'wpsidebar_widgets_init' );

/*
if(function_exists('add_theme_support')){
	add_theme_support('menus');
}

// Load jQuery
if (!is_admin()) {
	
	wp_deregister_script('jquery');
	wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"), false);
	wp_enqueue_script('jquery');

	wp_register_script('myscript', get_bloginfo('template_directory') . "/js/test.js");
	wp_enqueue_script('myscript');
}

*/
?>
<?php
/*
//Clean up the </head>
function removeHeadLinks(){
	remove_action('wp_head', 'rsd_link');
	remove_action('wp_head', 'wlwmanifest_link');
}
add_action('init', 'removeHeadLinks');
remove_action('wp_head', 'wp_generator');
*/
?>