	  window.addEvent('domready', function(){

	    var data = {
	      'kaos.png': { caption: '<span id="lt" class="title"><a href="http://www.kaosconclave.com">Kaos Conclave</a></span><span id="li" class="info">Services: Design, Development, Illustration<br/>Completed: 2008-05-30</span><span id="ld" class="desc">Kaos Conclave is a fan site for the upcoming online game <a href="http://www.kaoswar.com/">Kaos War</a>.</span>', href: '/img/big/kaos.png' },
	      'myth.png': { caption: '<span id="lt" class="title"><a href="http://www.mythosconclave.com">Mythos Conclave</a></span><span id="li" class="info">Services: Design, Development, Illustration<br/>Completed: 2008-05-20</span><span id="ld" class="desc">Mythos Conclave is a fan site for the online RPG game <a href="http://www.mythos.com/">Mythos</a>.</span>', href: '/img/big/mythos.png' }
	    };
	    var myShow = new Slideshow.Push('show', data, { controller: false, delay: 15000, duration: 800, captions: true, height: 128, hu: 'img/work/', width: 284, overlap: true, resize: false, transition: 'back:in:out' });
			$('leftarrow').addEvent('click', function(){ myShow.prev(); });
			$('rightarrow').addEvent('click', function(){ myShow.next(); });

			var list = $$('.accordion_content');
			var headings = $$('.accordion_toggle');
			var theaccordions = new Array();

			headings.each( function(heading, i) {
				var theaccordion = new Fx.Slide(list[i], { 
					duration: 500,
					transition: Fx.Transitions.linear,
					onComplete: function(request){ 
						var open = request.getStyle('margin-top').toInt();
						if(open >= 0) new Fx.Scroll(window).toElement(headings[i]);
						if(open >= 0) headings[i].setProperty('class', 'accordion_toggle_active');
					}
				});
				theaccordions[i] = theaccordion;
				heading.onclick = function(xxx){
					for(var j = 0; j < theaccordions.length; j++){
						if(j!=i) {
							theaccordions[j].slideOut();
						}
						headings[j].setProperty('class', 'accordion_toggle');
					}
					theaccordion.toggle();
					return false;
				}
				theaccordion.hide();
			});

			$('req').addEvent('submit', function(e) {
				e.stop();
				var log = $('log_res').empty();
				$('log_res').set('html', '<div id="notice">Validating your request... <br/>Please be patient.</div>');
				$('requestcont').setStyle('height', 'auto');
				$('doReq').setProperty('disabled', 'true');
				$('doReq').setStyle('color', '#A8A8A8');
				this.set('send', {
					method: 'get',
					onComplete: function(response) {
						var jsonDec = JSON.decode(response);
						doForm(jsonDec.error, jsonDec.code);
						$('doReq').removeProperty('disabled');
						$('doReq').setStyle('color', '#ffb400');
				}});
				this.send();
			});

			function doForm(err,msg) {
				$('log_res').set('html', 'doForm');
				var log = $('log_res').empty();
					if (err == true) { log.set('html', '<div id="error">Error: '+msg+'.<br/>Correct this issue and try again.</div>'); }
					else { log.set('html', '<div id="notice">Your request has been sent.<br/>Please allow 24 to 48 hours for a response.</div>'); }
			}
	  });

			function svctabSwitch(id) {
				$('tabdes').removeProperty('class');
				$('tabill').removeProperty('class');
				$('tabdev').removeProperty('class');
				$('tabbra').removeProperty('class');
				$(id).setProperty('class', 'actab');
				if (id == 'tabdes') $('svcdescin').set('html', '<img src="img/des.png" align="right">Our team of the visual artists and graphic designers deliver top-of-the-line solutions for our clients that exceed modern design standards. With thorough knowledge of HTML, XHTML, and CSS, our team focuses on innovative and creative designs.');
				if (id == 'tabill') $('svcdescin').set('html', '<img src="img/ill.png" align="right">Providing high-quality imagery is important in today\'s business and entertainment markets. Our skilled artists are ready to take on your project, be it magazine cover art, book illustation, or other material.');
				if (id == 'tabdev') $('svcdescin').set('html', '<img src="img/dev.png" align="right">Modern standards of web development require a powerful backend architecture to support its regular maintenance. With the popularity of server-side scripting and AJAX on the rise, we employ a variety of applications developed in PHP, MySQL and JavaScript.');
				if (id == 'tabbra') $('svcdescin').set('html', '<img src="img/bra.png" align="right">Your company\'s or organization\'s branding is crutial when it comes to marketing, and an effective logo design can situatate your in the global market. Our team is experienced in creating iconography for all types of situations.');
			}
