var url = "http://www.idealstor.com";
arrowdefault = new Image(10,8);
arrowdefault.src = url+"/barrow.jpg";
arrowhighlight = new Image(10,8);
arrowhighlight.src = url+"/byarrow.jpg";

function getEvaluation(obj,path)
{
	window.open(url+"/software/downloadRegister.php?product="+obj+"&path="+path,"","width=100px,height=400px");
}

function openEnlarge(obj,objHeight)
{
	window.open("http://www.idealstor.com/IdealstorUnitEnlarge.php?photoType="+obj,"","width=630,height="+objHeight);
}

function cursorChange(obj)
{
	if(document.all)
		obj.style.cursor = "hand";
	else
		obj.style.cursor = "pointer";
}
function menucolor(obj)
{
  obj.style.backgroundColor = "#dd9900";
  obj.style.color = "#000000";
  if(document.all)
	obj.style.cursor = "hand";
  else
	obj.style.cursor = "pointer";
}

function menucolorback(obj)
{
  obj.style.backgroundColor = "#cccccc";
  obj.style.color = "#000000";
}

if(document.all) 
{
  function display(obj)
  {
    document.all[obj].style.visibility = "visible";
  }

  function hide(obj)
  {
    document.all[obj].style.visibility = "visible";
  }

  function productsback(obj)
  {
    document.all[obj].style.backgroundImage = "url('"+url+"/products-b.gif')";
    document.all[obj].style.color = "#ffffff";
  }

  function backgroundback(obj)
  {
    document.all[obj].style.backgroundImage = "url('"+url+"/menuback-b.gif')";
    document.all[obj].style.color = "#ffffff";
  }

}
else if (document.getElementById)
{
  function display(obj)
  {
    document.getElementById(obj).style.visibility = "visible";
  }
  
  function hide(obj)
  {
    document.getElementById(obj).style.visibility = "hidden";
  }

  function productsback(obj)
  {
    document.getElementById(obj).style.backgroundImage = "url('"+url+"/products-b.gif')";
    document.getElementById(obj).style.color = "#ffffff";
  }

  function backgroundback(obj)
  {
    document.getElementById(obj).style.backgroundImage = "url('"+url+"/menuback-b.gif')";
    document.getElementById(obj).style.color = "#ffffff";
  }

}

function backgroundchange(obj)
{
  obj.style.backgroundImage = "url('"+url+"/products-y.gif')";
  obj.style.color = "#000000";
}

function background2change(obj)
{
  obj.style.backgroundImage = "url('"+url+"/menuback-y.gif')";
  obj.style.color = "#000000";
}

function modifyMenuChoice(obj,back,font)
{
	obj.style.color = font;
	obj.style.backgroundColor = back;
	if(document.all)
		obj.style.cursor = 'hand';
	else
		obj.style.cursor = 'pointer';
}



 