var Menu1 = new Array ()
var subMenu1 = new Array ()
Menu1[0] = new Array("News", "","_top", "left")
subMenu1[0] = new Array()
subMenu1[0][0] = new Array("conserts", "http://softmachine.no/prophono","_top")
Menu1[1] = new Array("Artists", "http://softmachine.no/prophono","_top", "left")
subMenu1[1] = new Array()
subMenu1[1][0] = new Array ("management", "http://softmachine.no/prophono","_top")
subMenu1[1][1] = new Array ("artists", "http://softmachine.no/prophono","_top")
subMenu1[1][2] = new Array ("booking", "http://softmachine.no/prophono","_top")
subMenu1[1][3] = new Array ("tours", "http://softmachine.no/prophono","_top")
Menu1[2] = new Array("Production", "","_top", "left")
subMenu1[2] = new Array()
subMenu1[2][0] = new Array ("Prophono Records", "http://softmachine.no/prophono","_top")
subMenu1[2][1] = new Array ("production", "http://softmachine.no/prophono","_top")
subMenu1[2][2] = new Array ("demo room", "http://softmachine.no/prophono","_top")
Menu1[3] = new Array("Contact", "","_top", "left")
subMenu1[3] = new Array()
subMenu1[3][0] = new Array ("contact room", "http://softmachine.no/prophono/?cvalue=kontakt","_top")
subMenu1[3][1] = new Array ("about", "http://softmachine.no/prophono","_top")
subMenu1[3][2] = new Array ("F.A.Q", "http://softmachine.no/prophono","_top")
subMenu1[3][3] = new Array ("public relations", "http://arild.chrmich.ath.cx/presse_aht.php","_top")
////// FORMAT MENU
menuStyle = "flat" // Menu Style (flat, 3d)
cellPadding = 3 // Cell Padding
cellBorder = 0 // Include table border (0 for no border)
verticalOffset = 0 // Vertical offset of Sub Menu.
horizontalOffset = 0 // Horizontal offset of Sub Menu.
subMenuDelay = 2 // Time sub menu stays visible for (in seconds)
subIndicate = 1
// Show if a sub menu is present (0 for "no")
indicator = "
" // Symbol to show if a sub menu is present (subIndicate must be to set to 1)
// e.g. indicator = ">"
// Main Menu Items
borderColor = "Black" // Border Colour (flat mode only)
borderHighlight = "#97BBD3" // Border Highlight Colour (3d mode only)
borderShadow = "#31556D" // Border Shadow Colour (3d mode only)
menuBackground = "Black" // Cell Background Colour
menuHoverBackground = "#FFD5D5" // Cell Background Colour on mouse rollover
fontFace = "arial" // Font Face
fontColour = "#FFFFFF" // Font Colour
fontHoverColour = "#CC0000" // Font Colour on mouse rollover
fontSize = "12pt" // Font Size
fontDecoration = "none" // Style of the link text (none, underline, overline, line-through)
fontWeight = "bold" // Font Weight (normal, bold)
// Sub Menu Items
sborderColor = "Black" // Border Colour (flat mode only)
sborderHighlight = "#E9E9E2" // Border Highlight Colour (3d mode only)
sborderShadow = "#83837C" // Border Shadow Colour (3d mode only)
smenuBackground = "#FFD5D5" // Cell Background Colour
smenuHoverBackground = "#2b83c4" // Cell Background Colour on mouse rolloverr
sfontFace = "arial" // Font Face
sfontColour = "#CC0000" // Font Colour
sfontHoverColour = "#FFFFFF" // Font Colour on mouse rollover
sfontSize = "9pt" // Font Size
sfontDecoration = "none" // Style of the link text (none, underline, overline, line-through)
sfontWeight = "bold" // Font Weight (normal, bold)
sShadow = 1
////// END FORMAT MENU
quantity = 1
////// DO NOT EDIT BELOW THIS LINE
// Browser Sniffer
var isIE = (document.getElementById && document.all)?true:false;
var isNS4 = (document.layers)?true:false;
var isNS6 = (document.getElementById && !document.all)?true:false;
var timer;
var obj = (isIE)?"document.all":"document.getElementById"
styleBorder=(menuStyle.toLowerCase() == "flat")?cellBorder:0
// Menu Styles
document.writeln ('');
// Build and show the main menu items
function showMenus(quant,definedOrientation)
{
if(definedOrientation!=""){orientation=definedOrientation}
if (orientation.toLowerCase() == "vertical"){document.writeln ('
')}
else{document.writeln ('')}
for (x=0; x')
document.writeln (' | ');
if (orientation.toLowerCase()=="vertical") document.writeln('
')
}
if (orientation.toLowerCase() == "vertical"){document.writeln ('
');}
else{document.writeln ('
');}
// Build the sub menu items
for (x=0; x 0)
{
document.writeln ('');
}
}
}
// Change colour or menu and submenu items when the mouse hovers over.
function highlightMenu(element,mainMenu,dropMenu,state,quant)
{
hoverMenu();
state=(state == "hover")?"rcMenuHover":"rcMenuStatic"
if (element == "sub")
{
for (x=0; x < eval("subMenu"+quant)[mainMenu].length; x++)
{
eval(obj+'("'+quant+'subMenu'+mainMenu+x+'").className = "rcSubMenuStatic"')
eval(obj+'("'+quant+'subLink'+mainMenu+x+'").className = "rcSubMenuStatic"')
}
eval(obj+'("'+quant+'subMenu'+mainMenu+dropMenu+'").className="rcSubMenuHover"')
eval(obj+'("'+quant+'subLink'+mainMenu+dropMenu+'").className="rcSubMenuHover"')
}
else
{
eval(obj+'("'+quant+'cell'+mainMenu+'").className = "'+state+'"')
eval(obj+'("'+quant+'mainLink'+mainMenu+'").className = "'+state+'"')
if (subIndicate == 1&&eval("subMenu"+quant)[mainMenu].length>=1)
{
eval(obj+'("'+quant+'cell'+mainMenu+'a").className = "'+state+'"')
eval(obj+'("'+quant+'mainLink'+mainMenu+'a").className = "'+state+'"')
}
}
}
// Find positioning for sub menus
function getOffset(obj, dim)
{
if(dim=="left")
{
oLeft = obj.offsetLeft-120;
while(obj.offsetParent!=null)
{
oParent = obj.offsetParent
oLeft += oParent.offsetLeft
obj = oParent
}
return oLeft
}
else if(dim=="top")
{
oTop = obj.offsetTop-160;
while(obj.offsetParent!=null)
{
oParent = obj.offsetParent
oTop += oParent.offsetTop
obj = oParent
}
return oTop
}
else if(dim=="width")
{
oWidth = obj.offsetWidth
return oWidth
}
else if(dim=="height")
{
oHeight = obj.offsetHeight
return oHeight
}
else
{
alert("Error: invalid offset dimension '" + dim + "' in getOffset()")
return false;
}
}
// Show sub menus
function popDown(quant, param, id, orientation)
{
var cellBorderOffset = (isNS6)?cellBorder:eval(cellBorder*2)
var browserAdjustment = (isNS6)?cellBorder:0
var menu;
var button;
if (id)
{
getOffset(eval(obj+'(id)'),'left');
getOffset(eval(obj+'(id)'),'top');
getOffset(eval(obj+'(id)'),'width');
getOffset(eval(obj+'(id)'),'height');
if (eval("Menu"+quant+"["+param+"][3]")=="right")
{
oLeft=oLeft
oLeft=oLeft+oWidth;
getOffset(eval(obj+'("'+quant+'MENU'+param+'")'),'width');
oLeft=oLeft-oWidth ;
alignAdjustment = cellBorder*2 + 1
}
else
{
alignAdjustment = 0
oLeft=oLeft
}
}
n = 0;
while (n < eval("Menu"+quant).length)
{
menu = quant+"MENU"+n
if (param == n)
{
theObj = eval(obj+'(menu)');
if (theObj)
{
theObj.style.visibility = "visible"
if (orientation.toLowerCase()=="vertical"){
theObj.style.left=(menuStyle.toLowerCase()=="flat")?oLeft+oWidth+cellBorder+horizontalOffset:oLeft+oWidth+cellBorderOffset+horizontalOffset;
theObj.style.top=(menuStyle.toLowerCase()=="flat")?oTop-cellBorder+verticalOffset:oTop+verticalOffset-browserAdjustment}
else{
theObj.style.left=(menuStyle.toLowerCase()=="flat")?oLeft-cellBorder+horizontalOffset+alignAdjustment:oLeft+horizontalOffset-browserAdjustment+alignAdjustment;
theObj.style.top=(menuStyle.toLowerCase()=="flat")?oTop+oHeight+cellBorder+verticalOffset:oTop+oHeight+cellBorderOffset+verticalOffset;}
}
highlightMenu('main',n,'','hover',quant)
if (eval("subMenu"+quant)[param].length > 0)
{
for (x=0; x 0)?setDelay:1
timer = setTimeout("popDown("+quant+","+(eval("Menu"+quant).length + 1)+")",delay)
}
// hyperlink emulator
function tdMouseClick(theElement)
{
eval(obj+'(theElement).click()')
}