<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

	<head profile="http://gmpg.org/xfn/11">

		<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

		<title><?php bp_page_title() ?></title>

		<?php do_action( 'bp_head' ) ?>

		<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
        
        <!--[if IE 8]>
            <link rel="stylesheet" type="text/css" media="screen, projection" href="<?php echo str_replace("style.css", "ie8.css", get_bloginfo( "stylesheet_url", 'display' )); ?>" />
        <![endif]-->

		<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

		<?php if ( function_exists( 'bp_sitewide_activity_feed_link' ) ) : ?>
			<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php _e('Site Wide Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" />
		<?php endif; ?>

		<?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() ) : ?>
			<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( 'Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" />
		<?php endif; ?>

		<?php if ( function_exists( 'bp_group_activity_feed_link' ) && bp_is_group() ) : ?>
			<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_current_group_name() ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" />
		<?php endif; ?>

		<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts RSS Feed', 'buddypress' ) ?>" href="<?php bloginfo('rss2_url'); ?>" />
		<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts Atom Feed', 'buddypress' ) ?>" href="<?php bloginfo('atom_url'); ?>" />

		<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
		<link rel="shortcut icon" href="<?php echo site_url() . '/favicon.ico'; ?>" type="image/x-icon" />

		<?php
		// Aqui pasamos de todos los plugins en principio,
		// Y cargamos solo lo necesario
		//wp_head();

		// JQUERY
		wp_deregister_script( 'jquery' );
		wp_register_script( 'jquery', get_site_url() .'/wp-includes/js/jquery/jquery.js' );
		wp_print_scripts( 'jquery' );

		global $bp;

		// Para registration
		if (in_array($bp->current_component, array("register", "oauth"))) {
			// CSS STYLES
			wp_deregister_style('registration-css');
			wp_enqueue_style('registration-css', get_stylesheet_directory_uri() .'/registration/css/style.css');
			wp_print_styles('registration-css');

			// MYTABS
			wp_deregister_style( 'mytabs-css' );
			wp_register_style( 'mytabs-css', get_stylesheet_directory_uri() .'/_inc/mytabs/mytabs.css', '' );
			wp_print_styles( 'mytabs-css' );
		}
		?>

	</head>

	<body style="background: white url(''); margin: 0px; padding: 0px; width: 600px; ">
	<base href="<?php  echo home_url(); ?>" />