*** print_orig.php	2006-10-22 21:29:05.000000000 -0700
--- print.php	2006-10-22 21:35:46.000000000 -0700
***************
*** 111,120 ****
  						if(!$queryresult) reportError(100,"Could not Retreive Report Information");				
  						$reportrecord=mysql_fetch_array($queryresult);	
  						$fakeExtForIE="";
! 						if($reportrecord["type"]=="PDF Report")
  							$fakeExtForIE="&ext=.pdf";
  						//javascript open each report in new window
! 						$tablePrinter->openwindows.="window.open('".$_SESSION["app_path"].$reportrecord["reportfile"]."?tid=".urlencode($tablePrinter->tableid).$fakeExtForIE."','print".$i."');\n";
  					}
  				}
  				$tablePrinter->openwindows.="</script>\n";
--- 111,122 ----
  						if(!$queryresult) reportError(100,"Could not Retreive Report Information");				
  						$reportrecord=mysql_fetch_array($queryresult);	
  						$fakeExtForIE="";
! 						if($reportrecord["type"]=="PDF Report"){
  							$fakeExtForIE="&ext=.pdf";
+ 							$randomNumber="&random=".rand(0,1000000);
+ 						}
  						//javascript open each report in new window
! 						$tablePrinter->openwindows.="window.open('".$_SESSION["app_path"].$reportrecord["reportfile"]."?tid=".urlencode($tablePrinter->tableid).$fakeExtForIE.$$randomNumber."','print".$i."');\n";
  					}
  				}
  				$tablePrinter->openwindows.="</script>\n";

