// Functions to open fore windows

function addEquipment(custid) 
	{
		
		var custid = custid;
		
		window.open('csr_equipment.php?cid=custid', 'Add Equipment',  'toolbar = 0, location = 0, status = 1, height = 400, width = 600, resizable = 0');
		
	}
	
	
function openWin()  
{
  url = "csr_equipment.php"                //Set address of new window
  var height = 400                       //Set height
  var width = 400                        //Set width
  var name = "Add Equipment"             //Set window name
  var top = 20                            //Set distance from top
  var left = 20                            //Set distance from bottom
  newwin=window.open(url, name, "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,width=" + width + ",height=" + height + ",left=" + left + ",top=" + top);
}
