<?php
/**
 * @version $Id: index.php 270 2009-12-28 13:24:34Z roosit $
 * @package Abricos
 * @subpackage User
 * @copyright Copyright (C) 2008 Abricos. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
 * @author Alexander Kuzmin (roosit@abricos.org)
 */

$brick = Brick::$builder->brick;

if (Brick::$session->IsRegistred()){
	$brick->param->var['js'] = 'profile.js';
}else{
	$brick->param->var['js'] = 'guest.js';
}

?>