/*global _gat, Animate*//*jslint bitwise: true, browser: true, eqeqeq: true, immed: true, newcap: false, nomen: false, onevar: true, plusplus: true, regexp: true, undef: true */document.addEvent('ready', function () {var i, link, links = document.links;for (i = 0; (link = links[i]); i += 1) {if (!(/mailto:/).test(link.href) && link.hostname.search(location.hostname) === -1 && (/http(s)?:/).test(link.href) || link.rel === 'pdf') {link.target = '_blank';link.title = 'Link opens in new window';}}if (document.get('paypal')) {document.get('paypal').target = '_blank';}});document.addEvent('ready', function () {var animation = function () {var animate = new Animate(this.style, 'top', Animate.easeOut, 0, -15, 0.2, 'px'), link = this;animate.onfinish = function () {var animate = new Animate(link.style, 'top', Animate.easeOut, -15, 0, 0.2, 'px');animate.start();};animate.start();}, i, link, links = document.get('#nav a') || [];for (i = 0; (link = links[i]); i += 1) {link.addEvent('mouseover', animation);}});document.addEvent('ready', function () {if (document.get('menu')) {var area, areas = document.get('map area') || [], current = document.get('#details li')[0], clear = function () {var i, li, lis = document.get('#details li') || [];for (i = 0; (li = lis[i]); i += 1) {li.style.display = 'none';}}, i, links = {'main': '01', 'about': '02', 'portfolio': '03', 'services': '04', 'contact': '05'};for (i = 0; (area = areas[i]); i += 1) {area.addEvent('mouseover', function () {current.style.display = 'none';target = document.get('#details li.' + this.className)[0];target.style.display = 'block';document.get('loc').setProperty('text', links[this.className]);current = target;});}}});document.ready();try {var pageTracker = _gat._getTracker('UA-10920048-1');pageTracker._trackPageview();} catch (e) {}
