//All scripts unless specified are copyright Poweraxis 2007-2009 - www.poweraxis.com

function doVoid()
{
}

function doSimpleMouseMenuBar1(linkNum)
{
	whichElement=eval("document.getElementById('menuBar1_" + linkNum + "')");
	//alert(whichElement);
	//alert("Hello");
	if (linkNum=='link5')
	{
		whichElement.style.borderRight="1px solid #00ff33";
		whichElement.style.color="#2E6718";
		whichElement.style.backgroundColor="#00ff66";
	}
	else
	{
		whichElement.style.backgroundColor="#ffffff";
		whichElement.style.color="#81BCE4";
	}
}

function doSimpleMouseMenuBar1Default(linkNum)
{
	whichElement=eval("document.getElementById('menuBar1_" + linkNum + "')");
	//alert(whichElement);
	//alert("Hello");
	if (linkNum=='link5')
	{
		whichElement.style.backgroundColor="#81BCE4";
		whichElement.style.border="0px solid #ffcc00";
		whichElement.style.color="#efefef";	
	}
	else
	{
		whichElement.style.backgroundColor="#81BCE4";
		whichElement.style.color="#efefef";
	}
}

var imageCall;

function doAdditionalImages(imgNum,imgNumTotal,numBgColor,allBackground,whichBigImage)
{
	for(i=1; i<=imgNumTotal; i++)
	document.getElementById("imageArea" + i).style.display="none";
	document.getElementById("imageArea" + imgNum).style.display="block";
	setTimeout((function(){bringUpImage(imgNum,whichBigImage);}),2000);
	for(j=1; j<=imgNumTotal; j++)
	{
	document.getElementById("num" + j).style.backgroundColor=allBackground;
	}
	document.getElementById("num" + imgNum).style.backgroundColor=numBgColor;
}

function bringUpImage(getImgNum,getWhichBigImage)
{
	//alert(getImgNum);
	//alert(getWhichBigImage);
	constructImage="url('./images/projects/big_project_" + getWhichBigImage + ".jpg')";
	constructDocumentSyntax=eval("document.getElementById('imageArea" + getImgNum + "')");
	//alert(constructDocumentSyntax);
	//alert(constructImage);
	constructDocumentSyntax.style.backgroundImage=constructImage;
	//if(imageCall!=null)clearTimeout(imageCall);
}

var randomQuotes = new Array();
randomQuotes[0] = "If it doesn't announce itself, it probably reeks of commonplace.<br><br>- Poweraxis";
randomQuotes[1] = "If the visual is merely overpowering, that's a handicap.<br><br>- Poweraxis";
randomQuotes[2] = "The idea should be to communicate, not to confuse with a penchant for art.<br><br>- Poweraxis";
randomQuotes[3] = "Art has to move you and design does not, unless it's a good design for a bus.<br><br>-David Hockney";
randomQuotes[4] = "Creativity is allowing yourself to make mistakes. Design is knowing which ones to keep.<br><br>-Scott Adams";
randomQuotes[5] = "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.<br><br>-Douglas Adams";
randomQuotes[6] = "Delay always breeds danger; and to protract a great design is often to ruin it.<br><br>-Miguel de Cervantes";
randomQuotes[7] = "There is always a heavy demand for fresh mediocrity. In every generation the least cultivated taste has the largest appetite.<br><br>-Paul Gauguin";
randomQuotes[8] = "Good design keeps the user happy, the manufacturer in the black and the aesthete unoffended.<br><br>-Raymond Loewy";
randomQuotes[9] = "I saw the angel in the marble and carved until I set him free.<br><br>-Michelangelo";
randomQuotes[10] = "Creative without strategy is called 'art'. Creative with strategy is called 'advertising'.<br><br>- Jef L. Richards";
randomQuotes[11] = "Great designers seldom make great advertising men, because they get overcome by the beauty of the picture - and forget that merchandise must be sold.<br><br>-James Randolph Adams";
randomQuotes[12] = "Design is art optimized to meet objectives.<br><br>-Shimon Shmueli";
randomQuotes[13] = "With function, flow, and form as basis, design is evaluated as a process culminating in an entity which intensifies comprehension.<br><br>-Ladislav Sutnar";
randomQuotes[14] = "What works good is better than what looks good. Because what works good lasts.<br><br>-Ray Eames";
randomQuotes[15] = "It’s important that design gets ‘cooked’ into the product at the start, whether you're talking about software, office space, or a web design. It's not an afterthought.<br><br>-Alan Webber";

function doRandomQuote()
{
	var whichQuote=Math.floor(Math.random()*16);
	document.writeln("<p style='text-align:left'>" + randomQuotes[whichQuote] + "</p>");
}