function on(what)
	{
	var d = document.getElementById(what + 'a');
	
	d.src = '/img/subbullet_on.png';
	
	}
function off(what)
	{
	var d = document.getElementById(what + 'a');
		d.src = '/img/subbullet.png';
	}
function cursor()
	{
		document.getElementById('circle1').style.cursor="pointer";
		document.getElementById('circle2').style.cursor="pointer";
		document.getElementById('circle3').style.cursor="pointer";
	}
var img=new Array(5);
var thumb=new Array(5);
var tBoxTitle=new Array(5);
var tBoxCopy=new Array(5);

function switchimg(what)			

	{

		img[0] = img[what];
		thumb[0] = thumb[what];
		tBoxTitle[0] = tBoxTitle[what];
		tBoxCopy[0] = tBoxCopy[what];


		
		img[what] = img[4];
		thumb[what] = thumb[4];
		tBoxTitle[what] = tBoxTitle[4];
		tBoxCopy[what] = tBoxCopy[4];
		
				
		img[4] = img[0];
		thumb[4] = thumb[0];
		tBoxTitle[4] = tBoxTitle[0];
		tBoxCopy[4] = tBoxCopy[0];
		
				
		var d = document.getElementById('circle'+what);
		var m = document.getElementById('maininner');
		var tb = document.getElementById('transparentbox');
		
		m.style.background = "url(" + img[0] + ")";
		m.style.backgroundRepeat="no-repeat";
		m.style.backgroundPosition="top right";
		
		tb.innerHTML = '<div class="title">	' + tBoxTitle[0] + ' </div> ' + tBoxCopy[0] + ''
		
		if (ie == 0)
			{
				d.innerHTML = '<img src="' + thumb[what] + '" width="85" height="85" alt="">'			
				
			}else{
				d.innerHTML = '<img src="/img/b.png" width="85" height="85" alt="" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'' + thumb[what] + '\', sizingMethod=\'scale\');">';
			}
		
		
	}
	
function addAttendee() {
	var hold = document.getElementById('holder');
	var count = document.getElementById('counter');
	var nextcount = parseInt(count.value) + 1;
	
	count.value = nextcount;
	
	document.getElementById('counter').value = nextcount;
	
	var newAttendeeName = document.createElement('div');
	
	newAttendeeName.setAttribute('class', 'question');
	newAttendeeName.innerHTML = '<div class="red">Attendee ' + nextcount + ' Name</div><div><input type="text" name="name' + nextcount + '" class="formtextinput" size="30"></div>';
	
	hold.appendChild(newAttendeeName);
	
	var newAttendeeEmail = document.createElement('div');
	
	newAttendeeEmail.setAttribute('class', 'question');
	newAttendeeEmail.innerHTML = '<div class="red">Attendee ' + nextcount + ' Email Address</div><div><input type="text" name="email' + nextcount + '" class="formtextinput" size="30"></div>';
	
	hold.appendChild(newAttendeeEmail);
}