/*
Index:Home;Gallery:Gallery;ArtistFind:Find Artists;Events:Events;How_to_Page:Commission;Membership:Membership;Newsletter:Newsletter;Message_Center:Contact Us;Contribute:Contribute;ArtistForum:Cafe&Forum;PressReleases:Press;Links_Page:ASOPA&Links;
*/
/*
TEXTHIGHLIGHT:#000000;FONTFORMATITALIC:Italic;GRAPHICHIGHLIGHT:yes;BACKGROUNDHIGHLIGHT:none;TEXTMOUSEOVER:#000000;FILENAME:Square_Tab_Dignified;GRAPHIC:Sophisticated_Button;COLOR NAME *:Black;GRAPHICMOUSEOVER:yes;BACKGROUNDMOUSEOVER:none;FONTSTYLE:Haettenschweil;ORIENTATION:HORIZONTAL;NUMPAGES:12;COLOR NAME:Putty;GRAPHICSTYLE:BUTTONS;STYLENAME:Square_Tab;FONTSIZE:3;FONTCOLOR:#999999;GRAPHICCOLOR:Elegant_Button;VERTICALSPACE:10;COLORSCHEME:Dignified;HORIZONTALSPACE:10;
*/
var tabWidth = 106;
var tabHeight = 31;
var buttonsPerRow = 6; 
var nVerticalLinkGapInCell = 10;
var nHorizontalLinkGapInCell = 10;

Horizontal_Nav_Sophisticated_2buttonOnImage = new Image(tabWidth, tabHeight);
Horizontal_Nav_Sophisticated_2buttonOnImage.src = "/~site/Layout/Buttons/Elegant_Button.gif";
Horizontal_Nav_Sophisticated_2buttonOffImage = new Image(tabWidth, tabHeight);
Horizontal_Nav_Sophisticated_2buttonOffImage.src = "/~site/Layout/Buttons/Elegant_Button.gif";
function Horizontal_Nav_Sophisticated_2mouseOn(graphicName) { document.images[graphicName].src = Horizontal_Nav_Sophisticated_2buttonOnImage.src; }
function Horizontal_Nav_Sophisticated_2mouseOff(graphicName) { document.images[graphicName].src = Horizontal_Nav_Sophisticated_2buttonOffImage.src; }


function Horizontal_Nav_Sophisticated_2textMouseOn(textObj) { textObj.style.color="#000000"; }
function Horizontal_Nav_Sophisticated_2textMouseOff(textObj) { textObj.style.color="#999999"; }

