Topic: Print preview page

Hi im making css print page

Im useing this solution -> http://www.alistapart.com/articles/printtopreview/
example -> http://www.alistapart.com/d/printtopreview/example.html
Its work great

but i also use prototype.js and http://livepipe.net/projects/control_tabs/


<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/print.css" type="text/css" media="print" />

The problem is that JS script for tabs hides some parts of page which i want in preview print (when i click browser preview print)

I try too put in print.css -  display:block; for those elements but its dont work

In page code i got (thx to it tabs work)

   <script type="text/javascript">
    new Control.Tabs('tabs');
   </script>

so i try to check with JS what stylesheet it use currently and make some 'if'

pseudo code
   <script type="text/javascript">
        if( screen or style)
    new Control.Tabs('tabs');
   </script>

but i dont know how

Any help?
Thx