initialOpacity=0.2;// Sets the initial opacity of the thumbnail image, must be same opacity defined in the styles
secondaryOpacity=.63; // Sets what the opacity should fall back to when image is moused off
infoBackgroundOpacity=.70; // Sets the opacity of the pop-up background that the info is displayed over


//There should be an array set for every thumbnail, i.e. profile_titles_array[n], profile_info_array[n], profile_image_array[n], for each image thumbnail
// [n] can be any number it just has to be the same in all 3 sets to match info the thumbnail correctly.
// There can be anynumber of array sets, just add or remove more, depending on how many thumbnails there are.
// If a thumbnail is not to have any info to display with it, then set each array for it's set to '' or "" <- blank strings
var profile_titles_array=new Array(); // Array contains the text for each name/title to be displayed

profile_titles_array[1]="Beyond The Obvious<br \>Audio mp3 Download";
profile_titles_array[2]="Frontiers of Health<br>Audio mp3 Download";
profile_titles_array[3]="Meditation and Visual Imagery<br>Audio mp3 Download";
profile_titles_array[4]="Relaxing Into Health<br>Audio mp3 Download";
profile_titles_array[5]="The Miror of Existence<br>Audio mp3 Download";
profile_titles_array[6]="Webs of Peace<br \>Audio mp3 Download";
profile_titles_array[7]="2012 And The Galactic Center<br \>Return of the Great Mother - MP3";
profile_titles_array[8]="Spiritual Alchemy<br \>How To Transform Your Life - MP3";
profile_titles_array[9]="Frontiers of Health II<br \>Diseases, Chakras and Personalities - MP3";
profile_titles_array[10]="2012: Birthing a World of Unity and Compassion:<br \>teleseminar - MP3";
profile_titles_array[11]="";
profile_titles_array[12]="";
profile_titles_array[13]="";
profile_titles_array[14]="";
profile_titles_array[15]="";
profile_titles_array[16]="";
profile_titles_array[17]="";
profile_titles_array[18]="";
profile_titles_array[19]="";
profile_titles_array[20]="";
profile_titles_array[21]="";


var profile_info_array=new Array(); // Array contains the text for each intro/info to be displayed

