// MM functions
//
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}

// Portfolio Data
//

var identity = new Array();

for (i=0; i <7; i++) {
	identity[i]=new Array()
}

identity[0][0] = "Laughing Moon Chocolates";
identity[0][1] = "identity_theLittleDipper.gif";
identity[0][2] = "";
identity[0][3] = "";
identity[0][4] = "";
identity[0][5] = "";

identity[1][0] = "The Nutty Vermonter";
identity[1][1] = "identity_theNuttyVermonter.gif";
identity[1][2] = "";
identity[1][3] = "";
identity[1][4] = "";
identity[1][5] = "";

identity[2][0] = "The Clothes Exchange";
identity[2][1] = "identity_theClothesExchange.gif";
identity[2][2] = "";
identity[2][3] = "Visit a fun cause that we support.";
identity[2][4] = "http://www.theclothesexchange.org";
identity[2][5] = "";

identity[3][0] = "Inside Edge Software";
identity[3][1] = "identity_insideEdgeSoftware.gif";
identity[3][2] = "";
identity[3][3] = "";
identity[3][4] = "";
identity[3][5] = "";

identity[4][0] = "Stillpoint Therapeutic Massage & Bodywork";
identity[4][1] = "identity_stillpoint.gif";
identity[4][2] = "";
identity[4][3] = "";
identity[4][4] = "";
identity[4][5] = "";

identity[5][0] = "Fletcher Allen Health Care";
identity[5][1] = "identity_bowlingForMiracles.gif";
identity[5][2] = "";
identity[5][3] = "";
identity[5][4] = "";
identity[5][5] = "";

identity[6][0] = "Vermont Transportation Authority";
identity[6][1] = "identity_champlainFlyer.gif";
identity[6][2] = "";
identity[6][3] = "";
identity[6][4] = "";
identity[6][5] = "caption_workPKA.gif";


var pprint = new Array();

for (i=0; i <6; i++) {
	pprint[i]=new Array()
}

pprint[0][0] = "Cabot Creamery";
pprint[0][1] = "print_cabotCatalog.jpg";
pprint[0][2] = "Cabot Mail Order Gift Catalog";
pprint[0][3] = "";
pprint[0][4] = "";
pprint[0][5] = "caption_honorCabot.gif";

pprint[1][0] = "Fletcher Allen Health Care";
pprint[1][1] = "print_FAHCAnnualReport2.jpg";
pprint[1][2] = "Annual Report";
pprint[1][3] = "";
pprint[1][4] = "";
pprint[1][5] = "";

pprint[2][0] = "Copeland Furniture";
pprint[2][1] = "print_copelandSheets.jpg";
pprint[2][2] = "Product Sell Sheets";
pprint[2][3] = "";
pprint[2][4] = "";
pprint[2][5] = "";

pprint[3][0] = "Cabot Creamery";
pprint[3][1] = "print_cabotCalendar.jpg";
pprint[3][2] = "Desk Calendar";
pprint[3][3] = "";
pprint[3][4] = "";
pprint[3][5] = "caption_honorCabot.gif";

pprint[4][0] = "Image Relay";
pprint[4][1] = "print_imageRelay.jpg";
pprint[4][2] = "Capabilities Brochure";
pprint[4][3] = "";
pprint[4][4] = "";
pprint[4][5] = "";

pprint[5][0] = "Fletcher Allen Health Care";
pprint[5][1] = "print_FAHCVein.jpg";
pprint[5][2] = "Vein Center Brochure";
pprint[5][3] = "";
pprint[5][4] = "";
pprint[5][5] = "";

var packaging = new Array();

for (i=0; i <6; i++) {
	packaging[i]=new Array()
}

packaging[0][0] = "The Nutty Vermonter";
packaging[0][1] = "packaging_nuttyJars.jpg";
packaging[0][2] = "";
packaging[0][3] = "";
packaging[0][4] = "";
packaging[0][5] = "";

packaging[1][0] = "The Nutty Vermonter";
packaging[1][1] = "packaging_nuttyBags.jpg";
packaging[1][2] = "";
packaging[1][3] = "";
packaging[1][4] = "";
packaging[1][5] = "";

packaging[2][0] = "Cabot Creamery";
packaging[2][1] = "packaging_cabotVintage.jpg";
packaging[2][2] = "";
packaging[2][3] = "";
packaging[2][4] = "";
packaging[2][5] = "";

packaging[3][0] = "Cabot Creamery";
packaging[3][1] = "packaging_cabotYogurt.jpg";
packaging[3][2] = "";
packaging[3][3] = "";
packaging[3][4] = "";
packaging[3][5] = "";

