<?php
defined( '_JEXEC' ) or die( 'Restricted index access' );
define( 'TEMPLATEPATH', dirname(__FILE__) );
/*
-----------------------------------------
Fusion - May 2010 Shape 5 Club Template
-----------------------------------------
Site:      www.shape5.com
Email:     contact@shape5.com
@license:  Copyrighted Commercial Software
@copyright (C) 2010 Shape 5

*/
// Template Configuration

	$s5_menu = $this->params->get ("xml_s5_menu");
	$s5_effects = $this->params->get ("xml_s5_jsmenu");
	$s5_widthtype = $this->params->get ("xml_s5_widthtype");
	$s5_body_width = $this->params->get ("xml_s5_body_width");
	$s5_left_width = $this->params->get ("xml_s5_left_width");
	$s5_right_width = $this->params->get ("xml_s5_right_width");
	$s5_inset_width = $this->params->get ("xml_s5_inset_width");
	$s5_show_frontpage = $this->params->get ("xml_s5_frontpage");
	$s5_topback = $this->params->get ("xml_s5_topback");
	$s5_headerback  = $this->params->get ("xml_s5_headerback");
	$s5_bottomback = $this->params->get ("xml_s5_bottomback");
	$s5_register = $this->params->get ("xml_s5_register");
	$s5_login = $this->params->get ("xml_s5_login");
	$s5_backimage  = $this->params->get ("xml_s5_backimage");
	$s5_backcolor = $this->params->get ("xml_s5_backcolor");
	$s5_mbbackcolor = $this->params->get ("xml_s5_mbbackcolor");
	$s5_text_menu_1 = $this->params->get ("xml_s5_text_menu_1");
	$s5_text_menu_2 = $this->params->get ("xml_s5_text_menu_2");
	$s5_text_menu_3 = $this->params->get ("xml_s5_text_menu_3");
	$s5_text_menu_4 = $this->params->get ("xml_s5_text_menu_4");
	$s5_text_menu_5 = $this->params->get ("xml_s5_text_menu_5");
	$s5_text_menu_6 = $this->params->get ("xml_s5_text_menu_6");
	$s5_text_menu_7 = $this->params->get ("xml_s5_text_menu_7");
	$s5_text_menu_8 = $this->params->get ("xml_s5_text_menu_8");
	$s5_text_menu_9 = $this->params->get ("xml_s5_text_menu_9");
	$s5_text_menu_10 = $this->params->get ("xml_s5_text_menu_10");
	$s5_subtext = $this->params->get ("xml_s5_subtext");
	$s5_colors = $this->params->get ("xml_s5_colors");
	$s5_tweetwithusl  = $this->params->get ("xml_s5_tweetwithusl");
	$s5_rssl  = $this->params->get ("xml_s5_rssl");
	$s5_tooltips = $this->params->get ("xml_s5_tooltips");
	$s5_lytebox = $this->params->get ("xml_s5_lytebox");
	$s5_urlforSEO = $this->params->get ("xml_s5_seourl");



////////////////////////  DO NOT EDITBELOW THIS  ////////////////////////
// Middle content calculations
if (!$this->countModules("left") && !$this->countModules("right")) { $s5_mainbody_width = (($s5_body_width) - 39); }
else if ($this->countModules("left") && !$this->countModules("right")) { $s5_mainbody_width = $s5_body_width - ($s5_left_width + 52);}
else if (!$this->countModules("left") && $this->countModules("right")) { $s5_mainbody_width = $s5_body_width - ($s5_right_width + 52);}
else if ($this->countModules("left") && $this->countModules("right")) { $s5_mainbody_width = $s5_body_width - (($s5_left_width + $s5_right_width) + 66); }

// above body 1, 2, and 3 collapse calculations
if ($this->countModules("above_body_1") && $this->countModules("above_body_2")  && $this->countModules("above_body_3")) { $abovebody="33"; }
else if ($this->countModules("above_body_1") && $this->countModules("above_body_2") && !$this->countModules("above_body_3")) { $abovebody="50"; }
else if ($this->countModules("above_body_1") && !$this->countModules("above_body_2") && $this->countModules("above_body_3")) { $abovebody="50"; }
else if (!$this->countModules("above_body_1") && $this->countModules("above_body_2") && $this->countModules("above_body_3")) { $abovebody="50"; }
else if ($this->countModules("above_body_1") && !$this->countModules("above_body_2") && !$this->countModules("above_body_3")) { $abovebody="100"; }
else if (!$this->countModules("above_body_1") && $this->countModules("above_body_2") && !$this->countModules("above_body_3")) { $abovebody="100"; }
else if (!$this->countModules("above_body_1") && !$this->countModules("above_body_2") && $this->countModules("above_body_3")) { $abovebody="100"; }


// advert 1, 2, and 3 collapse calculations
if ($this->countModules("advert1") && $this->countModules("advert2")  && $this->countModules("advert3")) { $advert="33"; }
else if ($this->countModules("advert1") && $this->countModules("advert2") && !$this->countModules("advert3")) { $advert="50"; }
else if ($this->countModules("advert1") && !$this->countModules("advert2") && $this->countModules("advert3")) { $advert="50"; }
else if (!$this->countModules("advert1") && $this->countModules("advert2") && $this->countModules("advert3")) { $advert="50"; }
else if ($this->countModules("advert1") && !$this->countModules("advert2") && !$this->countModules("advert3")) { $advert="100"; }
else if (!$this->countModules("advert1") && $this->countModules("advert2") && !$this->countModules("advert3")) { $advert="100"; }
else if (!$this->countModules("advert1") && !$this->countModules("advert2") && $this->countModules("advert3")) { $advert="100"; }

