includeLibs.gmenu_layers = EXT:statictemplates/media/scripts/gmenu_layers.php


# Defining

temp.topmenu1 = HMENU
temp.topmenu1.wrap = <nobr> | </nobr>
temp.topmenu1.1 = GMENU_LAYERS
temp.topmenu1.1.target = _top
temp.topmenu1.1.NO {
  wrap =  | <img src="clear.gif" width="{$topmenu1.itemSpace}" height="1" alt="" />
  XY = [10.w]+{$topmenu1.addWidth},{$topmenu1.height}
  transparentColor = {$topmenu1.bgCol_transp}
  backColor = {$topmenu1.bgCol}

  10 = TEXT
  10.text.field = nav_title // title
  10.text.case = {$topmenu1.case}
  10.fontFile = {$topmenu1.file.fontFile}
  10.fontSize = {$topmenu1.fontSize}
  10.fontColor = {$topmenu1.fontColor}
  10.antiAlias = {$topmenu1.antialias}
  10.offset = {$topmenu1.fontOffset}

  20 = BOX
  20.color = {$topmenu1.boxColor}
  20.dimensions = 1,1,[10.w]+{$topmenu1.addWidth}-2,1

  21 = BOX
  21.color = {$topmenu1.boxColor}
  21.dimensions = 1,-1,[10.w]+{$topmenu1.addWidth}-2,1
  21.align = ,b

  22 = BOX
  22.color = {$topmenu1.boxColor}
  22.dimensions = 1,1,1,{$topmenu1.height}-2

  23 = BOX
  23.color = {$topmenu1.boxColor}
  23.dimensions = -1,1,1,{$topmenu1.height}-2
  23.align= r
}
temp.topmenu1.1.RO  < temp.topmenu1.1.NO
temp.topmenu1.1.RO = {$topmenu1.RO}
temp.topmenu1.1.RO {

  7 = BOX
  7.color = {$topmenu1.RO.bgColor}
  7.dimensions = 0,0,[10.w]+{$topmenu1.addWidth},{$topmenu1.height}

  10.fontColor = {$topmenu1.RO.fontColor}

  20 = BOX
  20.color = {$topmenu1.RO.boxColor}
  20.dimensions = 0,0,[10.w]+{$topmenu1.addWidth},2

  21 = BOX
  21.color = {$topmenu1.RO.boxColor}
  21.dimensions = 0,0,[10.w]+{$topmenu1.addWidth},2
  21.align = ,b

  22 = BOX
  22.color = {$topmenu1.RO.boxColor}
  22.dimensions = 0,0,2,{$topmenu1.height}

  23 = BOX
  23.color = {$topmenu1.RO.boxColor}
  23.dimensions = 0,0,2,{$topmenu1.height}
  23.align= r
}

temp.topmenu1.1 {
  xPosOffset = -{$topmenu1.xOffset}
  lockPosition = x
  expAll = 1

  topOffset = {$topmenu1.yOffset}
  lockPosition_adjust = {$topmenu1.itemSpace}
  directionLeft = 0
  lockPosition_addSelf=0
}

temp.topmenu1.2 = GMENU
temp.topmenu1.2.target = _top
temp.topmenu1.2.useLargestItemX = 1
temp.topmenu1.2.wrap = {$topmenu2.menuWrap}
temp.topmenu1.2.NO {
 wrap = {$topmenu2.itemWrap}

  transparentColor = {$topmenu2.bgCol_transp}
  backColor = {$topmenu2.bgCol}

  XY = |*||*| [10.w]+{$topmenu2.addWidth},{$topmenu2.height} || [10.w]+{$topmenu2.addWidth},{$topmenu2.height}-1

  10 = TEXT
  10.text.field = nav_title // title
  10.text.case = {$topmenu2.case}
  10.fontFile = {$topmenu2.file.fontFile}
  10.fontSize = {$topmenu2.fontSize}
  10.fontColor = {$topmenu2.fontColor}
  10.antiAlias = {$topmenu2.antialias}
  10.offset = {$topmenu2.fontOffset}

  30 = BOX
  30.color = {$topmenu2.lineColor}
  30.dimensions = 0,{$topmenu2.height}-1,300,1
}
temp.topmenu1.2.RO < temp.topmenu1.2.NO
temp.topmenu1.2.RO = {$topmenu2.RO}
temp.topmenu1.2.RO {
  backColor = {$topmenu2.RO.bgColor}
  10.fontColor = {$topmenu2.RO.fontColor}
  30.color = {$topmenu2.RO.lineColor}
}






# Top frame page

top.bgImg = {$background.file.top}
top.bodyTag = <body bgcolor="#FFFFFF" text="#000000">
top.bodyTagMargins = 0
top.10 = CTABLE
top.10 {
  tableParams = border="0" cellpadding="0" cellspacing="0"
  offset = {$top.offset}

  lm.1 = IMAGE
  lm.1.file = {$top.logo}
  lm.1.wrap = |<br />
  lm.1.params = vspace="4"

  lm.3 = CLEARGIF
  lm.3.width={$top.distFromLogoToMenu}

  c.1 < temp.topmenu1
}

top.20 = OTABLE
top.20.offset = {$toptitle.offset}
top.20.1 = IMAGE
top.20.1.if.isTrue = {$toptitle.enable}
top.20.1.file = GIFBUILDER
top.20.1.file {
    XY = {$toptitle.width},{$toptitle.height}
    backColor = {$toptitle.bgCol}
    transparentColor = {$toptitle.bgCol_transp}
    10=TEXT
    10.text.field = nav_title // title
    10.text.case = {$toptitle.case}
    10.fontFile = {$toptitle.file.fontFile}
    10.fontSize = {$toptitle.fontSize}
    10.fontColor = {$toptitle.fontColor}
    10.antiAlias = {$toptitle.antialias}
    10.offset = {$toptitle.fontOffset}
  }
top.20.1.wrap = |<br />


# Page object

page.bgImg = {$background.file.page}
page.bodyTagMargins = 0
page.bodyTag < styles.content.bodyTag
page.stylesheet = {$page.css}

page.10 = CTABLE
page.10.offset = {$page.offset}
page.10.cWidth={$contentWidth}
page.10.tableParams = border="0" cellpadding="10" cellspacing="0" width="{$contentWidth}"
page.10.c.TDParams = bgcolor="{$page.contentCellBgCol}"
page.10.c {
  5 < styles.content.editPanelPage
  10 < styles.content.get
  30 < styles.content.lastUpdate
  40 < styles.content.typo3_powered
}

tt_content.textpic.20.textMargin = 90




page.config.admPanel = 1
config.intTarget = {$PAGE_TARGET}
page.headerData.999 < plugin.meta
frameset.headerData.999 < plugin.meta

