isClicked = false;function show(target) {		if (!isClicked) {			target = document.getElementById(target);			target.style.display = 'block';		}}function hide(target) {		if (!isClicked) {			target = document.getElementById(target);			target.style.display = 'none';		}}function togglePermanent(target) {		if (isClicked) {				hide(target);		} else { show(target); }		isClicked = !isClicked;}function launchwindow(id) {		window.open ("popup.php?id="+id,"popup",		"screenX=50,screenY=50,width=1040,height=400,location=0,menubar=0,resizable=yes,scrollbars=yes,status=0,titlebar=1,toolbar=0")}function launchwindowref(target) {		window.open (target,"popup",		"screenX=50,screenY=50,width=700,height=600,location=0,menubar=0,resizable=yes,scrollbars=yes,status=0,titlebar=1,toolbar=0")}function launchwindowdeskshow() {		window.open ("images/deskshowsmall/deskshow.php", "deskshow",		"screenX=50,screenY=50,width=600,height=410,location=0,menubar=0,resizable=yes,scrollbars=yes,status=0,titlebar=1,toolbar=0")}function launchwindowflash(id) {		window.open ("popflash.php?id="+id, "flash",		"screenX=50,screenY=50,width=750,height=530,location=0,menubar=0,resizable=yes,scrollbars=yes,status=0,titlebar=1,toolbar=0")}function launchwindowtext(id) {		window.open ("poptext.php?id="+id, "text",		"screenX=50,screenY=50,width=550,height=500,location=0,menubar=0,resizable=yes,scrollbars=yes,status=0,titlebar=1,toolbar=0")}function launchbandb(id) {		window.open ("popbb.php?id="+id, "text",		"screenX=50,screenY=50,width=800,height=500,location=0,menubar=0,resizable=yes,scrollbars=yes,status=0,titlebar=1,toolbar=0")}function launchwindowmovie(id) {		window.open ("automation.php", "automation_repeat",		"screenX=50,screenY=50,width=400,height=300,location=0,menubar=0,resizable=no,scrollbars=no,status=0,titlebar=0,toolbar=0")}window.elements = new Array('eco_chair', 'computer_skills', 'wetboard', 'golf_bag', 'chair_stools', 'wakelight', 'desk', 'flash', 'gms', 'zo', 'cab', 'dostuff', 'cias', 'kath', 'bed', 'bocaflipper', 'sudokudisp', 'door', 'photobox', 'web', 'scripting', 'indesign', 'ca_movie' );function init() {	collapseAll();	cat = getQueryVariable('cat');	if (cat == null){		cat = "eco_chair";	}	expand(cat);}function expandCollapse(targetEl, action) {	targetEl = document.getElementById(targetEl);		displayStates = new Array('none', 'block');	if (action != null) {		targetEl.style.display = displayStates[action];	} else {		currentState = targetEl.style.display;		if (currentState == 'block') {			targetEl.style.display = 'none';		} else if (currentState == 'none') {			targetEl.style.display = 'block';		}	}}function expand(target) {	expandCollapse(target);	return false;}	function collapseAll() {	for (i = 0; i < window.elements.length; i++) {		expandCollapse(window.elements[i], 0);	}}function getQueryVariable(variable) {  var query = window.location.search.substring(1);  var vars = query.split("&");  for (var i=0;i<vars.length;i++) {    var pair = vars[i].split("=");    if (pair[0] == variable) {      return pair[1];    }  } }
