Topic: Print preview page

Hi im making css print page

Im useing this solution ->
example ->
Its work great

but i also use prototype.js and

<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');

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');

but i dont know how

Any help?