sfHover = function() {	var sfEls = document.getElementById("port").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);//////////////////////////////////////////function imageSwap04(TRGT, DRTRY) {	document.getElementById('mainImage').src=DRTRY + "/images/" + TRGT + ".jpg";	}//////////////////////////////////////////function imageSwap02(TRGT, DRTRY) {	document.getElementById('mainImage').src=DRTRY + "/install/" + TRGT + ".jpg";	}//////////////////////////////////////////function imageSwap01(TRGT, DRTRY){	document.getElementById('mainImage').src="http://www.jeffreywolin.com/images/loading.gif";			var nImage =new Image();	nImage.onload = function(){goSwap(TRGT, DRTRY)};	nImage.src = DRTRY + "/images/" + TRGT + ".jpg";	}	function goSwap(TRGT, DRTRY) {	document.getElementById('mainImage').src=DRTRY + "/images/" + TRGT + ".jpg";	}	function loadRandom() {var selectOne = Math.round(2*Math.random() +1)document.getElementById('imageOne').src="faces/images/" + selectOne + "t_on.jpg"var selectTwo = Math.round(2*Math.random() +1)document.getElementById('imageTwo').src="ancient/images/" + selectTwo + "t_on.jpg"var selectThree = Math.round(2*Math.random() +1)document.getElementById('imageThree').src="stories/images/" + selectThree + "t_on.jpg"var selectFour = Math.round(2*Math.random() +1)document.getElementById('imageFour').src="written/images/" + selectFour + "t_on.jpg"var selectFive = Math.round(2*Math.random() +1)document.getElementById('imageFive').src="images/vietnam/" + selectFive + ".jpg"var selectSix = Math.round(2*Math.random() +3)document.getElementById('imageSix').src="faces/images/" + selectSix + "t_on.jpg"var selectSeven = Math.round(2*Math.random() +3)document.getElementById('imageSeven').src="ancient/images/" + selectSeven + "t_on.jpg"var selectEight = Math.round(2*Math.random() +3)document.getElementById('imageEight').src="stories/images/" + selectEight + "t_on.jpg"var selectNine = Math.round(2*Math.random() +3)document.getElementById('imageNine').src="written/images/" + selectNine + "t_on.jpg"var selectTen = Math.round(2*Math.random() +3)document.getElementById('imageTen').src="images/vietnam/" + selectTen + ".jpg"var selectEleven = Math.round(2*Math.random() +6)document.getElementById('imageEleven').src="ancient/images/" + selectEleven + "t_on.jpg"var selectTwelve = Math.round(2*Math.random() +6)document.getElementById('imageTwelve').src="stories/images/" + selectTwelve + "t_on.jpg"var selectThirteen = Math.round(2*Math.random() +6)document.getElementById('imageThirteen').src="images/vietnam/" + selectThirteen + ".jpg"var selectFourteen = Math.round(2*Math.random() +5)document.getElementById('imageFourteen').src="faces/images/" + selectFourteen + "t_on.jpg"var selectFifteen = Math.round(2*Math.random() +6)document.getElementById('imageFifteen').src="written/images/" + selectFifteen + "t_on.jpg"}//////////////////////////////////////////////////   Rollover Scripts   //////////////var Hots, swapsrc, swapimg// swap infunction rin(which){	swapimg = document.images[which]	swapsrc = swapimg.src	swapimg.src = Hots[which].src}// swap outfunction sout(){	swapimg.src = swapsrc}  function Initialize(){  var HotList = [["1t_off", "1t_on"],["2t_off", "2t_on"],["3t_off", "3t_on"],["4t_off", "4t_on"],["5t_off", "5t_on"],["6t_off", "6t_on"],["7t_off", "7t_on"],["8t_off", "8t_on"],["9t_off", "9t_on"],]  Hots = new Object()    for (i = 0; i < HotList.length; i++)  {    img = new Image();    img.src = HotList[i][1]    Hots[HotList[i][0]]=img   }}Initialize()///////////////////////////////////////////