function showLargeImg(filePath,width,height) {
	var ititle = "Those Doolittles" ;
	var winHeight = height + 20;
	var win = window.open("","imageviewer","width="+width+",height="+winHeight+",menubar=no,toolbar=no,top=25,left=25");
	win.document.open();
	win.document.write("<html><head><title>"+ititle+"</title>");
	win.document.write("</head><body style='padding:0;margin:0;background-color:#000;'>");
	win.document.write("<a href='javascript:void(0);' onBlur=\"self.close()\" onClick=\"self.close()\" style=\"color:#fff; font-weight:bold;\">Click to Close</a><br clear='all' />");
	win.document.write('<div style="width:'+width+'px;height:'+height+'px;left:0px;top:0px">');
	win.document.write("<img src=\""+unescape(filePath)+"\"></div></body></html>");
	win.focus();
	win.document.close();
//	 + ',toolbars=0, menubar=0,scrollbars=1,resizable=1
}

function siteTicker(name, outerDivID, innerDivID, width, shiftBy, interval, dataArray, numItems) {
	this.name			= name;

	this.outerDivID		= outerDivID;
	this.innerDivID		= innerDivID;
	this.width			= width;
	this.shiftBy		= shiftBy;
	this.interval		= interval;

	this.outerDiv		= document.getElementById(outerDivID);
	this.innerDiv		= document.getElementById(innerDivID);
	this.runID			= null;

	// Start from the right side of the outer div
	this.startAt		= width;
	this.currentLeft	= width;

	// Populate the inner div
	siteTickerParse(dataArray, this.innerDiv, numItems);

	//Show it
	this.innerDiv.style.visibility = 'visible';
}

function siteTickerStart() {
	this.stop();
	this.currentLeft -= this.shiftBy;

	if (this.currentLeft < -this.innerDiv.offsetWidth) {
		this.currentLeft = this.startAt;
	}

	this.innerDiv.style.left = (this.currentLeft + 'px');
	this.runID = setTimeout(this.name + '.start()', this.interval);
}
function siteTickerStop() {
	if (this.runID)
		clearTimeout(this.runID);
	this.runID = null;
}

siteTicker.prototype.start			= siteTickerStart;
siteTicker.prototype.stop			= siteTickerStop;

function siteTickerParse(dataArray, div, numItems) {
	var separator = "<span class=\"tickerSeparator\">&diams;</span>";
	var tickerTextString = separator;
	for (var i = 0; i < numItems; i++) {
		var data = dataArray[i].split('|');
		if (data[1]) {
			tickerTextString += "<a href=\"" + data[1] + "\">";
		}
		tickerTextString += data[0];
		if (data[1]) {
			tickerTextString += "</a>";
		}
		if (i != (numItems - 1)) {
			tickerTextString += separator;
		}
	}
	tickerTextString += '<span class="attributeTag">(ThoseDoolittles.com: 212-937-3631)</span>';	
	div.innerHTML = tickerTextString;
}