

////////////////////////////////////////////////////////////////////////////////////////////////
//SET The Main sections of the web page here - These are where the titles are set
var arrTopBarTitle = new Array();
var arrSidebarTitle = new Array();

function GetTopBarTitle(intTopBarTitle) {
	return arrTopBarTitle[intTopBarTitle];
}

function GetSidebarTitle(intSidebarTitle) {
	return '<span class="FeatureTitleBackgroundColor">' + arrSidebarTitle[intSidebarTitle] + '</span>';
}


////////////////////////////////////////////////////////////////////////////////////////////////
//SET The Page title of the main pages	
	
	arrTopBarTitle[0] = "Collaboration . . . creating inspiring images and encouraging messages";  //Set the main title for the topbar areaw
	arrTopBarTitle[1] = "Artist Profile";  //Set the main title for the personal artist pages
	arrTopBarTitle[2] = "Marketer Profile";  //Set the main title for the personal marketer pages
	arrTopBarTitle[3] = "Artist List";  //Set the main title for the artist list pages
	arrTopBarTitle[4] = "Community Service";  //Set the main title for the artst community service pages
	arrTopBarTitle[5] = "Workshops";  //Set the main title for the artist workshop pages
	arrTopBarTitle[6] = "Artist Login";  //Set the main title for the artist login pages
	arrTopBarTitle[7] = "Artist Referral Form";  //Set the main title for the artist referral form pages
	arrTopBarTitle[8] = "Retailer Registration";  //Set the main title for the retail registration pages
	arrTopBarTitle[9] = "Tell Us Your Needs";  //Set the main title for the retail tell us your needs pages
	arrTopBarTitle[10] = "Locate Retailer";  //Set the main title for the retail location form pages
	arrTopBarTitle[11] = "Retailer Forum Login";  //Set the main title for the retail login pages
	arrTopBarTitle[12] = "Retailer Survey";  //Set the main title for the retail survey pages
	arrTopBarTitle[13] = "Newsletter - Archives";  //Set the main title for the retail survey pages
	arrTopBarTitle[14] = "Newsletter";  //Set the main title for the newsletter pages
	arrTopBarTitle[15] = "Newsletter - Current Edition";  //Set the main title for the newsletter pages
	arrTopBarTitle[16] = "Questions?";  //Set the main title for the retail question pages
	arrTopBarTitle[17] = "Special Requests";  //Set the main title for the retail special requests pages
	arrTopBarTitle[18] = "Contact Us";  //Set the main title for the retail special requests pages
	arrTopBarTitle[19] = "Announcements and Dates";  //Set the main title for the retail announcement pages

////////////////////////////////////////////////////////////////////////////////////////////////
//SET The Main sections of the web page here - These are where the titles are set

	arrSidebarTitle[0] = "Navigation";  //Set the main title for the sidebar
	arrSidebarTitle[1] = "Newsletters";  //Set the Newsletter title for the sidebar
	arrSidebarTitle[3] = "Retailers Join Us";  //Set the Retailers Initial Contact title for the sidebar
	arrSidebarTitle[4] = "Retailers Contact";  //Set the Retailers Contact title for the sidebar
	arrSidebarTitle[5] = "Artist Workshops";  //Set the Artist Workshops title for the sidebar
	arrSidebarTitle[6] = "Artists";  //Set the ARtist Communities title for the sidebar
	arrSidebarTitle[7] = "Artist Info";  //Set the Artist Personal title for the sidebar
	arrSidebarTitle[8] = "Your Voice";  //Set the Voice Your Needs title for the sidebar
	arrSidebarTitle[9] = "Artist Forum Area";  //Set the Artist Protected title for the sidebar
	arrSidebarTitle[10] = "We Work With...";  //Set the Retailer Protected title for the sidebar
	arrSidebarTitle[11] = "Featured Products";  //Set the Featured Products title for the sidebar (store)
	arrSidebarTitle[12] = "Product Categories";  //Set the Product Categories title for the sidebar (store)
	arrSidebarTitle[13] = "About Us";  //Set the About Us title for the sidebar
	arrSidebarTitle[14] = "Galleries";  //Set the Galleries title for the sidebar


// Store Popup - temporary
function win(fileName) {
     myWin = window.open('','ArdieAndFriends','directories=no,status=no,resizable=yes,toolbar=no,copyhistory=no,location=no,menubar=no,width=750,height=580,scrollbars=yes,top=0,left=0')
     myWin.location.href = fileName;
}

function affiliatewin(fileName) {
     myWin = window.open('','ArdieAndFriends','directories=no,status=no,resizable=yes,toolbar=no,copyhistory=no,location=no,menubar=no,width=350,height=250,scrollbars=yes,top=0,left=0')
     myWin.location.href = fileName;
}

//  Store information for the dropdowns?

<!--
function menu_goto( menuform )
{
     selecteditem = menuform.navi.selectedIndex ;
    newurl = menuform.navi.options[selecteditem].value ;
    if (newurl.length != 0) {
        location.href = newurl ;
    }
}//-->


// Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this notice.

// SETUPS:
// ===============================

// Set the horizontal and vertical position for the popup

PositionX = 100;
PositionY = 100;

// Set these value approximately 20 pixels greater than the
// size of the largest image to be used (needed for Netscape)

defaultWidth  = 500;
defaultHeight = 500;

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var AutoClose = true;

// Do not edit below this line...
// ================================
if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY;
function popImage(imageURL,imageTitle){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head><title>Loading...</title><style>body{margin:0px;}</style>');writeln('<sc'+'ript>');
writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=100-(document.body.clientWidth-document.images[0].width);');
writeln('height=100-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');       
writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</sc'+'ript>');
if (!AutoClose) writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
else writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
writeln('<img name="George" src='+imageURL+' style="display:block"></body></html>');
close();		
}}

    function openWin( windowURL, windowName, windowFeatures ) {
    return window.open( windowURL, windowName, windowFeatures ) ;
}

