<!-- noSpam 

function noSpam(user,domain) {
	locationstring = "mailto:" + user + "@" + domain;
	window.location = locationstring;
}

//-->

function mapLink()
{
location.replace="http://maps.google.com/maps?f=q&hl=en&geocode=&time=&date=&ttype=&q=750+south+4th+street+philadelphia,+pa&sll=39.939077,-75.149746&sspn=0.008456,0.01354&ie=UTF8&ll=39.939554,-75.149746&spn=0.008456,0.01354&z=16&om=1";
}


<!-- PreLoad

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		myImage = newImage("images/image.jpg");
	
		preloadFlag = true;
	}
}

//-->

<!-- Browser detection

/* IE redirect (thanks GUCCI) */

var Engine = {
  detect: function() {
    var UA = navigator.userAgent;
    this.isKHTML = /Konqueror|Safari|KHTML/.test(UA);
    this.isGecko = (/Gecko/.test(UA) && !this.isKHTML);
    this.isOpera = /Opera/.test(UA);
    this.isMSIE7 = this.isMSIE && !(/MSIE 6\./.test(UA) && !this.isOpera);
    this.isMSIE6 = this.isMSIE && !this.isMSIE7;
    this.isMSIE  = (/MSIE/.test(UA) && !this.isOpera);
    this.isWebKit3 = /AppleWebKit/.test(UA); /* && / Version\/.test(UA); */
  }
}
Engine.detect();

var Platform = {
  detect: function () {
    var OS = navigator.platform;
    this.isMac = /MacIntel|MacPPC/.test(OS);
    this.isWin = /Win32|Win64/.test(OS);
    this.isLinux = /X11|Linux i686/.test(OS);
  }
}
Platform.detect();

function browserCheck() {
	if(Engine.isMSIE && Platform.isMac) {
	location.replace('http://busstopboutique.com/upgrade.html');
  }
}

//-->


<!-- Cycle


//-->

<!-- delicious onLoad swipe

function $id(id){ if (typeof id == 'string') return document.getElementById(id); return id }

function loadEvent(f) { var old = window.onload
	if (typeof old != 'function') window.onload = f
	else { window.onload = function() { old(); f() }}
}

loadEvent(function(){
		Suggestions = new function(){
		this.html = create('div', {id: 'inline-suggestions', style: { visibility: 'hidden' },
			onmouseover: function(){ Suggestions.mouseovered = true },
			onmouseout: function(){ Suggestions.mouseovered = false }
		 })
		document.body.appendChild(this.html)
		this.clear = function(){
			this.parent = null
			this.word = {text: '', index: -1}
			this.lastValue = ''
			this.html.innerHTML = ''
		}
		
		this.show = function(o){ var me = this.html
			if (!me.firstChild) return
			var pos = 0, tagz = o.value.split(' ')
			for(var i=0; i < this.word.index; i++) { pos += tagz[i].length+1 }
			var text = o.value.substr(0, pos)
			var textWidth = getTextWidth(text, getTextStyle(o), o.parentNode)

			me.style.top = getY(o) + o.offsetHeight - 1 + 'px'

			extend(me.style, { height: 'auto', width: 'auto', overflow: 'visible' })
			var suggestHeight = getY(me) + me.offsetHeight

			if(pageScrollY() + windowHeight() < suggestHeight) {
				extend(me.style, { height: pageScrollY() + windowHeight() - getY(me) - 2 + 'px', overflow: 'auto' })
				if(me.clientWidth < me.scrollWidth) me.style.width = me.scrollWidth + (me.scrollWidth - me.clientWidth) + 'px' // get rid of horizontal scrollbars on ie overflow divs
			}

			if(maxHeight < me.offsetHeight) {
				extend(me.style, { height: maxHeight + 'px', overflow: 'auto' })
				if(me.clientWidth < me.scrollWidth) me.style.width = me.scrollWidth + (me.scrollWidth - me.clientWidth) + 'px' // get rid of horizontal scrollbars on ie overflow divs
			}
			
			me.style.left = getX(o) + textWidth + 'px' // put dropdown right below current typed tag
			if(getX(me) + me.offsetWidth > getX(o) + o.offsetWidth) { // force dropdown to right align to tags input
				me.style.left = getX(me) - (getX(me) + me.offsetWidth - getX(o) - o.offsetWidth) + 'px'
			}
			this.parent = o
			this.lastValue = o.value
			show(me)
			me.scrollTop = 0 // needs to be after becoming visible (opera)
		}
		this.hide = function(force){
			if(this.mouseovered && !force) return
			var me = this.html
			this.clear()
			invisible(me)
		}
	
	}
})


-->