function Horizontal_Nav_Sophisticated_2getMouseOverHandler(strImgName, textObjName, bIsCurrPage) {
 
if (bIsCurrPage) return '';

var strHTMLMouseOver = '';
var strHTMLMouseOut = '';

if (navigator.userAgent.indexOf("IE") != -1) {
strHTMLMouseOver += 'Horizontal_Nav_Sophisticated_2mouseOn(\'' + strImgName + '\');';
strHTMLMouseOut += 'Horizontal_Nav_Sophisticated_2mouseOff(\'' + strImgName + '\');';
}


strHTMLMouseOver += 'Horizontal_Nav_Sophisticated_2textMouseOn(' + textObjName + ');';
strHTMLMouseOut += 'Horizontal_Nav_Sophisticated_2textMouseOff(' + textObjName + ');';

return 'onMouseOver="' + strHTMLMouseOver + '" onMouseOut="' + strHTMLMouseOut + '"';
}
function Horizontal_Nav_Sophisticated_2isCurrentPage(currentPage) {
var page = new String(window.location);
var size = currentPage.length;
var tildePage = currentPage.substring(0, size - 5 ); 
tildePage += "~"; 
if(page.indexOf(currentPage) != -1 || page.indexOf(tildePage) != -1 ) { 
return true;
} else {
return false;
}
}
function Horizontal_Nav_Sophisticated_2getHTML(navID, strLinkName, strImg, strLink, nOptionNum, strImgName, bLastOption) {
var nRowIndex = 0;
var nColIndex = 0;
strImgName = strImgName + '_' + navID;

 

nRowIndex = Math.floor((nOptionNum-1)/buttonsPerRow);
nColIndex = (nOptionNum - 1) % buttonsPerRow;


var bIsCurrPage = Horizontal_Nav_Sophisticated_2isCurrentPage(strLink);
if (bIsCurrPage) {

strImg = '/~site/Layout/Buttons/Elegant_Button.gif';


strFontColor = '#000000';

} else {
strFontColor = '#999999';
}

if (navigator.userAgent.indexOf("IE") != -1) {
return Horizontal_Nav_Sophisticated_2getIEHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, strFontColor, bIsCurrPage);
} else {
return Horizontal_Nav_Sophisticated_2getNSHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, bLastOption, strFontColor, bIsCurrPage);
}
}
function goToLink(link) { parent.location = link; }
function Horizontal_Nav_Sophisticated_2getIEHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, strFontColor, bIsCurrPage) {
var strHTML;
var nLeftPos = 0;
var nTopPos = 0;
var divID = "link_text_" + strImgName;
nTopPos = (-2 * tabHeight * (nOptionNum - 1)) + ((tabHeight + nVerticalLinkGapInCell) * nRowIndex);
nLeftPos = nColIndex * (tabWidth + nHorizontalLinkGapInCell);
strHTML = '<DIV style="position:relative;top:' + nTopPos + 'px;left:'
+ nLeftPos + 'px;width:' + tabWidth + 'px;height:'+ tabHeight + 'px">';
strHTML += '<A TARGET="_parent" HREF="' + strLink + '" ';
strHTML += Horizontal_Nav_Sophisticated_2getMouseOverHandler(strImgName, divID, bIsCurrPage);
strHTML += '><IMG SRC="' + strImg + '" NAME="' + strImgName + '" WIDTH=' + tabWidth + ' HEIGHT=' + tabHeight + ' BORDER="0">';
strHTML += '</A>'
strHTML += '<DIV ALIGN="center" style="position:relative;top:-' + tabHeight + 'px;left:0px;width:' + tabWidth + 'px;height:' + tabHeight + 'px;cursor:hand" ' + Horizontal_Nav_Sophisticated_2getMouseOverHandler(strImgName, divID, bIsCurrPage) + ' onClick=goToLink("' + strLink + '")>';
strHTML += '<IMG SRC="/tp.gif" HEIGHT="' + tabHeight + '" WIDTH="1" ALIGN="absmiddle">';
strHTML += '<FONT FACE="Haettenschweil" SIZE="3">'; 
var strFormattingStart = ''; 
var strFormattingEnd = '';

strFormattingStart += '<I>';
strFormattingEnd += '</I>';


strHTML += '<SPAN ID="' + divID + '" STYLE="color:' + strFontColor + '"';
strHTML += '>' + strFormattingStart + strLinkName + strFormattingEnd + '</SPAN>';
strHTML += "</FONT></DIV></DIV>";
return strHTML;
}
function Horizontal_Nav_Sophisticated_2getNSHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, bLastOption, strFontColor, bIsCurrPage) {
var strHTML = '';
if (nOptionNum == 1) {
strHTML += '<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"';
 

var nTblWidth;
if(12 > buttonsPerRow) {
nTblWidth = (tabWidth+nHorizontalLinkGapInCell) * buttonsPerRow;
} else {
nTblWidth = (tabWidth+nHorizontalLinkGapInCell) * 12;
}

strHTML += ' WIDTH="' + nTblWidth + '"';

strHTML += '>';
}
if (nColIndex == 0) strHTML += '<TR>';
strHTML += '<TD WIDTH="'+ tabWidth + '" HEIGHT="' + tabHeight + '" ALIGN="CENTER" VALIGN="MIDDLE" BACKGROUND="' + strImg + '">';
var strFormattingStart = ''; 
var strFormattingEnd = '';

strFormattingStart += '<I>';
strFormattingEnd += '</I>';


strHTML += '<A TARGET="_parent" HREF="' + strLink + '">';
strHTML += '<FONT COLOR="' + strFontColor + '" FACE="Haettenschweil" SIZE="3">'; 
strHTML += strFormattingStart + strLinkName + strFormattingEnd + '</A></FONT>';
strHTML += '</TD>';

 
strHTML += '<TD>';
strHTML += '<IMG SRC="/tp.gif" WIDTH="'+nHorizontalLinkGapInCell+'" HEIGHT="1" BORDER="0" ALT="">';
strHTML += '</TD>';

if (bLastOption || nColIndex == buttonsPerRow - 1) strHTML += '</TR>';


if (bLastOption) strHTML += '</TABLE>';
return strHTML;
}
function Horizontal_Nav_Sophisticated_2navElement() {
if(typeof Horizontal_Nav_Sophisticated_2counter == "undefined") {
Horizontal_Nav_Sophisticated_2counter = 1;
} else {
Horizontal_Nav_Sophisticated_2counter += 1;
}
var navID = Horizontal_Nav_Sophisticated_2counter;
if (navigator.userAgent.indexOf("Mozilla/3") != -1) {
var msg = 'Sorry, since you are using an old version of Netscape, you may not be able to access all the pages in this Web site.';	
document.write(msg);
} else {
document.write(Horizontal_Nav_Sophisticated_2getHTML(navID, "Home", "/~site/Layout/Buttons/Elegant_Button.gif", "Index.html", 1, "Horizontal_Nav_Sophisticated_2GRAPHIC1", 0));
document.write(Horizontal_Nav_Sophisticated_2getHTML(navID, "Gallery", "/~site/Layout/Buttons/Elegant_Button.gif", "Gallery.html", 2, "Horizontal_Nav_Sophisticated_2GRAPHIC2", 0));
document.write(Horizontal_Nav_Sophisticated_2getHTML(navID, "Find Artists", "/~site/Layout/Buttons/Elegant_Button.gif", "ArtistFind.html", 3, "Horizontal_Nav_Sophisticated_2GRAPHIC3", 0));
document.write(Horizontal_Nav_Sophisticated_2getHTML(navID, "Events", "/~site/Layout/Buttons/Elegant_Button.gif", "Events.html", 4, "Horizontal_Nav_Sophisticated_2GRAPHIC4", 0));
document.write(Horizontal_Nav_Sophisticated_2getHTML(navID, "Commission", "/~site/Layout/Buttons/Elegant_Button.gif", "How_to_Page.html", 5, "Horizontal_Nav_Sophisticated_2GRAPHIC5", 0));
document.write(Horizontal_Nav_Sophisticated_2getHTML(navID, "Membership", "/~site/Layout/Buttons/Elegant_Button.gif", "Membership.html", 6, "Horizontal_Nav_Sophisticated_2GRAPHIC6", 0));
document.write(Horizontal_Nav_Sophisticated_2getHTML(navID, "Newsletter", "/~site/Layout/Buttons/Elegant_Button.gif", "Newsletter.html", 7, "Horizontal_Nav_Sophisticated_2GRAPHIC7", 0));
document.write(Horizontal_Nav_Sophisticated_2getHTML(navID, "Contact Us", "/~site/Layout/Buttons/Elegant_Button.gif", "Message_Center.html", 8, "Horizontal_Nav_Sophisticated_2GRAPHIC8", 0));
document.write(Horizontal_Nav_Sophisticated_2getHTML(navID, "Contribute", "/~site/Layout/Buttons/Elegant_Button.gif", "Contribute.html", 9, "Horizontal_Nav_Sophisticated_2GRAPHIC9", 0));
document.write(Horizontal_Nav_Sophisticated_2getHTML(navID, "Cafe&Forum", "/~site/Layout/Buttons/Elegant_Button.gif", "ArtistForum.html", 10, "Horizontal_Nav_Sophisticated_2GRAPHIC10", 0));
document.write(Horizontal_Nav_Sophisticated_2getHTML(navID, "Press", "/~site/Layout/Buttons/Elegant_Button.gif", "PressReleases.html", 11, "Horizontal_Nav_Sophisticated_2GRAPHIC11", 0));
document.write(Horizontal_Nav_Sophisticated_2getHTML(navID, "ASOPA&Links", "/~site/Layout/Buttons/Elegant_Button.gif", "Links_Page.html", 12, "Horizontal_Nav_Sophisticated_2GRAPHIC12", 1));

}
}
function Horizontal_Nav_Sophisticated_2netscapeDivCheck() {
var strAppName = navigator.appName;
var appVer = parseFloat(navigator.appVersion);
if ( (strAppName == "Netscape")&&
(appVer >= 4.0 && appVer < 5) ) { 
document.write("</DIV>");
}
}
var Horizontal_Nav_Sophisticated_2counter;
Horizontal_Nav_Sophisticated_2navElement();
Horizontal_Nav_Sophisticated_2netscapeDivCheck();
