// form; check for mandatory fields
function Print(url)
{
	content = document.getElementById('mainPrintContent').innerHTML;	
	openPrintWindow(url, content);
}

function Print_lb(url)
{
	content = document.getElementById('lb_mainPrintContent').innerHTML;	
	openPrintWindow(url, content);
}


function openPrintWindow(theURL, theContent) 
{ 
	
	winName = 'printWin';
	features ='scrollbars=yes,width=660,height=620';
	
	printWin = window.open(theURL,winName,features);
	printWin.content2Print = theContent;

}



