<!-- Original:  Ricocheting (ricocheting@hotmail.com) -->
<!-- Web Site:  http://www.ricocheting.com -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var rotate_delay = 5000; // delay in milliseconds (5000 = 5 secs)
current = 0;
function next() {
if (document.slideform.slide[current+1]) {
document.images.show.src = document.slideform.slide[current+1].value;
document.slideform.slide.selectedIndex = ++current;
   }
else first();
}
function previous() {
if (current-1 >= 0) {
document.images.show.src = document.slideform.slide[current-1].value;
document.slideform.slide.selectedIndex = --current;
   }
else last();
}
function first() {
current = 0;
document.images.show.src = document.slideform.slide[0].value;
document.slideform.slide.selectedIndex = 0;
}
function last() {
current = document.slideform.slide.length-1;
document.images.show.src = document.slideform.slide[current].value;
document.slideform.slide.selectedIndex = current;
}
function ap(text) {
document.slideform.slidebutton.value = (text == "Stop") ? "Start" : "Stop";
rotate();
}
function change() {
current = document.slideform.slide.selectedIndex;
document.images.show.src = document.slideform.slide[current].value;
}
function rotate() {
if (document.slideform.slidebutton.value == "Stop") {
current = (current == document.slideform.slide.length-1) ? 0 : current+1;
document.images.show.src = document.slideform.slide[current].value;
document.slideform.slide.selectedIndex = current;
window.setTimeout("rotate()", rotate_delay);
   }
}
//  End -->
<!-- Original:  CodeLifter.com (support@codelifter.com) -->
<!-- Web Site:  http://www.codelifter.com -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = '../forester.jpg'
Pic[1] = '../pp%200041.jpg'
Pic[2] ='../pp%200021.jpg'
Pic[3] = '../pp%200031.jpg'
Pic[4] = '../pp%200051.jpg'
Pic[5] = '../pp%200061.jpg'
Pic[6] = '../pp%200101.jpg'
Pic[7] = '../pp%200111.jpg'
Pic[8] = '../pp%200091.jpg'
Pic[9] = '../pp%200071.jpg'
Pic[10] = '../pp%200081.jpg'
Pic[11] = '../pp%200121.jpg'



// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}
//  End -->
<!-- Newsletter 
function verifyMail(obj)
{
	if(obj.value.length != 0)
    {
      var str = obj.value;
      var reg1 = /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/; // not valid
      var reg2 = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/; // valid
	  if (!reg1.test(str) && reg2.test(str))
      {
		 // return true;
      }else
	  {
		 alert("\"" + str + "\" is an invalid e-mail!");
       	 obj.focus();
         return false;
	   }
	}
}
//----------------------   Site Function   -----------------------
	function ContactValidation(which)
	{
		if (verifyMail(which.requiredEmail)==false) return false ;
		if (checkrequired(which) == false) return false;
		return true ;
	}	
	
	function MM_openBrWindow(theURL,winName,w,h,obj) { //v2.0
	
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	
	winProps = 'height='+h+',width='+w+',top='+wint+',left='+winl+',resizable=0'
	
	  window.open(theURL+'?requiredEmail='+obj.value,winName,winProps);
	}
	function MM_openWindow(theURL,winName,w,h) { //v2.0
	
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	
	
	winProps = 'height='+h+',width='+w+',top='+wint+',left='+winl+',resizable=0'
	
	    window.open('',winName,winProps);
		document.forms[0].target=winName; 
		document.forms[0].action = theURL ; 
		document.forms[0].submit(); 
	  
	}
function MM_openBrWindow1(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
// end-->

<!--Photo for Parking popup
	function photo1() {
	win=window.open("mori1.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo2() {
	win=window.open("mori2.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo3() {
	win=window.open("mori4.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo4() {
	win=window.open("minamiyuri.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo5() {
	win=window.open("ozenjinishi.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo6() {
	win=window.open("hiyoshiya.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo7() {
	win=window.open("hara1.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo8() {
	win=window.open("hara2.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo9() {
	win=window.open("ryuzaki1.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo10() {
	win=window.open("ryuzaki2.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo11() {
	win=window.open("hujita.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo12() {
	win=window.open("inoue.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo13() {
	win=window.open("shiratori.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo14() {
	win=window.open("forester_parking.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo15() {
	win=window.open("minowa1.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo16() {
	win=window.open("minowa2.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo17() {
	win=window.open("laclair_parking.html","photo", "resizable=yes, width=400, height=300");
	}
	function photo18() {
	win=window.open("okamoto.html","photo", "resizable=yes, width=400, height=300");
	}



	
// end-->



