<!--
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(
"",
"BEIGE LIMESTONE;981;2.78;1137;0.81;;BEIGE;M01",
"PINK DESERT;;2.66;123.54;0.56;;PINK;M02",
"BLACK NAJAFABAD;661;2.67;1332.5;0.13;;BLACK;M03",
"CREAM BOUJAN;;;;;;CRAEM;M04",
"PANTHER MARBLE;;;;;;;M05",
"PINK DENAKOOH;;;;;;PINK;M06",
"PINK SARA;;;;;;RED;M07",
"PINK DENAKOOH;;;;;;PINK;M08",
"ROYAL BOTOCINO;553;2.72;790;0.85;;CREAM;M09",
"SPRING ROSE;;;1194;0.3;;;M10",
"REGALACIANTE;;;1194;0.3;;;M11",
"RED FOSIL;;;;;;;M12",
"PERSIAN RED;;;;;;;M13",
"WHEATI MARBLE;;;;;;;M14",
"CREAM NAMIN;;;;;;CREAM;M15",
"TEA ROSE;630;2.66;690;0.84;;PINK;M16",
"N. S. PERLATO;630;2.66;690;0.84;;CREAM;M17",
"H. B. PERLATO;;;;;;;M18",
"DAMASCATA;;;;;;;M19",
"PINK FLOWER;;;;;;PINK;M20",
"PARS FILETO ROSSO;;;;;;CREAM;M21",
"CREAM FARAMAN;;;1194;0.3;;CREAM;M22",
"ROSSO ROBINO;;;;;;;M23",
"RED BORANAT;;;;;;;M24",
"DOTTED IVORY;;;;;;;M25",
"BLACK MARQUINA;;;;;;BLACK;M26",
"CREAM ARDEBIL;;;;;;;M27"
)

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=marble&id="+id, "details", windowprops);
 nw.focus();
}

function info(id)
{
 img1.src = "images/stones/thumb/marble/m"+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
 //-->
