<!--
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 ATASHKOOH;360.4;2.65;474.6;1.72;;WHITE;T01",
"RED AZARSHAHR;358.3;2.67;304.6;1.65;;RED;T02",
"YELLOW AZARSHAHR;325.9;2.5;459.3;2.72;;YELLOW;T03",
"CREAM ATASHKOOH;;;;;;CREAM;T04",
"BROWN SALMAS;325.9;2.5;459.3;;;BROWN;T05",
"CREAM NATANZ;;;;;;CREAM;T06",
"ABBAS ABAD;;;;;;;T07",
"RED GHEZELDAGH;;;;;;RED;T08",
"CREAM HAJIABAD;276;;413;1.3;;CREAM;T09"
)


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


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