function toggledisplay (id, indicator){ 
	if (document.getElementById) { 
		var obj = document.getElementById(id);
		var pic = document.getElementsByName(indicator);
		obj.style.display = (obj.style.display=='block'?'none':'block');
		pic[0].src = (obj.style.display=='block'?'/_layouts/Images/MobileVoucher/icon-minus.gif':'/_layouts/Images/MobileVoucher/icon-plus.gif');
	} else if(document.all) { // IE
		id.style.display = (id.style.display=='block'?'none':'block');
		indicator.src = (id.style.display=='block'?'/_layouts/Images/MobileVoucher/icon-minus.gif':'/_layouts/Images/MobileVoucher/icon-plus.gif');
	} else if (document.layers) { // Netscape 4.x
		document.id.style.display = (document.id.style.display=='block'?'none':'block');
		document.indicator.src = (document.id.style.display=='block'?'/_layouts/Images/MobileVoucher/icon-minus.gif':'/_layouts/Images/MobileVoucher/icon-plus.gif');
	}
}

function openPrintWnd(fil, width, height)
{
    var wnd = window.open(fil,'print','left='+((screen.availWidth-width)/2)+',top='+((screen.availHeight-height)/2)+',width='+width+',height='+height+',directories=no,location=no,menubar=no,scrollbars=yes,status=no,toolbar=no,resizable=yes');
    if(wnd!=null) wnd.focus();
}