<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
define( 'YOURBASEPATH', $mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() );
require( YOURBASEPATH . "/rt_styleswitcher.php");


	// *************************************************
	// Change the variables below to adjust the template
	//
	// If you have any issues, check out the forum at
	// http://www.rockettheme.com
	//
	// *************************************************

	$default_style 				= "light";			 // light | dark
	$enable_rokzoom				= "true";			 // true | false
	$enable_pngfix				= "true";			 // true | false
	$enable_fontspans           = "true";            // true | false (required for sifr)
	$enable_sifr                = "false";            // true | false
	$font_sifr                  = "walkway";         // any .swf file in sifr/ folder
	$font_family                = "optima";          // geneva | optima | helvetica | trebuchet | lucida | georgia | palatino
	$template_width 			= "962";			 // width in px
	$sidebar_width				= "250";			 // width in px
	$sidebar_side				= "right";			 // left | right
	$menu_name 					= "mainmenu";		 // mainmenu by default, can be any Joomla menu name
	$menu_type 					= "splitmenu";		 // moomenu | suckerfish | splitmenu | module
	$menu_style 				= "menustyle3";		 // [menustyle1... menustyle5]
	$default_font 				= "default";         // smaller | default | larger
	$show_fontbuttons			= "true";		     // true | false
	$show_pathway 				= "true";			 // true | false
	$show_moduleslider			= "true";		     // true | false

	// module slider configuration
	
	$max_mods_per_row			= 3;				 // maximum number of modules per row (adjust the height if this wraps)
	$modules_list 				= array(array("title"=>"Group 1 Stuff", "module"=>"user7"),
								array("title"=>"Group 2 Panel", "module"=>"user8"),
								array("title"=>"Group 3 Collection", "module"=>"user9"),
								array("title"=>"Group 4 Assortment", "module"=>"user10"),
								array("title"=>"Group 5 Items", "module"=>"user11"));
								
	require(YOURBASEPATH . "/rt_styleloader.php");
								
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<?php
	if ( $my->id ) {
		initEditor();
	}
	mosShowHead();								
	require(YOURBASEPATH . "/rt_tabmodules.php");
	require(YOURBASEPATH . "/rt_utils.php");
    require(YOURBASEPATH . "/rt_head_includes.php");
    ?>
	</head>
	<body id="ff-<?php echo $fontfamily; ?>" class="<?php echo $fontstyle; ?> <?php echo $tstyle; ?>">
		<!-- begin wrapper -->
		<div class="wrapper">
			<!-- begin top section -->
			<div id="top">
				<a href="http://www.rhinopm.com/" title="Rhino Web Studios" class="nounder"><img src="<?php echo $template_path; ?>/images/blank.gif" border="0" alt="Rhino Web Studios" id="rocket" /></a>
				<?php if (mosCountModules('search')) : ?>
					<div id="mod-search">
						<?php mosLoadModules('search', -2); ?>
					</div>
				<?php endif; ?>
				<?php if ($show_fontbuttons == "true") : ?>
				<div id="accessibility">
					<div id="buttons">
						<a href="<?php echo $thisurl; ?>fontstyle=f-larger" title="Increase size" class="large"><span class="button">&nbsp;</span></a>
						<a href="<?php echo $thisurl; ?>fontstyle=f-default" title="Default size" class="default"><span class="button">&nbsp;</span></a>
						<a href="<?php echo $thisurl; ?>fontstyle=f-smaller" title="Decrease size" class="small"><span class="button">&nbsp;</span></a>
					</div>
				</div>
				<?php endif; ?>	
			</div>
			<!-- end top section -->
			<!-- begin mainbody -->
			<div id="mainbody-top">
				<div id="mainbody-top2">
					<div id="mainbody-top3">
					</div>
				</div>
			</div>
			<div id="mainbody">
				<!-- begin header -->
				<div id="header">
					<a href="<?php echo $mosConfig_live_site;?>" class="nounder"><img src="<?php echo $template_path; ?>/images/blank.gif" border="0" alt="" id="logo" /></a>
					<div id="horiz-menu" class="<?php echo $mtype; ?> <?php echo $mstyle; ?>">
						<div id="horiz-menu2">
							<?php if($mtype != "module") : ?>
								<?php echo $topnav->display(); ?>
							<?php else: ?>
								<?php mosLoadModules('toolbar',-1); ?>
							<?php endif; ?>	
						</div>
					</div>
				</div>
				<!-- end header -->
				<?php if ($show_pathway == "true") : ?>
					<div id="pathway">
						<?php mosPathway(); ?>
					</div>
				<?php endif; ?>
				<div id="mainbody-padding">
					
					<!-- begin maincolumn -->
					<div id="maincol">
					    <div id="maincol-container">
	    					<?php if (mosCountModules('header')) : ?>
    						<div id="showcase">
    							<?php mosLoadModules('header',-3); ?>
    						</div>
    						<?php endif; ?>
    						<?php if ($show_moduleslider=="true" and (mosCountModules('user7') or mosCountModules('user8') 
    					or mosCountModules('user9') or mosCountModules('user10') or mosCountModules('user11'))) : ?>
    							<div id="moduleslider-size">
    								<?php displayTabs(); ?>
    							</div>
    						<?php endif; ?>
    						<div id="body-padding">
    						    <?php mosMainbody(); ?>
    						</div>
    						<?php if (mosCountModules('user1') or mosCountModules('user2')) : ?>
    						<div id="mainmodules" class="spacer<?php echo $mainmod_width; ?>">
    						<?php if (mosCountModules('user1')) : ?>
    							<div class="block">
    								<?php mosLoadModules('user1',-3); ?>
    							</div>
    						<?php endif; ?>
    						<?php if (mosCountModules('user2')) : ?>
    							<div class="block">
    								<?php mosLoadModules('user2',-3); ?>
    							</div>
    						<?php endif; ?>
    						</div>
    						<?php endif; ?>
    					</div>
					</div>
					<!-- end maincolumn -->
					<!-- begin sidecolumn -->
					<?php if (mosCountModules($sidebar) or ($subnav)) : ?>
						<div id="sidecol">
							<div id="sidecol-padding">
								<?php if($subnav && $subnav->ismenu()) : ?>
									<div id="sub-menu" class="<?php echo $mstyle; ?>">
										<?php echo $subnav->display(); ?>
									</div>
								<?php endif; ?>
								<?php mosLoadModules($sidebar, -3); ?>
							</div>
						</div>
					<?php endif; ?>
					<!-- end sidecolumn -->
					<div class="clr"></div>
				</div>
			</div>
			<!-- end mainbody -->
			<!-- begin bottom section -->
			<?php if (mosCountModules('user3') or mosCountModules('user4') or mosCountModules('user5') or mosCountModules('user6')) : ?>
				<div id="bottom">
					<div id="bottommodules" class="spacer<?php echo $bottommods_width; ?>">
				<?php if (mosCountModules('user3')) : ?>
					<div class="block">
						<?php mosLoadModules('user3',-3); ?>
					</div>
				<?php endif; ?>
				<?php if (mosCountModules('user4')) : ?>
					<div class="block">
						<?php mosLoadModules('user4',-3); ?>
					</div>
				<?php endif; ?>
				<?php if (mosCountModules('user5')) : ?>
					<div class="block">
						<?php mosLoadModules('user5',-3); ?>
					</div>
				<?php endif; ?>
					<?php if (mosCountModules('user6')) : ?>
						<div class="block">
							<?php mosLoadModules('user6',-3); ?>
						</div>
					<?php endif; ?>
					</div>
				</div>
			<?php endif; ?>
			<div id="mainbody-bottom">
				<div id="mainbody-bottom2">
					<div id="mainbody-bottom3">
					</div>
				</div>
			</div>
			<!-- end bottom section -->
			<?php if (mosCountModules('footer')) : ?>
				<div align="center">
				<div id="footer">
					<?php mosLoadModules('footer',-2); ?>
				</div>
				</div>
			<?php endif; ?>
		</div>
		<!-- end wrapper -->
	</body>
</html>