//====================================================================================================
//function SetUpMainMenu() {
//	theMenuParent=document.getElementById("infomenu");
//	if (theMenuParent) {
//		theMenu=theMenuParent.getElementsByTagName("ul")[0];
//		if (theMenu) {
//			theLinks=theMenu.getElementsByTagName("a");
//			if (theLinks) {
//				theLength=theLinks.length;
//				if (theLength==6) {
//					theLinks[0].style.width="157px";
//					theLinks[1].style.width="156px";
//					theLinks[2].style.width="157px";
//					theLinks[3].style.width="157px";
//					theLinks[4].style.width="156px";
//					theLinks[5].style.width="157px";
//					
//					theLinks[0].style.backgroundColor="#c756a1";
//					theLinks[1].style.backgroundColor="#de773f";
//					theLinks[2].style.backgroundColor="#2c77bc";
//					theLinks[3].style.backgroundColor="#0eb48d";
//					theLinks[4].style.backgroundColor="#f37061";
//					theLinks[5].style.backgroundColor="#89c765";
//				}//end if (theLength==5)
//			}//end if (theLinks)
//			theMenu.style.display="block";
//		}//end if (theMenu)
//	}//end if (theMenuParent)
//}//end function
//====================================================================================================
function SetHighlights() {
	xInputs=document.getElementsByTagName("input");
	for (i=0;i<xInputs.length;i++) {
		if (xInputs[i].type=="text") {
			xInputs[i].onfocus=function() {
					if (this.defaultValue==this.value) {
						this.select();
					}//end if ()
				}//end function
			xInputs[i].onmouseup=function(){return false};//because safari is special
		}//end if (xInputs[i].type=="text")
	}//next i<xInputs.length
	xTextAreas=document.getElementsByTagName("textarea");
	for (i=0;i<xTextAreas.length;i++) {
		xTextAreas[i].onfocus=function() {
				if (this.defaultValue==this.value) {
					this.select();
				}//end if ()
			}//end function
		xTextAreas[i].onmouseup=function(){return false};//because safari is special
	}//next i<xTextAreas.length
}//end function
//====================================================================================================
window.onload=function() {
//	SetUpMainMenu();
	SetHighlights();
}//end function
//====================================================================================================


/**
 * This is all thejquery related code./
 */
jQuery(document).ready(function($) {
    $(".scrollable").scrollable({circular:true, speed: 600}).autoscroll({ autoplay: true, interval:6000 });

});