// top 1, 2, and 3 collapse calculations
if ($this->countModules("top_1") && $this->countModules("top_2")  && $this->countModules("top_3")) { $advert2="33"; }
else if ($this->countModules("top_1") && $this->countModules("top_2") && !$this->countModules("top_3")) { $advert2="50"; }
else if ($this->countModules("top_1") && !$this->countModules("top_2") && $this->countModules("top_3")) { $advert2="50"; }
else if (!$this->countModules("top_1") && $this->countModules("top_2") && $this->countModules("top_3")) { $advert2="50"; }
else if ($this->countModules("top_1") && !$this->countModules("top_2") && !$this->countModules("top_3")) { $advert2="100"; }
else if (!$this->countModules("top_1") && $this->countModules("top_2") && !$this->countModules("top_3")) { $advert2="100"; }
else if (!$this->countModules("top_1") && !$this->countModules("top_2") && $this->countModules("top_3")) { $advert2="100"; }

// contentbottom 1, 2, and 3 collapse calculations
if ($this->countModules("contentbottom1") && $this->countModules("contentbottom2")  && $this->countModules("contentbottom3")) { $contentbottom="33"; }
else if ($this->countModules("contentbottom1") && $this->countModules("contentbottom2") && !$this->countModules("contentbottom3")) { $contentbottom="50"; }
else if ($this->countModules("contentbottom1") && !$this->countModules("contentbottom2") && $this->countModules("contentbottom3")) { $contentbottom="50"; }
else if (!$this->countModules("contentbottom1") && $this->countModules("contentbottom2") && $this->countModules("contentbottom3")) { $contentbottom="50"; }
else if ($this->countModules("contentbottom1") && !$this->countModules("contentbottom2") && !$this->countModules("contentbottom3")) { $contentbottom="100"; }
else if (!$this->countModules("contentbottom1") && $this->countModules("contentbottom2") && !$this->countModules("contentbottom3")) { $contentbottom="100"; }
else if (!$this->countModules("contentbottom1") && !$this->countModules("contentbottom2") && $this->countModules("contentbottom3")) { $contentbottom="100"; }

//user1 and 2 calculations
if ($this->countModules("user1") && $this->countModules("user2")) { $user23="50"; }
else if (!$this->countModules("user1") && $this->countModules("user2")) { $user23="100";  }
else if ($this->countModules("user1") && !$this->countModules("user2")) { $user23="100";  }

