// JavaScript Document for browse.php on IPS-2

function js_GetDetails(vehid)
{ ckbox = eval('document.browse3.id'+vehid);
  ckbox.checked = "true";
  document.browse3.submit();
  return true;
}

function js_HighLight(obj)
{ lastcolor=obj.bgColor;
	obj.bgColor = highlightcolor;
}

function js_UnHighLight(obj)
{ obj.bgColor=lastcolor;
}

function js_DoBlink()
{ var x = 0;
  while (document.getElementById("blinkthis"+x))
  { varName = eval("blinkthis"+x);
		varName.style.visibility = varName.style.visibility == "visible" ? "hidden" : "visible";
		x++;
	}
}

function js_StartBlink()
{ if(document.getElementById("blinkthis0"))
  { setInterval("js_DoBlink()", 500);
	}
}

