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]="Gemstone Alcohol Detoxifier - 6 inch<br \>Amethyst Purple";
profile_titles_array[2]="Gemstone Alcohol Detoxifier - 8 inch<br>Amethyst Purple";
profile_titles_array[3]="Gemstone Alcohol Detoxifying Bracelet<br>Amethyst Purple";
profile_titles_array[4]="Gemstone Alcohol Detoxifier - 6 inch<br>Peridot Green";
profile_titles_array[5]="Gemstone Alcohol Detoxifier - 8 inch<br> Peridot Green";
profile_titles_array[6]="Gemstone Alcohol Detoxifying Bracelet<br \>Peridot Green";
profile_titles_array[7]="Gemstone Alcohol Detoxifier - 6 inch<br>Rose Quartz";
profile_titles_array[8]="Gemstone Alcohol Detoxifier - 8 inch<br>Rose Quartz";
profile_titles_array[9]="Gemstone Alcohol Detoxifying Bracelet<br>Rose Quartz";
profile_titles_array[10]="Gemstone Alcohol Detoxifier - 6 inch<br>Garnet Red";
profile_titles_array[11]="Gemstone Alcohol Detoxifier - 8 inch<br>Garnet Red";
profile_titles_array[12]="Gemstone Alcohol Detoxifying Bracelet<br>Garnet Red";
profile_titles_array[13]="Gemstone Alcohol Detoxifier - 6 inch<br>Aqua Marine Blue";
profile_titles_array[14]="Gemstone Alcohol Detoxifier - 8 inch<br>Aqua Marine Blue";
profile_titles_array[15]="Gemstone Alcohol Detoxifying Bracelet<br>Aqua Marine Blue";
profile_titles_array[16]="Gemstone Alcohol Detoxifier - 6 inch<br \>Citrine Golden Yellow";
profile_titles_array[17]="Gemstone Alcohol Detoxifier - 8 inch<br \>Citrine Golden Yellow";
profile_titles_array[18]="Gemstone Alcohol Detoxifying Bracelet<br \>Citrine Golden Yellow";
profile_titles_array[19]="Gemstone Alcohol Detoxifying Bracelet<br \>Double-Stranded Large Amethyst Purple";
profile_titles_array[20]="Gemstone Alcohol Detoxifying Stringer<br \>Custom Order to Your Specifications";
profile_titles_array[21]="Gemstone Alcohol Detoxifying Bracelet<br \>Custom Order to Your Specifications";

