
		// global placeholders
		var slides = ["navBarContainer", "container"];
		var x = 0;
		var y = 0;
		var i = -200;
		var currentSlide = 0;
		var strURL = "index.html";


		window.onload=function () {
   			setTimeout("flyIn()",1);  // length of the timer delay in milliseconds
			setCalendar();
		}

		function index(strLink) {
			strURL = strLink;
			setTimeout("flyOut()",1);
		}
	
		function flyIn() {
   			y+=10;
   			x+=50;
   			var obj1 = document.getElementById(slides[currentSlide]);
   			var obj2 = document.getElementById(slides[currentSlide+1]);
   			obj1.style.left = y + "px";
   			obj2.style.left = x + "px";

   			if (y < 220) {
       				setTimeout("flyIn()", 1);  // length of the timer delay in milliseconds
   			} else {
      				x = 1100; y = 220;
   			}
		}
	
		function flyOut() {
   			y-=10;
   			x-=50;
   			var obj1 = document.getElementById(slides[currentSlide]);
   			var obj2 = document.getElementById(slides[currentSlide+1]);
   			obj1.style.left = y + "px";
   			obj2.style.left = x + "px";

   			if (y > -250) {
       				setTimeout("flyOut()", 1);  // length of the timer delay in milliseconds
   			} else {
      				/*currentSlide++;*/
      				x = 0; y = 0;
				window.open(strURL, "_self");
   			}
	
   		/*	if (currentSlide >= slides.length) {
     				document.getElementById("welcome").onclick=null;
   			}*/
		}

		function navBarPicChange(picURL) {
			document.getElementById("navBarPic").style.left = -200 + "px";
			document.getElementById("navBarPic").style.background= picURL;
			setTimeout("flyInIcon()", 1);

		}

		function navBarPicNone() {
			document.getElementById("navBarPic").style.background= "none";
		}

		function flyInIcon() {
			i+=40;
   			document.getElementById("navBarPic").style.left = i + "px";

   			if (i < 280) {
       				setTimeout("flyInIcon()", 1);
   			} else {
      				i = -200;
   			}
		}

		
	/*	function fadeIn() {
   			x+=1;
			document.getElementById("containerRight").style.filter='alpha(opacity=' + x + ')';
			if (x < 60) {
       				setTimeout("fadeIn()", 1);
   			} else {
      				x = 0;
   			}

			// alert('The onunload event was triggered');
			// self.location.href="http://www.yahoo.com";
			// window.navigate("http://www.yahoo.com");
			// window.open("http://www.yahoo.com", "_self");
		}
	*/
