<!--
var ie=navigator.appName=="Microsoft Internet Explorer" ? true : false
var rfsh_speed=60000;

function bmouseClick(obj, lmenu){
if (obj.style.visibility == "hidden")
{
 obj.style.visibility = "visible"
 lmenu.src = "images/lo-menu.gif"
 td1.style.visibility = "visible"
}
else
if (obj.style.visibility == "visible" || obj.style.visibility == "")
{
 obj.style.visibility = "hidden"
 lmenu.src = "images/lc-menu.gif"
 td1.style.visibility = "hidden"
}}


data = new Array(
"",
"WHITE ONYX;431.3;2.7;486;4;;WHITE;ON1",
"PINK ONYX;;;;;;PINK;ON2",
"ORANGE ONYX;;;;;;ORANGE;ON3",
"GREEN ONYX;;2.72;1061;0;;GREEN;ON4")


function more(id)
{
 var w=(screen.width - 600) / 2;
 var h=(screen.height - 400) / 2;
 windowprops = "height=400,width=600,top="+w+",left="+h+",scrollbars=no,menubars=no,toolbars=no,resizable=no,active=yes";
 nw = window.open("largeview.asp?kind=onyx&id="+id, "details", windowprops);
 nw.focus();
}


function info(id)
{
 img1.src = "images/stones/thumb/onyx/o"+id+".jpg"
 lnk.href = "javascript:more("+id+")"
 strs = data[id].split(";")
 c1.innerText = strs[0] + " "
 c2.innerText = strs[1] + " "
 c3.innerText = strs[2] + " "
 c4.innerText = strs[3] + " "
 c5.innerText = strs[4] + " "
 c6.innerText = strs[5] + " "
 c7.innerText = strs[6] + " "
 c8.innerText = strs[7] + " "
}


//Expands and contracts the menu (if in Internet Explorer 4.0 or higher)
 function change() {
 	if(!document.all)
 		return
 	if (event.srcElement.className=="expandable"){
 		var x=event.srcElement.parentElement
 		if (x.all[2].style.display=="none"){
 			x.all[2].style.display='';
 			}
 		else {
 			x.all[2].style.display="none"
 			}
 		}
 	if (event.srcElement.className=="expandable2"){
 		var x=event.srcElement.parentElement
 		if (x.all[2].style.display=="none"){
 			x.all[2].style.display='';
 			}
 		else {
 			x.all[2].style.display="none"
 			}
 		}
 	}
 document.onclick=change
 //-->
