<!-- 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] = '../images/crystalgrandpiano_1.jpg'
Pic[1] = '../images/piano.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-->
<!--Music and Pets
function GoMusic() {
  this.window.location="http://en.shinyurichintai.com/GoMusic.php";             
}

function GoPets() {

this.window.location="http://en.shinyurichintai.com/GoPets.php";                   
               
}

// end-->


