rem: printWindow.print(); 
context: function showPrintPopup(){	var args = 'width='+(self.screen.availWidth/2)+',height='+parseInt(self.screen.availHeight*0.8)+',status=0,location=0,menubar=0,directories=0,scrollbars=1';	var urlSuffix = '&ignore_frames=1&print_view=1';	var urlBase = self.location.href;	if (urlBase.indexOf('&assetid=') == -1) {		// the assetid is not in the url, probably cause we just created		// try to find it elsewhere		var mainForm = document.getElementById('main_form');		if (mainForm) urlBase = mainForm.action;	}	var printWindow = window.open(urlBase + urlSuffix, 'printWindow', args);	printWindow.print();}
meta: 5635	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5635/e4dd0f38023848ec45d68e5c2546398545d6a45c/edit.js/buggy/core/lib/js/edit.js