					
						var randomnumber=Math.floor(Math.random()*4) + 1;
						var featnum = "feat" + randomnumber;
						var theFeat = document.getElementById(featnum);
						gotoFeature(theFeat);
						timer = setTimeout("rotate()", 6000);
					
					function rotate() {
						timer = setTimeout("rotate()", 6000);
						nextFeature();
					}
					function prevFeature() {
						var currentFeature = YAHOO.util.Dom.getElementsByClassName('current', 'a', 'featMenu')[0];
						YAHOO.util.Dom.removeClass(currentFeature, 'current');
						var featNum = parseInt(currentFeature.id.split('feat')[1]);
						featNum -= 1;
						if (featNum == 0) {
							featNum = 4;
						}
						var newFeature = "feat" + featNum;
						var a = document.getElementById(newFeature);
						YAHOO.util.Dom.addClass(a, 'current');
						YAHOO.util.Dom.getElementsByClassName('featShow')[0].className="featHide";
						var featArea = newFeature + "_area";
						var theDiv = document.getElementById(featArea);
						theDiv.className = "featShow";
					}
					function nextFeature() {
						var currentFeature = YAHOO.util.Dom.getElementsByClassName('current', 'a', 'featMenu')[0];
						YAHOO.util.Dom.removeClass(currentFeature, 'current');
						var featNum = parseInt(currentFeature.id.split('feat')[1]);
						featNum += 1;
						if (featNum == 5) {
							featNum = 1;
						}
						var newFeature = "feat" + featNum;
						var a = document.getElementById(newFeature);
						YAHOO.util.Dom.addClass(a, 'current');
						YAHOO.util.Dom.getElementsByClassName('featShow')[0].className="featHide";
						var featArea = newFeature + "_area";
						var theDiv = document.getElementById(featArea);
						theDiv.className = "featShow";
					}
					function gotoFeature(a) {
						YAHOO.util.Dom.getElementsByClassName('featShow')[0].className="featHide";
						var currentFeature = YAHOO.util.Dom.getElementsByClassName('current', 'a', 'featMenu')[0];
						YAHOO.util.Dom.removeClass(currentFeature, 'current');
						YAHOO.util.Dom.addClass(a, 'current');
						var temp = a.id;
						var temp2 = temp + "_area";
						var theDiv = document.getElementById(temp2);
						theDiv.className = "featShow";
					}
					function clearTimer() {
						clearTimeout(timer);
					}
					
					
