//window.onload=getYouTubeMovie;
function getYouTubeMovie() 
{ 
var random_movie = new Array ( );
random_movie[0] = "http://www.youtube.com/v/mKkMz45iCgA&hl=en_US&fs=1&";
random_movie[1] = "http://www.youtube.com/v/cnD948xxwds&hl=en_US&fs=1&";
random_movie[2] = "http://www.youtube.com/v/gqIqJE2Xv7c&hl=en_US&fs=1&";
random_movie[3] = "http://www.youtube.com/v/3FypZgSXZ_o&hl=en_US&fs=1&";
random_movie[4] = "http://www.youtube.com/v/JKS4zUWFe1k&hl=en_US&fs=1&";
random_movie[5] = "http://www.youtube.com/v/zska5RYV01c&hl=en_US&fs=1&";
random_movie[6] = "http://www.youtube.com/v/Q_2x2Oo1maQ&hl=en_US&fs=1&";
random_movie[7] = "http://www.youtube.com/v/jYndtpFvkNw&hl=en_US&fs=1&";
random_movie[8] = "http://www.youtube.com/v/lKto3k4i30Y&hl=en_US&fs=1&";
random_movie[9] = "http://www.youtube.com/v/qcG6opxHms8&hl=en_US&fs=1&";

whichMovie = Math.floor(Math.random()*random_movie.length); 
movie_file_string = random_movie[whichMovie];
document.write('<object width="320" height="265" align="right" style="margin:10px;"><param value="'+movie_file_string+'" name="movie"/><param value="true" name="allowFullScreen"/><param value="always" name="allowscriptaccess"/><embed width="320" height="265"  align="right" style="margin:10px;" wmode="transparent" allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash" src="'+movie_file_string+'"/></object>'); 
} 

//################### This Code Display Offer Baner image on INDEX page of site ##############################################
function getOfferBanerImages() 
{ 
var random_images = new Array ( );
random_images[0] = '<a href = "http://www.volunteeringsolutions.com/honduras/volunteer_in_honduras.htm" title="Volunteer in Honduras with Volunteering Solutions" ><img src="http://www.volunteeringsolutions.com/image/offer_baner/volsol-banner-honduras.gif" border="0" alt="Volunteer in Honduras with Volunteering Solutions" ></a>';

random_images[1] = '<a href = "http://www.volunteeringsolutions.com/tanzania/volunteer_in_tanzania.htm" title="Volunteer in Tanzania with Volunteering Solutions" ><img src="http://www.volunteeringsolutions.com/image/offer_baner/volsol-banner-tanzania.gif" border="0" alt="Volunteer in Tanzania with Volunteering Solutions" ></a>';

random_images[2] = '<a href = "http://www.volunteeringsolutions.com/india/volunteer_in_india.htm" title="Volunteer in India with Volunteering Solutions" ><img src="http://www.volunteeringsolutions.com/image/offer_baner/volsol-india-banner.gif" border="0" alt="Volunteer in India with Volunteering Solutions" ></a>';

random_images[3] = '<a href = "http://volunteeringsolutions.com/nepal/volunteer_in_nepal.htm" title="Volunteer in Nepal with Volunteering Solutions" ><img src="http://www.volunteeringsolutions.com/image/offer_baner/volsol-nepal-banner.gif" border="0" alt="Volunteer in Nepal with Volunteering Solutions" ></a>';


whichImage = Math.floor(Math.random()*random_images.length); 
image_file_string = random_images[whichImage];

document.write(image_file_string); 
} 
