// JavaScript Document
/* Son of Suckerfish IE fix.
 * http://www.htmldog.com/articles/suckerfish/dropdowns/ 
 * This function fixes the lack of the :hover attribute in Internet
 * Explorer. */
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


var destinations = Array();
destinations['map'] = 'http://maps.google.com/maps?f=q&hl=en&geocode=&q=T+and+F+Camera,+1362+South+Delsea+Drive,+Vineland,+NJ+08630';
destinations['livepics'] = 'http://tandfcamera.lifepics.com/net/Default.aspx';

function newWin(which) {
	var win = window.open(destinations[which]);
}