//user3, 4, 5, 6, 7 and 8 calculations
if ($this->countModules("user3") && $this->countModules("user4") && $this->countModules("user5")  && $this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="16"; }
else if (!$this->countModules("user3") && $this->countModules("user4") && $this->countModules("user5")  && $this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="20"; }
else if ($this->countModules("user3") && !$this->countModules("user4") && $this->countModules("user5")  && $this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="20"; }
else if ($this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5")  && $this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="20"; }
else if ($this->countModules("user3") && $this->countModules("user4") && $this->countModules("user5")  && !$this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="20"; }
else if ($this->countModules("user3") && $this->countModules("user4") && $this->countModules("user5")  && $this->countModules("user6") && !$this->countModules("user7") && $this->countModules("user8")) { $bottom4="20"; }
else if ($this->countModules("user3") && $this->countModules("user4") && $this->countModules("user5")  && $this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="20"; }

else if ($this->countModules("user3") && $this->countModules("user4") && $this->countModules("user5")  && $this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="25"; }
else if ($this->countModules("user3") && $this->countModules("user4") && $this->countModules("user5")  && !$this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="25"; }
else if ($this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5")  && $this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="25"; }
else if ($this->countModules("user3") && !$this->countModules("user4") && $this->countModules("user5")  && $this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="25"; }
else if (!$this->countModules("user3") && $this->countModules("user4") && $this->countModules("user5")  && $this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="25"; }
else if (!$this->countModules("user3") && !$this->countModules("user4") && $this->countModules("user5")  && $this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="25"; }
else if ($this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5")  && $this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="25"; }
else if ($this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5")  && !$this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="25"; }
else if ($this->countModules("user3") && $this->countModules("user4") && $this->countModules("user5")  && !$this->countModules("user6") && !$this->countModules("user7") && $this->countModules("user8")) { $bottom4="25"; }
else if (!$this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5")  && $this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="25"; }
else if ($this->countModules("user3") && !$this->countModules("user4") && $this->countModules("user5")  && !$this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="25"; }
else if ($this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5")  && $this->countModules("user6") && !$this->countModules("user7") && $this->countModules("user8")) { $bottom4="25"; }

else if (!$this->countModules("user3") && $this->countModules("user4") && $this->countModules("user5") && $this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="33";  }
else if ($this->countModules("user3") && !$this->countModules("user4") && $this->countModules("user5") && $this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="33";  }
else if ($this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5") && $this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="33";  }
else if ($this->countModules("user3") && $this->countModules("user4") && $this->countModules("user5") && !$this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="33";  }
else if ($this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="33";  }
else if (!$this->countModules("user3") && $this->countModules("user4") && $this->countModules("user5") && !$this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="33";  }
else if (!$this->countModules("user3") && !$this->countModules("user4") && $this->countModules("user5") && $this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="33";  }
else if ($this->countModules("user3") && !$this->countModules("user4") && $this->countModules("user5") && !$this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="33";  }
else if ($this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5") && $this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="33";  }
else if (!$this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5") && $this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="33";  }
else if ($this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="33";  }
else if ($this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && !$this->countModules("user7") && $this->countModules("user8")) { $bottom4="33";  }
else if (!$this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5") && $this->countModules("user6") && !$this->countModules("user7") && $this->countModules("user8")) { $bottom4="33";  }
else if (!$this->countModules("user3") && !$this->countModules("user4") && $this->countModules("user5") && !$this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="33";  }
else if ($this->countModules("user3") && !$this->countModules("user4") && $this->countModules("user5") && !$this->countModules("user6") && !$this->countModules("user7") && $this->countModules("user8")) { $bottom4="33";  }
else if ($this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5") && $this->countModules("user6") && !$this->countModules("user7") && $this->countModules("user8")) { $bottom4="33";  }
else if ($this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && !$this->countModules("user7") && $this->countModules("user8")) { $bottom4="33";  }
else if (!$this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="33";  }

else if (!$this->countModules("user3") && !$this->countModules("user4") && $this->countModules("user5") && $this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="50"; }
else if ($this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5") && $this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="50"; }
else if ($this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="50"; }
else if (!$this->countModules("user3") && $this->countModules("user4") && $this->countModules("user5") && !$this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="50"; }
else if (!$this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5") && $this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="50"; }
else if ($this->countModules("user3") && !$this->countModules("user4") && $this->countModules("user5") && !$this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="50"; }
else if ($this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="50"; }
else if (!$this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="50"; }
else if (!$this->countModules("user3") && !$this->countModules("user4") && $this->countModules("user5") && !$this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="50"; }
else if (!$this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5") && $this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="50"; }
else if (!$this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && $this->countModules("user7") && $this->countModules("user8")) { $bottom4="50"; }
else if (!$this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5") && $this->countModules("user6") && !$this->countModules("user7") && $this->countModules("user8")) { $bottom4="50"; }
else if (!$this->countModules("user3") && !$this->countModules("user4") && $this->countModules("user5") && !$this->countModules("user6") && !$this->countModules("user7") && $this->countModules("user8")) { $bottom4="50"; }
else if (!$this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && !$this->countModules("user7") && $this->countModules("user8")) { $bottom4="50"; }
else if ($this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && !$this->countModules("user7") && $this->countModules("user8")) { $bottom4="50"; }

else if ($this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="100"; }
else if (!$this->countModules("user3") && $this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="100"; }
else if (!$this->countModules("user3") && !$this->countModules("user4") && $this->countModules("user5") && !$this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="100"; }
else if (!$this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5") && $this->countModules("user6") && !$this->countModules("user7") && !$this->countModules("user8")) { $bottom4="100"; }
else if (!$this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && $this->countModules("user7") && !$this->countModules("user8")) { $bottom4="100"; }
else if (!$this->countModules("user3") && !$this->countModules("user4") && !$this->countModules("user5") && !$this->countModules("user6") && !$this->countModules("user7") && $this->countModules("user8")) { $bottom4="100"; }

if ($s5_effects == "s5") {
if (($s5_menu  == "1") || ($s5_menu  == "3") || ($s5_menu  == "4")){
require( TEMPLATEPATH.DS."s5_no_moo_menu.php");}
else if ($s5_menu  == "2")  {
require( TEMPLATEPATH.DS."s5_suckerfish.php");}
$menu_name = $this->params->get ("xml_menuname");}

if ($s5_effects == "jq") {
require( TEMPLATEPATH.DS."s5_suckerfish.php");
$menu_name = $this->params->get ("xml_menuname");}

if ($s5_urlforSEO  == ""){
$LiveSiteUrl = JURI::root();}
if ($s5_urlforSEO  != ""){
$LiveSiteUrl = "$s5_urlforSEO/";}


?>

<!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<meta http-equiv="Content-Type" content="text/html"/>
<meta http-equiv="Content-Style-Type" content="text/css" />
<link href="<?php echo $LiveSiteUrl;?>templates/fusion/css/template.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo $LiveSiteUrl;?>templates/fusion/css/editor.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo $LiveSiteUrl;?>templates/fusion/css/suckerfish.css" rel="stylesheet" type="text/css" media="screen" />
<?php if ($s5_colors == "blue") { ?>
<link href="<?php echo $LiveSiteUrl;?>templates/fusion/css/blue.css" rel="stylesheet" type="text/css" media="screen" /><?php } ?>
<?php if ($s5_colors == "green") { ?>
<link href="<?php echo $LiveSiteUrl;?>templates/fusion/css/green.css" rel="stylesheet" type="text/css" media="screen" /><?php } ?>
<?php if ($s5_colors == "orange") { ?>
<link href="<?php echo $LiveSiteUrl;?>templates/fusion/css/orange.css" rel="stylesheet" type="text/css" media="screen" /><?php } ?>
<?php if ($s5_colors == "pink") { ?>
<link href="<?php echo $LiveSiteUrl;?>templates/fusion/css/pink.css" rel="stylesheet" type="text/css" media="screen" /><?php } ?>
<?php if ($s5_colors == "red") { ?>
<link href="<?php echo $LiveSiteUrl;?>templates/fusion/css/red.css" rel="stylesheet" type="text/css" media="screen" /><?php } ?>
<?php if($this->direction == "rtl") { ?>
<link href="<?php echo $LiveSiteUrl ?>templates/fusion/css/template_rtl.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo $LiveSiteUrl ?>templates/fusion/css/editor_rtl.css" rel="stylesheet" type="text/css" media="screen" />
<?php } ?>
<?php
// Disable lytebox when VM is loaded
if (JRequest::getVar('option') == 'com_virtuemart' ) {
 } else { ?>
<?php if ($s5_lytebox  == "yes") { ?>
<link href="<?php echo $LiveSiteUrl;?>templates/fusion/css/lytebox.css" rel="stylesheet" type="text/css" media="screen" />
<?php } ?>
<?php } ?>
<script type="text/javascript" src="<?php echo $LiveSiteUrl;?>templates/fusion/js/s5_effects.js"></script>

<?php if ($s5_effects == "jq") { ?>
<?php if (($s5_menu  == "1") || ($s5_menu  == "3") || ($s5_menu  == "4")) { ?>
<script type="text/javascript" src="<?php echo $LiveSiteUrl;?>templates/fusion/js/jquery13.js"></script>
<script type="text/javascript" src="<?php echo $LiveSiteUrl;?>templates/fusion/js/jquery_no_conflict.js"></script>

<script type="text/javascript">
<?php if ($s5_menu  == "3") { ?>
var s5_fading_menu = "yes";
<?php } ?>
<?php if ($s5_menu  != "3") { ?>
var s5_fading_menu = "no";
<?php } ?>
function s5_jqmainmenu(){
jQuery(" #navlist ul ").css({display: "none"}); // Opera Fix
jQuery(" #s5_navv li").hover(function(){
		jQuery(this).find('ul:first').css({visibility: "visible",display: "none"}).<?php if ($s5_menu  == "1") { ?>show(400)<?php } ?><?php if ($s5_menu  == "3") { ?>fadeIn(500)<?php } ?><?php if ($s5_menu  == "4") { ?>slideDown(400)<?php } ?>;
		},function(){jQuery(this).find('ul:first').css({visibility: "hidden"});	});}
  jQuery(document).ready(function(){ s5_jqmainmenu();});
</script>
<?php } ?>
<?php } ?>
<?php if ($s5_subtext == "yes") {
echo "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_1 = '".$s5_text_menu_1."';</script>";
echo "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_2 = '".$s5_text_menu_2."';</script>";
echo "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_3 = '".$s5_text_menu_3."';</script>";
echo "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_4 = '".$s5_text_menu_4."';</script>";
echo "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_5 = '".$s5_text_menu_5."';</script>";
echo "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_6 = '".$s5_text_menu_6."';</script>";
echo "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_7 = '".$s5_text_menu_7."';</script>";
echo "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_8 = '".$s5_text_menu_8."';</script>";
echo "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_9 = '".$s5_text_menu_9."';</script>";
echo "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_10 = '".$s5_text_menu_10."';</script>";
}?>
<?php
// Disable lytebox when VM is loaded
if (JRequest::getVar('option') == 'com_virtuemart' ) {
 } else { ?>
<?php if ($s5_lytebox  == "yes") { ?>
<script type="text/javascript" src="<?php echo $LiveSiteUrl;?>templates/fusion/js/lytebox.js"></script>
<?php } ?>
<?php } ?>



<?php
$br = strtolower($_SERVER['HTTP_USER_AGENT']);
$browser = "other";

if(strrpos($br,"msie 6") > 1) {
$is_ie6 = "yes";}
else {$is_ie6 = "no";}

if(strrpos($br,"msie 7") > 1) {
$is_ie7 = "yes";}
else {$is_ie7 = "no";}

if(strrpos($br,"msie 8") > 1) {
$is_ie8 = "yes";}
else {$is_ie8 = "no";}
?>

<?php if ($is_ie6 == "yes" || $is_ie7 == "yes" || $is_ie8 == "yes") { ?>
<?php if (($s5_menu  == "1") || ($s5_menu  == "2") || ($s5_menu  == "3") || ($s5_menu  == "4")) { ?>
<script type="text/javascript" src="<?php echo $LiveSiteUrl;?>templates/fusion/js/IEsuckerfish.js"></script>
<?php } ?>
<?php } ?>


<style type="text/css">
.s5_wrap {width:<?php echo ($s5_body_width);?><?php echo ($s5_widthtype);?>;}
<?php if($this->countModules('right')) { ?>
#s5_mainbody, #s5_mainbodybread {margin-right:<?php echo ($s5_right_width) + 1;?>px;}
<?php } ?><?php if($this->countModules('left')) { ?>
#s5_mainbody, #s5_mainbodybread {margin-left:<?php echo ($s5_left_width) + 20;?>px;}
<?php } ?>

<?php if ($is_ie7 == "yes") { ?>
<?php if($this->direction == "rtl") { ?>
#s5_menu {float:none;}
.s5_wrap {position:relative;}
#s5_search {margin-top:-30px;}<?php } ?><?php } ?>

<?php if (($s5_colors  == "red") || ($s5_colors  == "green") || ($s5_colors  == "orange") || ($s5_colors  == "blue") || ($s5_colors  == "pink")) { ?>
<?php if($this->direction == "rtl") { ?>
#s5_navv ul li ul li {background:transparent url(<?php echo $LiveSiteUrl;?>templates/fusion/images/<?php echo $s5_colors;?>/Shape5_fusion_ddmenumidh_rtl.png) repeat-x scroll 0 -33px;}
#s5_navv ul li.s5_menutop, #s5_navv ul li.s5_menutop:hover {background:transparent url(<?php echo $LiveSiteUrl;?>templates/fusion/images/<?php echo $s5_colors;?>/Shape5_fusion_ddmenutop_rtl.png) no-repeat scroll 0 0;}
#s5_navv ul li.s5_toparrow, #s5_navv ul li.s5_toparrow:hover {background:transparent url(<?php echo $LiveSiteUrl;?>templates/fusion/images/<?php echo $s5_colors;?>/Shape5_fusion_ddmenutop_rtl.png) no-repeat scroll 0 0;}
#s5_navv ul li.s5_menubottom, #s5_fm_ul0 ul li.s5_menubottom, #s5_navv ul li.s5_menubottom:hover, #s5_fm_ul0 ul li.s5_menubottom:hover {background:transparent url(<?php echo $LiveSiteUrl;?>templates/fusion/images/<?php echo $s5_colors;?>/Shape5_fusion_ddmenubot_rtl.png) no-repeat scroll 0 0;}
#s5_navv ul li li.lastitem a:hover {background:transparent url(<?php echo $LiveSiteUrl;?>templates/fusion/images/<?php echo $s5_colors;?>/Shape5_fusion_ddmenumidh_rtl.png) repeat-x scroll 1px 0;}
#s5_navv ul li ul li {background:transparent url(<?php echo $LiveSiteUrl;?>templates/fusion/images/<?php echo $s5_colors;?>/Shape5_fusion_ddmenumidh_rtl.png) repeat-x scroll 0 -33px; }
#s5_navv ul li ul li:hover, #s5_navv ul li ul li.over {background:transparent url(<?php echo $LiveSiteUrl;?>templates/fusion/images/<?php echo $s5_colors;?>/Shape5_fusion_ddmenumidh_rtl.png) repeat-y 0px 0px; }
<?php } ?>
<?php } ?>
</style>
</head>
<body style="background:#<?php echo $s5_backcolor; ?> url(<?php echo $s5_headerback; ?>) repeat;">
<div id="s5_topback" style="background:transparent url(<?php echo $s5_topback; ?>) no-repeat center top;">
<div id="s5_bottomback" style="background:transparent url(<?php echo $s5_bottomback; ?>) no-repeat center bottom;">
<div class="s5_wrap">
	<div style="height:100px;">
		<div id="s5_logo" style="cursor:pointer;" onclick="window.document.location.href='<?php echo $LiveSiteUrl;?>'"></div>

		<?php if (($s5_login  != "") || ($s5_register != "")) { ?>
		<div id="s5_logreg">
			<div id="s5_logregtr"></div>
			<div id="s5_logregtm">
				<?php if ($s5_login != "") { ?>
				<div id="s5_login" class="s5box_login">Login</div>
				<?php } ?>
			<div id="s5_logregsep"></div>
				<?php if ($s5_register != "") { ?>
				<div id="s5_register" class="s5box_register">Register</div>
				<?php } ?>
			</div>
			<div id="s5_logregtl"></div>
		</div>
		<?php } ?>

		<div style="clear:both;"></div>
	</div>


	<?php if($this->countModules('top')) { ?>
		<div id="s5_topmenu">
			<jdoc:include type="modules" name="top" style="xhtml" />
		</div>
	<?php } ?>

	<div style="clear:both;"></div>

	<div id="s5_menubacktl">
		<div id="s5_menubacktr">
			<div id="s5_menubacktm">

			<?php if (($s5_menu  == "1") || ($s5_menu  == "2") || ($s5_menu  == "3") || ($s5_menu  == "4")) { ?>
				<!-- Start Menu -->
				<div id="s5_menu">
					<div id="s5_navv">
						<?php mosShowListMenu($menu_name);	?>
						<?php if ($s5_effects == "s5") { ?>
						<?php if ($s5_menu  == "1") { ?>
							<script type="text/javascript" src="<?php echo $LiveSiteUrl;?>templates/fusion/js/s5_no_moo_menu.js"></script>
						<?php } ?>
						<?php if ($s5_menu  == "3") { ?>
							<script type="text/javascript" src="<?php echo $LiveSiteUrl;?>templates/fusion/js/s5_fading_no_moo_menu.js"></script>
						<?php } ?>
						<?php if ($s5_menu  == "4") { ?>
							<script type="text/javascript" src="<?php echo $LiveSiteUrl;?>templates/fusion/js/s5_scroll_down_no_moo_menu.js"></script>
						<?php } ?>
						<?php } ?>
					</div>
				</div>
				<!-- End Menu -->
			<?php } ?>
			<?php if($this->countModules('search')) { ?>
				<div id="s5_search">
					<div id="s5_topgradsearch">
						<jdoc:include type="modules" name="search" style="xhtml" />
					</div>
				</div>
			<?php } ?>
			</div>
		</div>
	</div>

	<div style="clear:both;"></div>

	<div class="s5_controllermleft">
		<div class="s5_controllermright">
			<div class="s5_controllermiddle">

			<?php if($this->countModules('top_1') || $this->countModules('top_2') || $this->countModules('top_3')) { ?>
			<div id="s5_topgradient">
			<div id="s5_topbgradient">
				<div class="s5_w_modwrap">
					<!-- Start top 1-3 -->
							<?php if($this->countModules('top_1')) { ?>
								<div id="s5_advert4_<?php echo $advert2; ?>">
									<jdoc:include type="modules" name="top_1" style="round_box" />
								</div>
							<?php } ?>
							<?php if($this->countModules('top_2')) { ?>
								<div id="s5_advert5_<?php echo $advert2; ?>">
									<jdoc:include type="modules" name="top_2" style="round_box" />
								</div>
							<?php } ?>
							<?php if($this->countModules('top_3')) { ?>
								<div id="s5_advert6_<?php echo $advert2; ?>">
									<jdoc:include type="modules" name="top_3" style="round_box" />
								</div>
							<?php } ?>
							<div style="clear:both;"></div>
					<!-- End top 1-3 -->
				</div>
			</div>
			</div>
			<?php } ?>



			<div id="s5_advertgradient">
				<?php if($this->countModules('above_body_1') || $this->countModules('above_body_2') || $this->countModules('above_body_3')) { ?>
				<!-- Start Above Body -->
				<div id="s5_abovebody">
					<div id="s5_abovebody_inner">
						<div id="s5_abovebody_static">
						<?php if($this->countModules('above_body_1')) { ?>
							<div id="s5_above_body_1_<?php echo $abovebody; ?>">
								<jdoc:include type="modules" name="above_body_1" style="round_box" />
							</div>
						<?php } ?>
						<?php if($this->countModules('above_body_2')) { ?>
							<div id="s5_above_body_2_<?php echo $abovebody; ?>">
								<jdoc:include type="modules" name="above_body_2" style="round_box" />
							</div>
						<?php } ?>
						<?php if($this->countModules('above_body_3')) { ?>
							<div id="s5_above_body_3_<?php echo $abovebody; ?>">
								<jdoc:include type="modules" name="above_body_3" style="round_box" />
							</div>
						<?php } ?>
						<div style="clear:both;"></div>
						</div>
					</div>
				</div>
				<!-- End Above Body -->
				<?php } ?>
			</div>

			<?php if($this->countModules('breadcrumb')) { ?>
			<div class="s5_nicewrap">
				<div class="s5_nicewrap_inner">
				<div class="s5_nicewrap_innerl">
					<?php if ($is_ie7 == "no") { ?>
					<div style="float:left;">
						<div class="s5_nicewrap_inner_mtl"></div>
						<div class="s5_nicewrap_inner_mtm"></div>
						<div class="s5_nicewrap_inner_mbl"></div>
					</div>
					<?php } ?>
					<div style="float:left;width:100%;<?php if($this->direction == "rtl") { ?>margin-left:-23px;<?php } ?>">
					<div class="s5_nicewrap_innertop">
						<!-- Breadcrumbs -->
						<div id="s5_breadcrumbs">
							<div id="s5_breadcrumbsinner">
							<jdoc:include type="modules" name="breadcrumb" style="xhtml" />
							</div>
						</div>
						<!-- End Breadcrumbs -->
					</div>
					</div>
					<?php if ($is_ie7 == "no") { ?>
					<div style="float:right;">
						<div class="s5_nicewrap_inner_mtr"></div>
						<div class="s5_nicewrap_inner_mbm"></div>
						<div class="s5_nicewrap_inner_mbr"></div>
					</div>
					<?php } ?>
					<?php if ($is_ie7 == "no") { ?>
					<div class="s5_nicewrap_stmwrap">
					<div class="s5_nicewrap_stm"></div>
					</div>
					<?php } ?>

				</div>
				</div>
				<div style="clear:both;"></div>
			</div>
			<?php } ?>

			<!-- Main Body -->
			<div style="width:100%;overflow:hidden;background:#<?php echo $s5_mbbackcolor; ?>;">
				<div id="s5_mainbodyfullw">
				<div id="s5_mainbodywrapper">
				<div <?php if($this->countModules('breadcrumb')) { ?>id="s5_mainbody"<?php } else {?>id="s5_mainbodybread"<?php } ?>>
					<div id="s5_middlecolwrap">
								<div class="s5_mainmiddleinnerwrap">
									<div id="s5_getmaincolheight">
										<div class="s5_mainmiddle_padding">

											<div id="s5_abovebodyusers">

											<?php if($this->countModules('user1') || $this->countModules('user2')) { ?>
												<div id="s5_positions">
													<?php if($this->countModules('user1')) { ?>
														<div id="s5_user1_<?php echo $user23; ?>">
															<jdoc:include type="modules" name="user1" style="round_box" />
														</div>
													<?php } ?>
													<?php if($this->countModules('user2')) { ?>
														<div id="s5_user2_<?php echo $user23; ?>">
															<jdoc:include type="modules" name="user2" style="round_box" />
														</div>
													<?php } ?>
												</div>
												<div style="clear:both;"></div>
											<?php } ?>
											</div>




											<div <?php if($this->countModules('inset')) { ?>id="s5_bodygradient"<?php } else {?>id="s5_bodygradientnoin"<?php } ?>>

											<div <?php if($this->countModules('inset')) { ?>style="margin-right:<?php echo ($s5_inset_width) + 20;?>px;position:relative;float:left;left:0;"<?php } ?>>
												<div style="clear:both;"></div>
												<?php
														$s5_domain = $_SERVER['HTTP_HOST'];
$s5_url = "http://" . $s5_domain . $_SERVER['REQUEST_URI'];

$s5_frontpage = "yes";
$s5_current_page = "";
$s5_menu_fp = & JSite::getMenu();

if ($s5_menu_fp->getActive() == $s5_menu_fp->getDefault()) {
	$s5_current_page = "frontpage";
}
if ($s5_menu_fp->getActive() != $s5_menu_fp->getDefault()) {
	$s5_current_page = "not_frontpage";
}
if ($s5_show_frontpage == "no" && $s5_current_page == "frontpage") {
	$s5_frontpage = "no";
}

												?>


												<?php if ($s5_frontpage == "yes") { ?>
												<jdoc:include type="message" />
												<jdoc:include type="component" />
												<?php } ?>
											</div>
											<?php if($this->countModules('inset')) { ?>
											<div id="s5_inset" style="padding-right:10px;float:right;margin-left:-<?php echo ($s5_inset_width) + 10;?>px;width:<?php echo ($s5_inset_width) - 10;?>px;">
												<div style="clear:both;"></div>
												<jdoc:include type="modules" name="inset" style="round_box" />
											</div>
											<?php } ?>
												<div style="clear:both;"></div>
											</div>
											<div style="clear:both;"></div>
										</div>
									</div>

								<div style="clear:both;"></div>
							</div>
						</div>
					</div>
				</div>



				<?php if($this->countModules('left')) { ?>
				<div id="s5_leftcolumn" style="width:<?php echo ($s5_left_width) + 1;?>px;">
					<div style="clear:both;"></div>
					<div class="s5_whitemodleftwrap">
						<div class="s5_whitemodrightwrap">
							<div class="s5_backmiddlemiddle_r" style="width:<?php echo ($s5_left_width) - 13;?>px;">
								<jdoc:include type="modules" name="left" style="round_box" />
							<div style="clear:both;"></div>
							</div>
						</div>
					</div>
					<div style="clear:both;"></div>

				</div>
				<?php } ?>


				<?php if($this->countModules('right')) { ?>
				<div id="s5_rightcolumn" style="width:<?php echo ($s5_right_width) + 1;?>px;margin-left:-<?php if($this->countModules('left') && $this->countModules('right')) { echo (($s5_right_width) + ($s5_left_width) + 15); } else { echo ($s5_right_width) + 1; } ?>px;">
					<div class="s5_whitemodleftwrap">
						<div class="s5_whitemodrightwrap">
							<div class="s5_backmiddlemiddle_r" style="width:<?php echo ($s5_right_width) - 13;?>px;">

									<jdoc:include type="modules" name="right" style="round_box" />

								<div style="clear:both;"></div>
							</div>
						</div>
					</div>
				</div>
				<?php } ?>



				<?php if($this->countModules('contentbottom1') || $this->countModules('contentbottom2') || $this->countModules('contentbottom3')) { ?>
				<div style="clear:both;"></div>
				<div class="s5_w_modwrap" style="width:50%;">
					<!-- Start User 1-3 -->
							<?php if($this->countModules('contentbottom1')) { ?>
								<div id="s5_contentbottom1_<?php echo $contentbottom; ?>">
									<jdoc:include type="modules" name="contentbottom1" style="round_box" />
								</div>
							<?php } ?>
							<?php if($this->countModules('contentbottom2')) { ?>
								<div id="s5_contentbottom2_<?php echo $contentbottom; ?>">
									<jdoc:include type="modules" name="contentbottom2" style="round_box" />
								</div>
							<?php } ?>
							<?php if($this->countModules('contentbottom3')) { ?>
								<div id="s5_contentbottom3_<?php echo $contentbottom; ?>">
									<jdoc:include type="modules" name="contentbottom3" style="round_box" />
								</div>
							<?php } ?>
							<div style="clear:both;"></div>
					<!-- EndUser 1-3 -->
				</div>


				<div style="clear:both;"></div>
				<?php } ?>
				</div>

			</div>



			<!-- End Main Body -->


			<?php if($this->countModules('advert1') || $this->countModules('advert2') || $this->countModules('advert3')) { ?>
			<div class="s5_nicewrap" <?php if ($is_ie7 == "yes") { ?>style="margin-top:-8px;padding-bottom:8px;"<?php } ?>>
				<div class="s5_nicewrap_inner">
				<div class="s5_nicewrap_innerl">
					<?php if ($is_ie7 == "no") { ?>
					<div style="float:left;">
						<div class="s5_nicewrap_inner_mtl"></div>
						<div class="s5_nicewrap_inner_mtm" id="s5_setheightleft"></div>
						<div class="s5_nicewrap_inner_mbl" id="s5_setmargintopleft"></div>
					</div>
					<?php } ?>
					<div style="float:left;">
					<div class="s5_nicewrap_innerr" id="s5_getheight">

						<!-- Adverts -->
						<div class="s5_w_modwrap">
							<?php if($this->countModules('advert1')) { ?>
							<div id="s5_advert1_<?php echo $advert; ?>">
								<jdoc:include type="modules" name="advert1" style="round_box" />
							</div>
							<?php } ?>
							<?php if($this->countModules('advert2')) { ?>
							<div id="s5_advert2_<?php echo $advert; ?>">
								<jdoc:include type="modules" name="advert2" style="round_box" />
							</div>
							<?php } ?>
							<?php if($this->countModules('advert3')) { ?>
							<div id="s5_advert3_<?php echo $advert; ?>">
								<jdoc:include type="modules" name="advert3" style="round_box" />
							</div>
							<?php } ?>
							<div style="clear:both;"></div>
						</div>
						<!-- End Adverts -->
					</div>

					</div>
					<?php if ($is_ie7 == "no") { ?>
					<div style="float:right;">
						<div class="s5_nicewrap_inner_mtr"></div>
						<div class="s5_nicewrap_inner_mbm" id="s5_setheightright"></div>
						<div class="s5_nicewrap_inner_mbr" id="s5_setmargintopright"></div>
					</div>
					<?php } ?>

					<?php if ($is_ie7 == "no") { ?>
					<div class="s5_nicewrap_stmwrap" id="s5_setheightshad">
					<div class="s5_nicewrap_stm"></div></div>
					<?php } ?>

				</div>
				</div>
				<div style="clear:both;"></div>
			</div>
			<?php if ($is_ie7 == "no") { ?>
			<script type="text/javascript">
				function s5_load_pos() {
				var posmain = 0;
				posmain = document.getElementById("s5_getheight").offsetHeight;
				document.getElementById("s5_setheightright").style.height = posmain + "px";
				document.getElementById("s5_setheightleft").style.height = posmain + "px";
				document.getElementById("s5_setmargintopright").style.marginTop = posmain + "px";
				document.getElementById("s5_setmargintopleft").style.marginTop = posmain + "px";
				document.getElementById("s5_setheightshad").style.top = posmain + "px";
				window.setTimeout('s5_load_pos()', 1000);}
				s5_load_pos();
			</script>
			<?php } ?>
			<?php } ?>




			<?php if($this->countModules('user3') || $this->countModules('user4') || $this->countModules('user5') || $this->countModules('user6') || $this->countModules('user7')) { ?>
			<div id="s5_gradientusers">
				<!-- Bottom Modules -->
					<div class="s5_backmiddlemiddle">
						<?php if($this->countModules('user3')) { ?>
							<div id="s5_user3_<?php echo $bottom4; ?>" class="s5_userpositions" style="width:<?php echo $bottom4; ?>%">
								<jdoc:include type="modules" name="user3" style="round_box" />
							</div>
						<?php } ?>
						<?php if($this->countModules('user4')) { ?>
							<div id="s5_user4_<?php echo $bottom4; ?>" class="s5_userpositions" style="width:<?php echo $bottom4; ?>%">
								<jdoc:include type="modules" name="user4" style="round_box" />
							</div>
						<?php } ?>
						<?php if($this->countModules('user5')) { ?>
							<div id="s5_user5_<?php echo $bottom4; ?>" class="s5_userpositions" style="width:<?php echo $bottom4; ?>%">
								<jdoc:include type="modules" name="user5" style="round_box" />
							</div>
						<?php } ?>
						<?php if($this->countModules('user6')) { ?>
							<div id="s5_user6_<?php echo $bottom4; ?>" class="s5_userpositions" style="width:<?php echo $bottom4; ?>%">
								<jdoc:include type="modules" name="user6" style="round_box" />
							</div>
						<?php } ?>
						<?php if($this->countModules('user7')) { ?>
							<div id="s5_user7_<?php echo $bottom4; ?>" class="s5_userpositions" style="width:<?php echo $bottom4; ?>%">
								<jdoc:include type="modules" name="user7" style="round_box" />
							</div>
						<?php } ?>
						<?php if($this->countModules('user8')) { ?>
							<div id="s5_user8_<?php echo $bottom4; ?>" class="s5_userpositions" style="width:<?php echo $bottom4; ?>%">
								<jdoc:include type="modules" name="user8" style="round_box" />
							</div>
						<?php } ?>
						<div style="clear:both;"></div>
					</div>
				<!-- End Bottom Modules -->
			</div>
			<?php } else if($this->countModules('advert1') || $this->countModules('advert2') || $this->countModules('advert3')) { ?><br/><?php } ?>


			</div>
		</div>
	</div>
	<div id="s5_menubackbl">
		<div id="s5_menubackbr">
			<div id="s5_menubackbm"></div>
		</div>
	</div>

	<div id="s5_footergrad">
		<?php if (($s5_tweetwithusl  != "") || ($s5_rssl  != "")) { ?>
		<div id="s5_rsstwitter">
			<?php if ($s5_tweetwithusl  != "") { ?>
				<div id="s5_twittericon" onclick="window.open('<?php echo $s5_tweetwithusl; ?>')"></div>
			<?php } ?>
			<?php if ($s5_rssl  != "") { ?>
				<div id="s5_rssicon"  onclick="window.open('<?php echo $s5_rssl; ?>')"></div>
			<?php } ?>
		</div>
		<?php } ?>
		<div id="s5_footcopy">
			<?php include("templates/fusion/footer.php"); ?>
		</div>
	</div>




	<div style="height:30px;clear:both;"></div>

</div>
</div>
</div>
<?php if (($s5_menu  == "1") || ($s5_menu  == "2") || ($s5_menu  == "3") || ($s5_menu  == "4")) { ?>
<script type="text/javascript" src="<?php echo $LiveSiteUrl;?>templates/fusion/js/s5_suckerfish.js"></script>
<?php } ?>
<?php if ($s5_tooltips  == "yes") { ?>
<script type="text/javascript" src="<?php echo $LiveSiteUrl;?>templates/fusion/js/tooltips.js"></script>
<?php } ?>
<?php if($this->countModules('debug')) { ?>
	<jdoc:include type="modules" name="debug" style="xhtml" />
<?php } ?>
<?php if (($s5_menu  == "1") || ($s5_menu  == "2") || ($s5_menu  == "3") || ($s5_menu  == "4")) { ?>
<?php if ($s5_subtext == "yes") { ?>
	<script type="text/javascript" src="<?php echo $LiveSiteUrl;?>/templates/fusion/js/s5_textmenu.js"></script>
<?php } ?>
<?php } ?> 
</body>
</html>