/*
Copyright © 2000, MaXimuS of Dynamic FX @ http://www.absolutegb.com/maximus, All Rights Reserved.
This script is only to be used for the Liniar Interactive web-site.
But can be distributed freely to anyone by me(MaXimuS) if desired.
I give premission to Liniar Interactive to deal with any copyright infringements.
*/

current=0;
xyz=-1;
IE = (document.all)
NS = (navigator.appName=="Netscape" && navigator.appVersion >= "4")

function showSub(layer, e){
if (window.hiding){setTimeout('clearTimeout(hiding)', 1);}
if (IE) {
document.all(layer).style.pixelLeft=document.body.scrollLeft+event.clientX-event.offsetX-167
document.all(layer).style.pixelTop=document.body.scrollTop+event.clientY-event.offsetY-3
showing = setTimeout('document.all("'+layer+'").style.visibility="visible"', 1)
if (document.all(layer).style.pixelLeft+document.all(layer).offsetWidth>document.body.clientWidth){
document.all(layer).style.pixelLeft=document.body.clientWidth-document.all(layer).offsetWidth}}
if (NS) {
document.layers[layer].left=e.pageX-e.layerX-160
document.layers[layer].top=e.pageY-e.layerY-0
showing = setTimeout('document.layers["'+layer+'"].visibility="show"', 1)
if (document.layers[layer].left+document.layers[layer].document.width>window.innerWidth){
document.layers[layer].left=window.innerWidth-document.layers[layer].document.width-16}}}
function showSub2(){
if (window.hiding){clearTimeout(hiding);hiding="";}
if (IE) {this.visibility="visible";}
if (NS) {this.visibility="show";}}
function hideSub(layer, header) {
if (window.showing){clearTimeout(showing);}
if (header!="head"){
hiding = setTimeout('hideSub2(\''+layer+'\')', 0)}
else {hideSub2(layer)}}
function hideSub2(layer){
if (IE) {document.all(layer).style.visibility="hidden"}
if (NS) {document.layers[layer].visibility="hide";}}

function startQuick() {
current=0;
document.write('')
document.write('<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><td>')}

function addQuick(text, link, target, subName, end) {
if (!subName) {subName="";subs=""}
else {subs=' onmouseover="showSub(\''+subName+'\', event)" onmouseout="hideSub(\''+subName+'\')"'}
if (!end) end=""; else end=""
if (current==0){
document.write('<FONT COLOR="#000000" SIZE="2" FACE="verdana"><ILAYER NAME="main'+subName+'a"><LAYER MAME="main'+subName+'b"'+subs+'><SPAN'+subs+'><A HREF="'+link+'">'+text+'</A></SPAN>'+end+'</LAYER></ILAYER>')}
else {document.write('&nbsp;<A HREF="'+link+'"><FONT COLOR="'+subFontColor+'">'+text+'</A>&nbsp;&nbsp;<BR>')}}

function endQuick() {
document.write('</td></TR></TABLE>')
document.write('')
current=1}

function startSubQuick(subName, width) {
if (!width) width=subWidth
if (IE) document.write('<DIV ID="'+subName+'" ALIGN="LEFT" STYLE="position:absolute;visibility:hidden;z-index:50;width:1;" onmouseover="showSub2()" onmouseout="hideSub(\''+subName+'\')"><TABLE CELLSPACING=0 CELLPADDING=2 BORDER=1 WIDTH="'+width+'"><TR><TD BGCOLOR="'+subBGColor+'" align=right><FONT COLOR="#000000" SIZE="2" FACE="Tahoma">')
if (NS) document.write('<LAYER TOP="0" LEFT="0" VISIBILITY="hide" NAME="'+subName+'" onmouseover="showSub2()" onmouseout="hideSub(\''+subName+'\')"><DIV><TABLE CELLSPACING=0 CELLPADDING=2 BORDER=1 WIDTH="'+width+'"><TR><TD BGCOLOR="'+subBGColor+'" align=right><FONT COLOR="#000000" SIZE="2" FACE="Tahoma">')}

function endSubQuick() {
if (IE) document.write('</TD></TR></TABLE></DIV>')
if (NS) document.write('</TD></TR></TABLE></DIV></LAYER>')
}

function makeVisible() {
}

function reload() {
location=this.location}

window.onload=makeVisible
window.onresize=reload