profile_info_array[1]="The intuition is the navigator of the Soul, leading us on a journey of discovery and enlightenment back to ourselves. The various stages of the pilgrimage are reflected in powerful stories from the author's own life and encourage the reader to expand their consciousness from the state of &quothoping&quot, through the phase of &quotbelieving&quot until they experience the undeniable gift of &quotknowing&quot, the hallmark of true intuition.<br \><br \>This mp3 encourages us to strengthen our intuitive muscle, enhancing a state of deep connection, honesty, security and joyfulness.<br \><br \><b>$17 - mp3.</b> 2 hrs 45 min. Receive private download link upon payment.<br \>Listen now or at your leisure. For your computer, iPod&#174, or burn to CD.";
profile_info_array[2]="Abridged from the book of the same name. Presenting insights into subtle anatomy, especially the chakras, it deepens the listener's appreciation of the importance of these energy centers in the journey towards achieving true health, embracing mind, body and spirit. Providing many examples from Dr. Page's 25 years of experience within allopathic and complementary medicine, the audio carefully describes the connection between the chakra, personality and potential illnesses and offers specific ways to create enduring inner and outer harmony.<br \><br \><b>$15 - mp3.</b> 2 hrs 25 min. Receive private download link upon payment.<br \>Listen now or at your leisure. For your computer, iPod&#174, or burn to CD.";
profile_info_array[3]="These eight meditations and imagery exercises in mp3 audio format, were taken from the Mind, Body, Spirit Workbook which was developed from Dr. Page's innovative and well respected course &quotSpirit in Practice&quot. Whether used with the book or on its own, the mp3 allows the listener to fully relax into the experience.<br \><br \>The exercises include: Getting in touch with your Inner Healer, Visualization for Health, Enhancing the Intuition, Meeting your Chakras, Balancing the Chakras, A Rainbow for Health and Star Color Healing.<br \><br \><b>$9 - mp3.</b> 1 hr 17 min. Receive private download link upon payment.<br \>Listen now or at your leisure. For your computer, iPod&#174, or burn to CD.";
profile_info_array[4]="This popular mp3 leads the listener into a safe place where they can relax and recuperate. Apart from its use in homes, it has also been successfully employed for stress reduction in many clinics and hospitals.<br \><br \>All 3 guided imagery exercises aim to restore a sense of well-being: The Tree exercise emphasizes the importance of staying grounded. The Happy Inner Child allows us to meet this part of ourselves reminding us how to play and find joy again. In the Healing Temple we are taken to a place of healing amongst the ethers where we can receive the healing we need.<br \><br \><b>$9 - mp3.</b> 56 min. Receive private download link upon payment.<br \>Listen now or at your leisure. For your computer, iPod&#174, or burn to CD.";
profile_info_array[5]="Dr. Page invites us to embark on a journey of self-discovery by stepping into the &quotMirror of Existence&quot and explore how our thought processes and particularly our perceptions, create our reality.<br \><br \>We are inspired to move beyond limiting beliefs and ensnaring emotions and tune into intuition and inspiration, creating lives embracing soul fulfillment. Her thought provoking audio helps us to recognize that those who we find challenging are often a mirror of ourselves as well as those who we hold up as role models.<br \><br \><b>$15 - mp3.</b> 2 hrs 11 min. Receive private download link upon payment.<br \>Listen now or at your leisure. For your computer, iPod&#174, or burn to CD.";
profile_info_array[6]="This mp3 weaves together 6 well-loved meditation and visual imagery exercises in the name of peace. <i>Included:</i><br \><br \>&#8226 The Flowering Heart: developing solid roots for creativity<br \>&#8226 Creating the Vesica Piscis: a symbol of harmony, deep inner connection<br \>&#8226 Island of Memories: time to remember who we are<br \>&#8226 The Lotus Meditation: breathing compassion into the chakras<br \>&#8226 Time to Let Go: releasing old patterns which no longer serve us<br \>&#8226 An Inka Prayer: connect with 3 levels of awareness.<br \><br \><b>$9 - mp3.</b> 57 min. Receive private download link upon payment.<br \>Listen now or at your leisure. For your computer, iPod&#174, or burn to CD.";
profile_info_array[7]="This is an extraordinary time in our planet's history. In 2012, for the first time in 26,000 years, our sun will be most closely aligned to the Galactic Center, known as the Heart of the Great Mother. This alignment heralds in a rebirth of the divine feminine represented by the qualities of intuition, creativity and renewal. The author draws upon mythology, astrology and alchemy to unlock the sacred tools necessary to embrace the transformation which will change our world.<br \><br \><b>$20 - 4 mp3s.</b> 5 hrs 9 min. Receive private download link upon payment.<br \>Listen now or at your leisure. For your computer, iPod&#174, or burn to CD."
profile_info_array[8]="This cutting edge downloadable MP3 incites us to remember what the ancient people have always known: we are in the era of the Great Shift when profound soul opportunities and challenges are being offered, changing our perception of life for ever.<br \><br \>The author encourages us to focus on the present and reconnect to sources of energy which support the alchemist's journey such as the energy grids, sacred sites, the nature kingdoms, the elements, the stars and sacred geometry.<br \><br \>Coming soon!";
profile_info_array[9]="Learn about the specific psychospiritual links between health and disease as Christine reads from the revised chapters of Frontiers of Health. Working through each of the seven personal chakras, she highlights the spiritual, emotional and physical qualities and the changes being called for by the soul when disease or disharmony appears.<br \><br \>Coming soon!";
profile_info_array[10]="These recordings come from four teleseminar sessions which took place during November 2010. They are based on the extraordinary events surrounding 2012 and the birth of a new world. The first two sessions cover the truths and myths of 2012 and how the shifts in consciousness will affect our lives. The last two sessions take the listener on a journey of exploration and empowerment towards enlightenment. Throughout the series, visual imagery exercises are offered to enhance the experience.(All personal references to attendees including their comments have been removed. The only voices heard are those of the facilitators and Christine. For interest in similar events please contact: theemergenceproject.net)<br \><br \><b>$20 - 4 mp3s.</b> 6 hrs 3 min. Receive private download link upon payment.<br \>Listen now or at your leisure. For your computer, iPod&#174, or burn to CD.";
profile_info_array[11]="";
profile_info_array[12]="";
profile_info_array[13]="";
profile_info_array[14]="";
profile_info_array[15]="";
profile_info_array[16]="";
profile_info_array[17]="";
profile_info_array[18]="";
profile_info_array[19]="";
profile_info_array[20]="";
profile_info_array[21]="";

var profile_image_array=new Array(); // Array contains the references for each thumbnail image