packaging[4][0] = "Cabot Creamery";
packaging[4][1] = "packaging_cabotRedFatCheese.jpg";
packaging[4][2] = "";
packaging[4][3] = "";
packaging[4][4] = "";
packaging[4][5] = "";

packaging[5][0] = "Shelburne Vineyards";
packaging[5][1] = "packaging_shelburneVineyards.jpg";
packaging[5][2] = "";
packaging[5][3] = "";
packaging[5][4] = "";
packaging[5][5] = "";

var advertising = new Array();

for (i=0; i <6; i++) {
	advertising[i]=new Array()
}

advertising[0][0] = "Cabot Creamery";
advertising[0][1] = "advertising_cabotMcCadam.jpg";
advertising[0][2] = "";
advertising[0][3] = "";
advertising[0][4] = "";
advertising[0][5] = "";

advertising[1][0] = "Fletcher Allen Health Care";
advertising[1][1] = "advertising_FAHC.jpg";
advertising[1][2] = "";
advertising[1][3] = "";
advertising[1][4] = "";
advertising[1][5] = "";

advertising[2][0] = "Cabot Creamery";
advertising[2][1] = "advertising_cabotRedFatCheese.jpg";
advertising[2][2] = "";
advertising[2][3] = "";
advertising[2][4] = "";
advertising[2][5] = "";

advertising[3][0] = "Vermont Department of Tourism";
advertising[3][1] = "advertising_vermontTourism.jpg";
advertising[3][2] = "";
advertising[3][3] = "";
advertising[3][4] = "";
advertising[3][5] = "caption_workPKA.gif";

advertising[4][0] = "Shelburne Vineyards";
advertising[4][1] = "advertising_shelburneVineyards.jpg";
advertising[4][2] = "";
advertising[4][3] = "";
advertising[4][4] = "";
advertising[4][5] = "";

advertising[5][0] = "Alpine Shop";
advertising[5][1] = "advertising_alpineShop.jpg";
advertising[5][2] = "";
advertising[5][3] = "";
advertising[5][4] = "";
advertising[5][5] = "caption_workPKA.gif";

var web = new Array();

for (i=0; i < 5; i++) {
	web[i]=new Array()
}

web[0][0] = "GVV Architects";
web[0][1] = "web_gvvArchitects.jpg";
web[0][2] = "Web Site";
web[0][3] = "see the site";
web[0][4] = "http://www.gvvarchitects.com";
web[0][5] = "";

web[1][0] = "Vermont State Parks";
web[1][1] = "web_forestsAndParks.gif";
web[1][2] = "T-Shirt";
web[1][3] = "";
web[1][4] = "";
web[1][5] = "";

web[2][0] = "Bleu Sky Creative";
web[2][1] = "web_bscCoasters.jpg";
web[2][2] = "Self Promotion";
web[2][3] = "";
web[2][4] = "";
web[2][5] = "caption_honorBksy.gif";

web[3][0] = "OCM";
web[3][1] = "web_ocmTradeshow.jpg";
web[3][2] = "Trade Show Display";
web[3][3] = "";
web[3][4] = "";
web[3][5] = "";

web[4][0] = "The Clothes Exchange";
web[4][1] = "web_clothesExchange.jpg";
web[4][2] = "Web Site";
web[4][3] = "see the site";
web[4][4] = "http://www.theclothesexchange.org/index.html";
web[4][5] = "";

//Change portfolio pics and text
//
function PB_changeFeature(pos,cap) {
	var i= pos-1;
	var caption = "none"; 
	var ctype = "&nbsp;";
	if (cap) caption = "url(images/" + eval(pageName)[i][5] + ")";
	MM_changeProp(pageName + "Content","","backgroundImage","url(images/" + eval(pageName)[i][1] + ")","DIV");
	MM_changeProp(pageName + "Caption","","backgroundImage", caption, "DIV");
	document.getElementById("clientName").innerHTML = eval(pageName)[i][0];
	if (eval(pageName)[i][2]) document.getElementById("clientType").innerHTML = eval(pageName)[i][2]; else document.getElementById("clientType").innerHTML = "";
	if (eval(pageName)[i][4]) document.getElementById("clientSub").innerHTML = "<a href=\"" + eval(pageName)[i][4] + "\" class=\"subLink\">" + eval(pageName)[i][3] + "</a>"; else if (eval(pageName)[i][3]) document.getElementById("clientSub").innerHTML = eval(pageName)[i][3]; else document.getElementById("clientSub").innerHTML = "";
}