var scroll = new Fx.Scroll('wrapper', {
			wait: false,
			duration: 1000
		}).toElement('content1');
		
		function forward(id) {
			str = "content"+id;
			scroll.toElement(str);
			c = id+1;
			d = id-1;
			
			if (c == 5) { 
			 c = 1;
			 d = 4;
			}
			
			if (d == 0) {
				d = 4;
			}


			document.getElementById('fwd').innerHTML = "<a onclick=\"forward("+c+")\"> &nbsp;&nbsp;&nbsp; </a>";
			document.getElementById('bck').innerHTML = "<a onclick=\"back("+d+")\"> &nbsp;&nbsp;&nbsp; </a>";
			
		}
		function back(id) {
			
			str = "content"+id;
			scroll.toElement(str);
			c = id-1;
			d = id+1; 
			
			if (c == 0) { 
			 c = 4; 
			}
			
			if (id == 4) d = 1;

			document.getElementById('bck').innerHTML = "<a onclick=\"back("+c+")\"> &nbsp;&nbsp;&nbsp; </a>";
			document.getElementById('fwd').innerHTML = "<a onclick=\"forward("+d+")\"> &nbsp;&nbsp;&nbsp; </a>";
		}