profile_image_array[1]="images/products/book_beyond.jpg";
profile_image_array[2]="images/products/book_frontiers.jpg";
profile_image_array[3]="images/products/meditations_tape.jpg";
profile_image_array[4]="images/products/relaxing_tape.jpg";
profile_image_array[5]="images/products/book_mirror.jpg";
profile_image_array[6]="images/products/webs_cd.jpg";
profile_image_array[7]="images/products/2012cd.jpg";
profile_image_array[8]="images/products/SA.jpg";
profile_image_array[9]="images/products/book_frontiers.jpg";
profile_image_array[10]="images/products/infinity.jpg";
profile_image_array[11]="";
profile_image_array[12]="";
profile_image_array[13]="";
profile_image_array[14]="";
profile_image_array[15]="";
profile_image_array[16]="";
profile_image_array[17]="";
profile_image_array[18]="";
profile_image_array[19]="";
profile_image_array[20]="";
profile_image_array[21]="";

//_______________________________DON'T HAVE TO MODIFY ANYTHING PAST THIS POINT______________________________________________________________________

var BrowserType;      //Holdes the browser id info, derived from function below.
//This next function queries browser to see what kind it is, if it's not a version of IE, returns -1
//If it is a version of IE, returns the version number.
function getBrowserType () {
	var infoString=navigator.appVersion;
	var temp=infoString.indexOf('MSIE');
	if (temp==-1) {
		//Not IE browser
		return -1;
	} else {
		//Is IE browser and returns version number
		infoString=infoString.substr(temp);
		temp=infoString.indexOf(';');
		infoString=infoString.substring(0,temp);
		infoString=infoString.split(" ");
		return infoString[1];
	}
}

BrowserType=getBrowserType();
timerId=null;
incr=initialOpacity;
function activate (obj,dataNum) {
	element=obj;
	if (BrowserType==-1) {// Not an IE browser
		if( (element.style.opacity==initialOpacity || !element.style.opacity)&& incr>initialOpacity) {incr=initialOpacity;}
		if(dataNum) {
			document.getElementById("info_background").style.opacity=infoBackgroundOpacity;
			if (profile_image_array[dataNum]!='') {
			document.getElementById("info_pic_container").innerHTML="<img style='border: 1px solid white;' src='"+profile_image_array[dataNum]+"' />";
			} else {
				document.getElementById("info_pic_container").innerHTML=profile_image_array[dataNum];
			}
			document.getElementById("info_title_container").innerHTML=profile_titles_array[dataNum];
			document.getElementById("info_body_container").innerHTML=profile_info_array[dataNum];
		}
	}
	if (BrowserType!=-1) {// IE browser
		if( (element.filters.alpha.opacity==initialOpacity*100 || !element.filters.alpha.opacity)&& incr>initialOpacity) {incr=initialOpacity;}
		if(dataNum) {
			document.getElementById('info_background').filters.alpha.opacity=infoBackgroundOpacity*100;
			if (profile_image_array[dataNum]!='') {
				document.getElementById("info_pic_container").innerHTML="<img style='border: 1px solid white;' src='"+profile_image_array[dataNum]+"' />";
			} else {
				document.getElementById("info_pic_container").innerHTML=profile_image_array[dataNum];
			}
			document.getElementById("info_title_container").innerHTML=profile_titles_array[dataNum];
			document.getElementById("info_body_container").innerHTML=profile_info_array[dataNum];
		}
	}
	timerId=setInterval('fadeIn(element)',50);
}
function fadeIn (element) {

	if (BrowserType==-1) {// Not an IE browser
		if(element.style.opacity<1.0) {
			incr+=.05;
			element.style.opacity=incr;
		}else{
			clearInterval(timerId);
		}
	}
	if (BrowserType!=-1) {// IE browser
		if(element.filters.alpha.opacity<1.0*100) {
			incr+=.05;
			element.filters.alpha.opacity=incr*100;
		}else{
			clearInterval(timerId);
		}
	}
}

function resetEverything (obj) {
	element=obj;
	clearInterval(timerId);
	incr=secondaryOpacity;
	document.getElementById("info_pic_container").innerHTML="";
	document.getElementById("info_title_container").innerHTML="";
	document.getElementById("info_body_container").innerHTML="";
	if (BrowserType==-1) {// Not an IE browser
		element.style.opacity=secondaryOpacity;
		document.getElementById('info_background').style.opacity=0.0;
	}
	if (BrowserType!=-1) {// IE browser
		element.filters.alpha.opacity=secondaryOpacity*100;
		document.getElementById('info_background').filters.alpha.opacity=0;
	}
}














