var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-713803-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  
  
var clients = new Array();
clients[0] = 'NS Surfboards';
clients[1] = 'Incandescence';
clients[2] = 'Jackie Stanley';
clients[3] = 'National Lobster Hatchery';
clients[4] = 'The Foam Asylum';
clients[5] = 'Kulfi Kids';
clients[6] = 'ikandi:media';
clients[7] = 'Fusion';
clients[8] = 'Tymba Frame Systems';
clients[9] = 'NHS';
clients[10] = 'Psychology Associates';
clients[11] = 'Nessie Maclay';
clients[12] = 'Rainbow Spirit';
clients[13] = 'Curling Contractors';
clients[14] = 'The Heat Store';
clients[15] = 'Miller Brown';
clients[16] = 'Chagford Dental Practice';
clients[17] = 'Digital Markets';

function info(panel) {
	if (panel == -1) {
		document.getElementById('info').innerHTML = '&nbsp;';
		}
	else {
		document.getElementById('info').innerHTML = clients[panel];
	}
	return;
}

function pic(iWidth, iHeight, iUrl) {
	win = window.open(iUrl, 'win', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=' + iWidth + ',height=' + iHeight + ',left=200,top=200');
	return;
}

var timer;

function timerhide(setTimer) {
	if (setTimer) {
		timer = window.setTimeout(toggle, 1000);
	}
	else {
		window.clearTimeout(timer);
	}
}

function toggle() {
	var el = document.getElementById('display');
	el.style.display = el.style.display == 'block' ? 'none' : 'block';
	
	/*
	if (el.style.display == 'block') {
		el.style.display = 'none';
	}
	else {
		el.style.display = 'block';
	}
	*/
}
