// JavaScript Document
function ExpandTopLevel(value)
{
	hideItem('about basic'); hideItem('portfolio content'); hideItem('accolades list'); hideItem('contact info'); hideItem('packaging portfolio buttons'), hideItem('collateral portfolio buttons'), hideItem('identity portfolio buttons'), hideItem('websites portfolio buttons'); hideItem('photography buttons'); VBCbuttons('close all'); hideItem('phototextbox');
	if (value == 'about') {
		showItem('about basic');
	} else if (value == 'portfolio') {
		showItem('portfolio content'); showItem('packaging portfolio buttons')
	} else if (value == 'accolades') {
		showItem('accolades list')
	} else if (value == 'contact') {
		showItem('contact info')
	}
}
function ExpandPortfolio(value) {
		hideItem('YaM packaging');  hideItem('YaM collateral'); hideItem('YaM identity'); hideItem('YaM websites'); hideItem('YaM view by client'); hideItem('YaM photography'); hideItem('packaging portfolio buttons'); hideItem('collateral portfolio buttons'); hideItem('identity portfolio buttons'); hideItem('websites portfolio buttons');  hideItem('photography portfolio buttons'); hideItem('vbc yolo buttons'); hideItem('photography buttons'); VBCbuttons('close all'); hideItem('phototextbox');
		if (value == 'packaging') {
			showItem('YaM packaging'); showItem('packaging portfolio buttons');
		} else if (value == 'collateral') {
			showItem('YaM collateral'); showItem('collateral portfolio buttons');
		} else if (value == 'identity') {
			showItem('YaM identity'); showItem('identity portfolio buttons');
		} else if (value == 'websites') {
			showItem('YaM websites'); showItem('websites portfolio buttons');
		} else if (value == 'view by client') {
			showItem('YaM view by client'); VBCbuttons('yolo');
		} else if (value == 'photography') {
			showItem('YaM photography'); showItem('photography buttons'); showItem('phototextbox');
		}
}
function ExpandPackaging(value)
{
	hideItem('yolo colorhouse p'); hideItem('aha toro p'); hideItem('ch-chocolates p'); hideItem('norton arnold p'); hideItem('roots remedies p'); hideItem('boost home p');
	if (value == 'yolo') {
		showItem('yolo colorhouse p');
	} else if (value == 'toro') {
		showItem('aha toro p');
	} else if (value == 'chocolates') {
		showItem('ch-chocolates p');
	} else if (value == 'norton') {
		showItem('norton arnold p');
	} else if (value == 'roots') {
		showItem('roots remedies p');
	} else if (value == 'boost') {
		showItem('boost home p');
	}
}
function ExpandCollateral(value) {
	hideItem('yolo colorhouse c'); hideItem('aha toro c'); hideItem('poetry on buses c'); hideItem('south downtown foundation c'); hideItem('wic c'); hideItem('4culture c');
	if (value == 'yolo') {
		showItem('yolo colorhouse c');
	} else if (value == 'toro') {
		showItem('aha toro c');
	} else if (value == 'poetry') {
		showItem('poetry on buses c');
	} else if (value == 'downtown') {
		showItem('south downtown foundation c');
	} else if (value == 'wic') {
		showItem('wic c');
	} else if (value =='4culture') {
		showItem('4culture c');
	}
}
	function ExpandIdentity(value) {
		hideItem('yolo colorhouse i'); hideItem('aha toro i'); hideItem('ch-chocolates i'); hideItem('norton arnold i'); hideItem('starsail cruises i'); hideItem('bkat i'); hideItem('gsi signs i'); hideItem('mary meyer i'); hideItem('roots remedies i');
		if (value == 'yolo') {
			showItem('yolo colorhouse i');
		} else if (value == 'toro') {
			 showItem('aha toro i');
		} else if (value == 'chocolates') {
			showItem('ch-chocolates i'); 
		} else if (value == 'norton') {
			showItem('norton arnold i');
		} else if (value == 'starsail') {
			showItem('starsail cruises i');
		} else if (value == 'bkat') {
			showItem('bkat i');
		} else if (value == 'gsi') {
			showItem('gsi signs i');
		} else if (value == 'meyer') {
			showItem('mary meyer i');
		} else if (value == 'roots') {
			showItem('roots remedies i');
		}
	}
	function ExpandWebsites(value) {
			hideItem('yolo colorhouse w'); hideItem ('clinkston brunner w'); hideItem('ch-chocolates w'); hideItem('wic w');
			hideItem ('roots remedies w');
			if (value == 'yolo') {
				showItem('yolo colorhouse w');
			} else if (value == 'clinkston') {
				showItem('clinkston brunner w');
			} else if (value == 'chocolates') {
				showItem('ch-chocolates w');
			} else if (value == 'wic') {
				showItem('wic w');
			} else if (value == 'roots') {
				showItem('roots remedies w');
			}
	}
	function ExpandVBC(value) {
		hideItem('yolo colorhouse vbc'); hideItem('aha toro vbc'); hideItem('poetry on buses vbc'); hideItem('ch-chocolates vbc'); hideItem('south downtown foundation vbc'); hideItem('norton arnold vbc'); hideItem('wic vbc'); hideItem('roots remedies vbc'); hideItem('boost home vbc');
		if (value == 'yolo') {
			showItem('yolo colorhouse vbc');
		} else if (value == 'toro') {
			showItem('aha toro vbc');
		} else if (value == 'poetry') {
			showItem('poetry on buses vbc');
		} else if (value == 'chocolates') {
			showItem('ch-chocolates vbc');
		} else if (value == 'downtown') {
			showItem('south downtown foundation vbc');
		} else if (value == 'norton') {
			showItem('norton arnold vbc');
		} else if (value == 'wic') {
			showItem('wic vbc');
		} else if (value == 'roots') {
			showItem('roots remedies vbc');
		} else if (value == 'boost') {
			showItem('boost home vbc');
		}
	}
	function VBCbuttons(value) {
		hideItem('vbc yolo buttons'); hideItem('vbc toro buttons'); hideItem('vbc poetry buttons'); hideItem('vbc chocolates buttons'); hideItem('vbc poetry buttons'); hideItem('vbc downtown buttons'); hideItem('vbc norton buttons'); hideItem('vbc wic buttons'); hideItem('vbc roots buttons'); hideItem('vbc boost buttons');
		if (value == 'yolo') {
			showItem('vbc yolo buttons');
		} else if (value == 'toro') {
			showItem('vbc toro buttons');
		} else if (value == 'poetry') {
			showItem('vbc poetry buttons');
		} else if (value == 'chocolates') {
			showItem('vbc chocolates buttons');
		} else if (value == 'poetry') {
			showItem('vbc poetry buttons');
		} else if (value == 'downtown') {
			showItem('vbc downtown buttons');
		} else if (value == 'norton') {
			showItem('vbc norton buttons');
		} else if (value == 'wic') {
			showItem('vbc wic buttons');
		} else if (value == 'roots') {
			showItem('vbc roots buttons');
		} else if (value == 'boost') {
			showItem('vbc boost buttons');
		}
	}
	function ChangePhotoText(value) {
		if (value == 1) {
			document.getElementById('phototextbox').innerHTML = "<p align='left'>Client: YOLO Colorhourse</p>";
		} else if (value == 2) {
			document.getElementById('phototextbox').innerHTML = "<p align='left'>Client: Six Seven Restaurant at the Edgewater Hotel</p>";
		} else if (value == 3) {
			document.getElementById('phototextbox').innerHTML = "<p align='left'>Client: Aha Toro Tequila</p>";
		}  else if (value == 4) {
			document.getElementById('phototextbox').innerHTML = "<p align='left'>Client: South Downtown Foundation</p>";
		}  else if (value == 5) {
			document.getElementById('phototextbox').innerHTML = "<p align='left'>Cave B Inn, Columbia River</p>";
		}  else if (value == 6) {
			document.getElementById('phototextbox').innerHTML = "<p align='left'>Central Oregon</p>";
		}  else if (value == 7) {
			document.getElementById('phototextbox').innerHTML = "<p align='left'>Los Angeles, California</p>";
		}  else if (value == 8) {
			document.getElementById('phototextbox').innerHTML = "<p align='left'>Client: South Downtown Foundation</p>";
		}  else if (value == 9) {
			document.getElementById('phototextbox').innerHTML = "<p align='left'>Client: 4Culture Public Art</p>";
		}  else if (value == 10) {
			document.getElementById('phototextbox').innerHTML = "<p align='left'>Client: Control Diabetes Services</p>";
		}  else if (value == 11) {
			document.getElementById('phototextbox').innerHTML = "<p align='left'>Client: Red Salon</p>";
		}  else if (value == 12) {
			document.getElementById('phototextbox').innerHTML = "<p align='left'>Client: Massachusetts WiC Program</p>";
		}
	}
