// JavaScript Document
function selectAll()
{
	var objs=document.getElementsByName('chk1');
	for(i =0;i<objs.length;i++)
	{
		objs[i].checked=true;
	}
	return true;
}
function selectNotAll()
{
	var objs=document.getElementsByName('chk1');
	for(i=0;i<objs.length;i++)
	{
		objs[i].checked=false;
	}
	return true;
}

function displayDiv(id)
{
	var obj=document.getElementById(id);
	obj.style['visibility']='visible';
	return true;
}
function hiddenDiv(id)
{
	var obj=document.getElementById(id);
	obj.style['visibility']='hidden';
	return true;
}
function findGridAnchor(obj)
{
	document.forms[0].action='#'+obj.name;

	return true;
} 
function showToolTip()
{
//alert('a');
 var obj=document.getElementById('toolTip');
 //obj.style['visibility']='visible';
 alert(this.value);
 alert(obj.InnerText);
	if(this.value=7)
	{
	alert(obj.style['visibility']);
	obj.InnerText='work sent back to CSIT either by V21 Fup or eMail for possible customer call back.';
	
	}else if(this.value=4)
	{
	 obj.InnerHtml=" work completed as planned and portion of job being out of scope is sent back to CSIT. Jobs that have a dual task where part is not supported by PBPO ex: address change on #1 side of a form and a pre authorized payment request which is currently out of scope.";
	 }else if(this.value=1)
	 {
		obj.InnerHtml=" Works received and completed;";
		}
		else if(this.value=2)
		{
		obj.InnerHtml=" work received and being completed however due to a system issue preventing completion or the work is now in a follow -up status to be completed in priority the following business day. (Unplanned outages, system error, VPN slow down, 2pm shut down (2am V21 update);";
		}
		else if(this.value=3)
		{
			obj.InnerHtml="work received and actually transferred back to CSIT either by email or V21Q as subject is not outsourced or steps are not defined.";
		}
		else
		{
			obj.style['visibility']='hidden';
		}
			return true;
}
function hiddenToolTip()
{
 var obj=document.getElementById('toolTip');
 obj.style['visibility']='visible';
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
 
