//rollovers
img1=new Image
img2=new Image
img3=new Image
img4=new Image
img5=new Image
img6=new Image
img7=new Image
img8=new Image
img9=new Image
img10=new Image
img11=new Image
img12=new Image
img13=new Image
img14=new Image
img15=new Image
img16=new Image

img1.src="images/home_button.gif"
img2.src="images/home_button_roll.gif"

img3.src="images/shop_button.gif"
img4.src="images/shop_button_roll.gif"

img5.src="images/artist_button.gif"
img6.src="images/artist_button_roll.gif"

img7.src="images/e-letter_button.gif"
img8.src="images/e-letter_button_roll.gif"

img9.src="images/wholesale_button.gif"
img10.src="images/wholesale_button_roll.gif"

img11.src="images/licensing_button.gif"
img12.src="images/licensing_button_roll.gif"

img13.src="images/inspiration_button.gif"
img14.src="images/inspiration_button_roll.gif"

img15.src="images/keep_in_touch_button.gif"
img16.src="images/keep_in_touch_button_roll.gif"


//pop-up window function
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}



//gallery images pre-load
var image1 = new Image();
image1.src = "gallery/images/moveup.gif";

var image2 = new Image();
image2.src = "gallery/images/moveup.gif";




//index page slide show

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 4000;
// 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/gourmet-fruit-arrangements-1.jpg'
Pic[1] = 'images/south_indian_cuisine.jpg'
Pic[2] = 'images/indonesian_cuisine.jpg'
Pic[3] = 'images/sri_lanka_cuisine.jpg'
Pic[4] = 'images/thai_cuisine.jpg'
//Pic[4] = '5.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);
}









/* Testimonials*/

var testnumber = 5 ; 
var randomnumber2 = Math.random() ; 
var rand2 = Math.round( (testnumber-1) * randomnumber2) + 1 ; 
testimonial = new Array();
testimonial[1] = "From the on-time arrival, through the awesome preparation and set-up to the incredible meal crated and served, Jini\'s service exceeded all of my expectations. We found it totally refreshing to deal with a professional that can take care of every item. .and does! Jini\'s attention to detail and dedication to providing the finest possible service to her clients set a new standard for both us and our guests.	<br/><br/> 	Geoff, Tsawwassen" ;
testimonial[2] = "Jini prepares pure Indian food that is just as it should be - a few simple ingredients brought into perfect balance to create exotic aromas and fabulous food. From slow-simmered curry lamb to vegetable dishes, everything was full of flavour and spiced perfectly to suit everyone's palette - this was one of those times you wish you would have packed an extra stomach to hold everything! Thank you for sharing the authentic flavours of your home-style Indian cuisine with the Delta Hospital Foundation!! Once again, many thanks for a memorable evening - we'll be sure to spread the word!	<br/><br/>	Shelley Slaughter <br/>Delta Hospital Foundation "; 
testimonial[3] = "When my partner and I were looking for a caterer for our wedding, it was very important to us that they be able to provide a completely vegetarian meal. Jini not only understood our request, but she was very enthusiastic and had lots of suggestions and options. After working with us to choose a menu, Jini delivered a delicious three-course meal that had even my most carnivorous family members happily commenting how good the food was. My wife and I are only planning to get married once, but we would definitely hire Jini again!	<br/><br/>	Micah and Steph";
testimonial[4] = "I have known Jini through her nutritional cooking classes for over 6 years. I have been on a journey for better health for myself and my family. Jini has a wealth of experience with nutrition and health, and has been of great help to me and my family. She has also contributed much to the community, starting a community kitchen in Ladner.	<br/><br/>	Katie - February 2000";
testimonial[5] = "Ms. Jini Aroon, you established a soup kitchen that serves meals every Wednesday, conducted personal visits, coordinated resources and organized an annual Christmas dinner for those in need and continue to work with the South Delta Food Bank to gather donations and essential supplies for people in need..	<br/><br/>	Mayor Lois E.Jackson<br/>	Chair, Delta Police Board - October 7th, 2010";
var mytext = testimonial[rand2] ;
