 if(screen.width<=800) {
resind=3;
wid=760;
mwid=432;
mhigh=28;
gwid=760;
ghigh=474;
high=82;
pwid=308;
phigh=244;
twid=740;
thigh=46;
tewid=760;
tehigh=30;

expright=207;
expmid=300;
expleft=220;
expwid=290;
exphigh=237;
exptblhigh=300;
palign='top';
rectleft=186;
}
else {
   if(screen.width<=1024) {
   resind=2;  
   wid=960;
  mwid=672;
  mhigh=43;
  gwid=960;
  ghigh=600;

   high=105;
twid=740;
thigh=46;
tewid=960;
tehigh=37;


   pwid=396;
   phigh=314;

expright=245;
expmid=374;
expleft=255;
expwid=360;
exphigh=297;
exptblhigh=374;
rectleft=220;
palign='top';

 }
   else {
   resind=1;
   wid=1000;
  mwid=700;
  mhigh=46;
  gwid=1000;
  ghigh=624;
   high=108; 
twid=740;
thigh=46;
tewid=1000;
tehigh=39;

   pwid=440;
   phigh=348;
palign='bottom';
expright=272;
expmid=415;
expleft=283;
expwid=400;
exphigh=330;
exptblhigh=360;
rectleft=245;

  }
}

dispWin=null;
if(screen.availwidth>800) {
wide=800;
hige=600;
}
else {
wide=780;
hige=580;
}


offX=(screen.availwidth-wide)/2;
offY=(screen.availHeight-hige)/2-20;


  function dispFile(url)

{ 

features='width='+wide+',height='+hige+',left='+offX+',top='+offY+',scrollbars=yes,status=no,resizable=yes'
if(dispWin) {
 dispWin.close();
}
dispWin=window.open(url,'disp',features);

 dispWin.focus();


 }



function  defMovie(movie,mwidth,mheight,bgclr)
{     
 document.writeln(''+
'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+mwidth+'" height="'+mheight+'" name="'+movie+'" swLiveConnect=true id="'+movie+'" align="middle">'+
'<param name="allowScriptAccess" value="sameDomain" />'+
'<param name="'+movie+'" value="'+movie+'.swf" />'+
'<param name="quality" value="best" />'+
'<param name="wmode" value="transparent" />'+
'<param name="bgcolor" value="'+bgclr+'" />'+
'<embed src="'+movie+'.swf" quality="best"  swLiveConnect=true wmode="transparent" bgcolor="'+bgclr+'" width="'+mwidth+'" height="'+mheight+'" id="'+movie+'" name="'+movie+'" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
'</object>');

}


                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