var profile_info_array=new Array(); // Array contains the text for each intro/info to be displayed
profile_info_array[1]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>6 inch Amethyst Purple - $45.00 - Comes in small velvet pouch.</span>";
profile_info_array[2]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>8 inch Amethyst Purple - $55.00 - Comes in small velvet pouch.</span>";
profile_info_array[3]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>Amethyst Purple Bracelet- $55.00 - Comes in small velvet pouch.</span>";
profile_info_array[4]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>6 inch Peridot Green - $45.00 - Comes in small velvet pouch.</span>";
profile_info_array[5]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>8 inch Peridot Green - $55.00 - Comes in small velvet pouch.</span>";
profile_info_array[6]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>Peridot Green Bracelet - $55.00 - Comes in small velvet pouch.</span>";
profile_info_array[7]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>6 inch Rose Quartz - $45.00 - Comes in small velvet pouch.</span>";
profile_info_array[8]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>8 inch Rose Quartz - $55.00 - Comes in small velvet pouch.</span>";
profile_info_array[9]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>Rose Quartz Bracelet - $55.00 - Comes in small velvet pouch.</span>";
profile_info_array[10]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>6 inch Garnet Red - $45.00 - Comes in small velvet pouch.</span>";
profile_info_array[11]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>8 inch Garnet Red - $55.00 - Comes in small velvet pouch.</span>";
profile_info_array[12]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>Garnet Red Bracelet - $55.00 - Comes in small velvet pouch.</span>";
profile_info_array[13]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>6 inch Aqua Marine Blue - $45.00 - Comes in small velvet pouch.</span>";
profile_info_array[14]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>8 inch Aqua Marine Blue - $55.00 - Comes in small velvet pouch.</span>";
profile_info_array[15]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>Aqua Marine Blue Bracelet - $55.00 - Comes in small velvet pouch.</span>";
profile_info_array[16]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>6 inch Citrine Golden Yellow - $45.00 - Comes in small velvet pouch.</span>";
profile_info_array[17]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>8 inch Citrine Golden Yellow - $55.00 - Comes in small velvet pouch.</span>";
profile_info_array[18]="Made from genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>Citrine Golden Yellow Bracelet - $55.00 - Comes in small velvet pouch.</span>";
profile_info_array[19]="Made from large genuine amethyst and quartz crystal stone beads, with accent colors of different semiprecious stones. Amethyst is an ancient Greek word meaning “anti-toxic”.  Historical theologians suspect that if there is a Holy Grail it will be lined with amethyst, as alcohol beverage glasses from Greece, Rome and the Middle East, dating back 1,000 to 2,000 years ago, were lined with this gemstone; its detoxifying qualities were widely known. To use, simply drape or place your stringer in any alcoholic beverage to minimize the negative effects of alcohol to the brain and liver.*<br \><br \>Handmade and double strung using high intensity fishing line for a lifetime of service. Clean your stringer after each use by rinsing in water.<br \><span style='color:#FFED1F;'>Double Stranded Bracelet - $65.00 - Comes in small velvet pouch.</span>";
profile_info_array[20]="Hand made from genuine amethyst and quartz crystal stone beads, to your specifications.  Price is minimum cost and therefore should be considered a non-refundable downpayment. Time to delivery varies; generally within 4 to 6 weeks. Designer will call you to discuss details.<br \><br \>Made with double strung using high intensity fishing line for a lifetime of service.<br \><br \><span style='color:#FFED1F;'>Custom Design Amethyst Stringer - $88.00 - Comes in small velvet pouch.</span>";
profile_info_array[21]="Hand made from genuine amethyst and quartz crystal stone beads, to your specifications.  Price is minimum cost and therefore should be considered a non-refundable downpayment. Time to delivery varies; generally within 4 to 6 weeks. Designer will call you to discuss details.<br \><br \>Made with double string using high intensity fishing line for a lifetime of service.<br \><br \><span style='color:#FFED1F;'>Custom Design Amethyst Bracelet - $88.00 - Comes in small velvet pouch.</span>";


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

profile_image_array[1]="images/products/example.jpg";
profile_image_array[2]="images/products/example.jpg";
profile_image_array[3]="images/products/purplebracelet.jpg";
profile_image_array[4]="images/products/green2.jpg";
profile_image_array[5]="images/products/yellowstringerscombo.jpg";
profile_image_array[6]="images/products/greenbracelet.jpg"
profile_image_array[7]="images/products/rose.jpg";
profile_image_array[8]="images/products/rose.jpg";
profile_image_array[9]="images/products/rosebracelet.jpg";
profile_image_array[10]="images/products/garnet.jpg";
profile_image_array[11]="images/products/garnet.jpg";
profile_image_array[12]="images/products/garnetbracelet.jpg";
profile_image_array[13]="images/products/aqua.jpg";
profile_image_array[14]="images/products/aqua2.jpg";
profile_image_array[15]="images/products/bluebracelet.jpg";
profile_image_array[16]="images/products/yellow.jpg";
profile_image_array[17]="images/products/yellow.jpg";
profile_image_array[18]="images/products/yellowbracelet.jpg";
profile_image_array[19]="images/products/doublepurple.jpg";
profile_image_array[20]="images/products/wow2.jpg";
profile_image_array[21]="images/products/wow3.jpg";

//_______________________________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;
	}
}














