// ALL JAVASCRIPT WRITTEN BY MARTYN GREEN ==========// mg7een@hotmail.com//// You may use any of this this code with the condition that you// crecdit the author in the code of your website.// =================================================var loaded=0;function navSwitch (button, bstate, mstate) {	swapImage (button, -1, bstate);	swapImage ("message", -1, mstate);}function swapImage(imgName, target, state) {// swap multiple images on roll-over	if (target==-1)		target=imgName;	if (document.images && loaded==1)	{		imgSwap = eval (imgName + "_" + state + ".src");		document[target].src = imgSwap;	}}function popUpWin(pageUrl, high, wide) {//      Open a pop-up window with a user URL  if(!window.focus)return;  pageUrl= "portfolio/" + pageUrl;  var myWin=window.open(pageUrl,"name","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+wide+",height="+high);  myWin.focus();}function preLoads()  {     if (document.images)     {	perspective_off=new Image(); perspective_off.src="images/btnOurOff.gif";	perspective_on=new Image(); perspective_on.src="images/btnOurOn.gif";	collaboration_off=new Image(); collaboration_off.src="images/btnCollaborationOff.gif";	collaboration_on=new Image(); collaboration_on.src="images/btnCollaborationOn.gif";	portfolio_off=new Image(); portfolio_off.src="images/btnPortfolioOff.gif";	portfolio_on=new Image(); portfolio_on.src="images/btnPortfolioOn.gif";	message_off=new Image(); message_off.src="images/messageBlank.gif";	message_perspective=new Image(); message_perspective.src="images/messagePerspective.gif";	message_collaboration=new Image(); message_collaboration.src="images/messageCollaboration.gif";	message_portfolio=new Image(); message_portfolio.src="images/messagePortfolio.gif";	commProj_on=new Image(); commProj_on.src="images/portCommOn.gif";	commProj_off=new Image(); commProj_off.src="images/portComm.gif";	resProj_on=new Image(); resProj_on.src="images/portResOn.gif";	resProj_off=new Image(); resProj_off.src="images/portRes.gif";	loaded=1;     }}
