// JavaScript Document

function showVideo() {
var theVideos = new Array()	

theVideos[0] = '<object width="200" height="160"><param name="movie" value="http://www.youtube.com/v/CbFGbvb8BCU&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/CbFGbvb8BCU&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="200" height="160"></embed></object><br /><br /><br />';
theVideos[1] = '<object width="200" height="160"><param name="movie" value="http://www.youtube.com/v/K93aPRE5-jo&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/K93aPRE5-jo&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="200" height="160"></embed></object><br /><br /><br />';
theVideos[2] = '<object width="200" height="160"><param name="movie" value="http://www.youtube.com/v/7k_0Hwn7yac&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/7k_0Hwn7yac&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="200" height="160"></embed></object><br /><br /><br />';

var j = 0;
var p = theVideos.length;

var whichVideo = Math.round(Math.random()*(p-1));
document.write (theVideos[whichVideo]);
	
}

function showPod1() {
var thePods = new Array()	

thePods[0] = '<img src="/images/home/pod_1_a.jpg" alt="MeditationGuide.net" width="143" height="143" border="0" /><h3>Free Guide</h3><h2>MP3 Download </h2><p>Listen to our  meditation guide recording and read our step-by-step</p><p><a href="/meditation-sales/meditation_signup.php">Get Free Guides</a> <img src="/images/meditation_guide_arrowd.gif" width="8" height="10" /></p>';
thePods[1] = '<img src="/images/home/pod_1_b.jpg" alt="MeditationGuide.net" width="143" height="143" border="0" /><h3>Free Guide</h3><h2>MP3 Download </h2><p>Listen to our  meditation guide recording and read our step-by-step</p><p><a href="/meditation-sales/meditation_signup.php">Get Free Guides</a> <img src="/images/meditation_guide_arrowd.gif" width="8" height="10" /></p>';
thePods[2] = '<img src="/images/home/pod_1_c.jpg" alt="MeditationGuide.net" width="143" height="143" border="0" /><h3>Free Guide</h3><h2>MP3 Download </h2><p>Listen to our  meditation guide recording and read our step-by-step</p><p><a href="/meditation-sales/meditation_signup.php">Get Free Guides</a> <img src="/images/meditation_guide_arrowd.gif" width="8" height="10" /></p>';
thePods[3] = '<img src="/images/home/pod_1_a.jpg" alt="MeditationGuide.net" width="143" height="143" border="0" /><h3>Free Guide</h3><h2>MP3 Download </h2><p>Listen to our  meditation guide recording and read our step-by-step</p><p><a href="/meditation-sales/meditation_signup.php">Get Free Guides</a> <img src="/images/meditation_guide_arrowd.gif" width="8" height="10" /></p>';
thePods[4] = '<img src="/images/home/pod_1_a.jpg" alt="MeditationGuide.net" width="143" height="143" border="0" /><h3>Free Guide</h3><h2>MP3 Download </h2><p>Listen to our  meditation guide recording and read our step-by-step</p><p><a href="/meditation-sales/meditation_signup.php">Get Free Guides</a> <img src="/images/meditation_guide_arrowd.gif" width="8" height="10" /></p>';

var j = 0;
var p = thePods.length;

var whichPod = Math.round(Math.random()*(p-1));
document.write (thePods[whichPod]);
	
}

function showPod2() {
var thePods = new Array()	

thePods[0] = '<img src="/images/home/pod_2_a.jpg" alt="MeditationGuide.net" width="143" height="143" /><h3>Daily Practices </h3><h2>Meditation Guide</h2><p>Meditation Breathing: <br />Learn  about meditation helping to reduce stress </p><p><a href="/meditation-articles/meditation_articles_stress.php">Mindful Meditation</a> <img src="/images/meditation_guide_arrowd.gif" width="8" height="10" /></p>';
thePods[1] = '<img src="/images/home/pod_2_b.jpg" alt="MeditationGuide.net" width="143" height="143" /><h3>Daily Practices </h3><h2>Meditation Guide</h2><p>Meditation Breathing: <br />Learn  about meditation helping to reduce stress </p><p><a href="/meditation-articles/meditation_articles_stress.php">Mindful Meditation</a> <img src="/images/meditation_guide_arrowd.gif" width="8" height="10" /></p>';
thePods[2] = '<img src="/images/home/pod_2_c.jpg" alt="MeditationGuide.net" width="143" height="143" /><h3>Daily Practices </h3><h2>Meditation Guide</h2><p>Meditation Breathing: <br />Learn  about meditation helping to reduce stress </p><p><a href="/meditation-articles/meditation_articles_stress.php">Mindful Meditation</a> <img src="/images/meditation_guide_arrowd.gif" width="8" height="10" /></p>';

var j = 0;
var p = thePods.length;

var whichPod = Math.round(Math.random()*(p-1));
document.write (thePods[whichPod]);
	
}

function showPod3() {
var thePods = new Array()	

thePods[0] = '<img src="/images/home/pod_3_a.jpg" alt="MeditationGuide.net" width="143" height="143" border="0" /><h3 align="left">Enlightenment</h3><h2>What The Pros Know</h2><p>Meditation isn&#8217;t hard! Find out how others do it and begin your journey today.</p><p><a href="/meditation-articles/meditation_articles_easy.php">Meditation Made Easy</a> <img src="/images/meditation_guide_arrowd.gif" width="8" height="10" /></p>';
thePods[1] = '<img src="/images/home/pod_3_b.jpg" alt="MeditationGuide.net" width="143" height="143" border="0" /><h3 align="left">Enlightenment</h3><h2>What The Pros Know</h2><p>Meditation isn&#8217;t hard! Find out how others do it and begin your journey today.</p><p><a href="/meditation-articles/meditation_articles_easy.php">Meditation Made Easy</a> <img src="/images/meditation_guide_arrowd.gif" width="8" height="10" /></p>';
thePods[2] = '<img src="/images/home/pod_3_c.jpg" alt="MeditationGuide.net" width="143" height="143" border="0" /><h3 align="left">Enlightenment</h3><h2>What The Pros Know</h2><p>Meditation isn&#8217;t hard! Find out how others do it and begin your journey today.</p><p><a href="/meditation-articles/meditation_articles_easy.php">Meditation Made Easy</a> <img src="/images/meditation_guide_arrowd.gif" width="8" height="10" /></p>';

var j = 0;
var p = thePods.length;

var whichPod = Math.round(Math.random()*(p-1));
document.write (thePods[whichPod]);
	
}


function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


