function GetConfirm(objSender,MessageText)
{
	if(window.confirm(MessageText))
		objSender.click();
	return false;
}


function doAll(sender)
{
var obj=document.forms[0].elements;
for (var i=0;i<obj.length;i++)
	{
		if (obj.item(i).type=="checkbox"){
			if(sender.checked)
				obj.item(i).checked=true;
			else
				obj.item(i).checked=false;
		}
	}
}

function PushData(fromid,toid)
{
	var from = document.getElementById(fromid);
	var toid = document.getElementById(toid);
	toid.value = from.value;
}

function launchWin(w,h,srcURL,sizable, obj, scrollbar)
{
	if (scrollbar=="") scrollbar=0;
	lPos = (screen.width) ? (screen.width-w)/2 : 0; tPos = (screen.height) ? (screen.height-h)/2 : 0;
	aWin = window.open(srcURL, "", "height="+h+", width="+w+", left="+lPos+", top="+tPos+", toolbar=0, location=0,directories=0,status=1,menuBar=0,scrollBars="+scrollbar+",resizable="+sizable);
	//aWin.opener=obj;				
	aWin.focus();
	aWin.owner=document.location.href;
	//processBarred(aPos);
}