function MM_findObj(n, d)
{
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
  d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers()
{ //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}
function MM_swapImgRestore()
{
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

var safari = (navigator.userAgent.indexOf("Safari") != -1);
var nnbcmac = (navigator.userAgent.indexOf("Macintosh") != -1) && (navigator.userAgent.indexOf("PPC") != -1) && (navigator.userAgent.indexOf("Netscape") != -1);
var moz = (navigator.userAgent.indexOf("Macintosh") != -1) && (navigator.userAgent.indexOf("PPC") != -1) && (navigator.userAgent.indexOf("Mozilla") != -1);
if (safari) document.write("<style type='text/css'> \t@import url(\/css\/crc_exceptions.css);\t<\/style>");
else if (nnbcmac) document.write("<style type='text/css'>\t@import url(\/css\/crc_exceptions.css);\t<\/style>");
else if (moz) document.write("<style type=\"text/css\">\t@import url(\/css\/crc_exceptions.css);\t<\/style>");


function RotateImage()
{
var j,d="",l="",m="",p="",q="",z="",KW_ARI= new Array(),Caption= new Array();

KW_ARI[KW_ARI.length]='/images/rotate/cherryblossom.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/crc-mural-1.jpg?&width=234&height=247&border=0';
//KW_ARI[KW_ARI.length]='/images/rotate/hangar.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/rebar.jpg?&width=234&height=247&border=0';
//KW_ARI[KW_ARI.length]='/images/rotate/queenanne1.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/crc-mural-3.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/queenanne2.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/queenanne3.jpg?&width=234&height=247&border=0';
//KW_ARI[KW_ARI.length]='/images/rotate/shipyard.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/truss.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/crc-mural-5.jpg?&width=234&height=247&border=0';
//KW_ARI[KW_ARI.length]='/images/rotate/wheat.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/windfarm_1.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/windfarm_2.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/nycorn.jpg?&width=234&height=247&border=0';

 
j=parseInt(Math.random()*KW_ARI.length);
j=(isNaN(j))?0:j;
if (KW_ARI[j].indexOf('?')==-1)
{
    document.write("<img src='"+KW_ARI[j]+"'>");
}
else
{
    nvp=KW_ARI[j].substring(KW_ARI[j].indexOf('?')+2).split('&');
    for(var i=0;i<nvp.length;i++)
    {
      sub=nvp[i].split('=');
      switch(sub[0])
      {
         case  'link':
                l="<a href='"+unescape(sub[1])+"'>";
                p="</a>";
                break;
         case  'target':
                q=" target='"+unescape(sub[1])+"'";
                break;
         default:
                m+=" "+sub[0]+"='"+unescape(sub[1])+"'";
                break;
      }
}
z=(l!="")?((q!="")?l.substring(0,l.length-1)+q+">":l):"";
z+="<img src='"+KW_ARI[j].substring(0,KW_ARI[j].indexOf('?'))+"'"+m+">";
document.write(z);
}
}

function RotateImageCPF()
{
var j,d="",l="",m="",p="",q="",z="",KW_ARI= new Array(),Caption= new Array();
KW_ARI[KW_ARI.length]='/images/cpf/CPF_imagery_1.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/cpf/CPF_imagery_2.jpg??&width=334&height=297&border=0';
/*KW_ARI[KW_ARI.length]='/images/cpf/CPF_imagery_3.jpg??&width=334&height=297&border=0';  */
KW_ARI[KW_ARI.length]='/images/cpf/CPF_imagery_4.jpg??&width=334&height=297&border=0';
/*KW_ARI[KW_ARI.length]='/images/cpf/CPF_imagery_5.jpg??&width=334&height=297&border=0'; */
KW_ARI[KW_ARI.length]='/images/cpf/CPF_imagery_6.jpg??&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/cpf/CPF_imagery_7.jpg??&width=334&height=297&border=0';
/*KW_ARI[KW_ARI.length]='/images/cpf/CPF_imagery_8.jpg?&width=334&height=297&border=0';*/
/*KW_ARI[KW_ARI.length]='/images/cpf/CPF_bw_imagery_2.jpg??&width=334&height=297&border=0';  */
/*KW_ARI[KW_ARI.length]='/images/cpf/CPF_bw_imagery_3.jpg??&width=334&height=297&border=0'; */
/*KW_ARI[KW_ARI.length]='/images/cpf/CPF_bw_imagery_4.jpg??&width=334&height=297&border=0'; */
KW_ARI[KW_ARI.length]='/images/cpf/CPF_bw_imagery_5.jpg??&width=334&height=297&border=0';
/*KW_ARI[KW_ARI.length]='/images/cpf/CPF_bw_imagery_6.jpg??&width=334&height=297&border=0'; */
/*KW_ARI[KW_ARI.length]='/images/cpf/CPF_bw_imagery_7.jpg??&width=334&height=297&border=0';     */
////////////////////////////////////////////////////////////////////////
KW_ARI[KW_ARI.length]='/images/cpf/CPF_im_1.jpg??&width=334&height=297&border=0'; 
KW_ARI[KW_ARI.length]='/images/cpf/CPF_im_2.jpg??&width=334&height=297&border=0'; 
KW_ARI[KW_ARI.length]='/images/cpf/CPF_im_3.jpg??&width=334&height=297&border=0'; 
KW_ARI[KW_ARI.length]='/images/cpf/CPF_im_4.jpg??&width=334&height=297&border=0'; 
KW_ARI[KW_ARI.length]='/images/cpf/CPF_im_5.jpg??&width=334&height=297&border=0'; 
KW_ARI[KW_ARI.length]='/images/cpf/CPF_im_6.jpg??&width=334&height=297&border=0'; 
KW_ARI[KW_ARI.length]='/images/cpf/CPF_im_7.jpg??&width=334&height=297&border=0'; 
KW_ARI[KW_ARI.length]='/images/cpf/CPF_im_8.jpg??&width=334&height=297&border=0'; 
//////////////////////////////////////////////////////////////////////////////// 
j=parseInt(Math.random()*KW_ARI.length);
j=(isNaN(j))?0:j;
if (KW_ARI[j].indexOf('?')==-1)
{
    document.write("<img src='"+KW_ARI[j]+"'>");
}
else
{
    nvp=KW_ARI[j].substring(KW_ARI[j].indexOf('?')+2).split('&');
    for(var i=0;i<nvp.length;i++)
    {
      sub=nvp[i].split('=');
      switch(sub[0])
      {
         case  'link':
                l="<a href='"+unescape(sub[1])+"'>";
                p="</a>";
                break;
         case  'target':
                q=" target='"+unescape(sub[1])+"'";
                break;
         default:
                m+=" "+sub[0]+"='"+unescape(sub[1])+"'";
                break;
      }
}
z=(l!="")?((q!="")?l.substring(0,l.length-1)+q+">":l):"";
z+="<img src='"+KW_ARI[j].substring(0,KW_ARI[j].indexOf('?'))+"'"+m+">";
document.write(z);
}
}

function RotateImageDGAM()
{
var j,d="",l="",m="",p="",q="",z="",KW_ARI= new Array(),Caption= new Array();
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_1.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_6.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_7.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_8.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_9.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_10.jpg?&width=334&height=297&border=0';

KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_2.jpg?&width=334&height=297&border=0';

KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_3.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_2.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_6.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_7.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_8.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_9.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_10.jpg?&width=334&height=297&border=0';

KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_4.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_2.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_6.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_7.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_8.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_9.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_10.jpg?&width=334&height=297&border=0';

KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_5.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_6.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_7.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_8.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_9.jpg?&width=334&height=297&border=0';
KW_ARI[KW_ARI.length]='/images/dgam/dgam_image_10.jpg?&width=334&height=297&border=0';
//////////////////////////////////////////////////////////////////////////////// 
j=parseInt(Math.random()*KW_ARI.length);
j=(isNaN(j))?0:j;
if (KW_ARI[j].indexOf('?')==-1)
{
    document.write("<img src='"+KW_ARI[j]+"'>");
}
else
{
    nvp=KW_ARI[j].substring(KW_ARI[j].indexOf('?')+2).split('&');
    for(var i=0;i<nvp.length;i++)
    {
      sub=nvp[i].split('=');
      switch(sub[0])
      {
         case  'link':
                l="<a href='"+unescape(sub[1])+"'>";
                p="</a>";
                break;
         case  'target':
                q=" target='"+unescape(sub[1])+"'";
                break;
         default:
                m+=" "+sub[0]+"='"+unescape(sub[1])+"'";
                break;
      }
}
z=(l!="")?((q!="")?l.substring(0,l.length-1)+q+">":l):"";
z+="<img src='"+KW_ARI[j].substring(0,KW_ARI[j].indexOf('?'))+"'"+m+">";
document.write(z);
}
}
function RotateImageCRF()
{
var j,d="",l="",m="",p="",q="",z="",KW_ARI= new Array(),Caption= new Array();

KW_ARI[KW_ARI.length]='/images/rotate/crc-mural-1.jpg?&width=234&height=247&border=0';
//KW_ARI[KW_ARI.length]='/images/rotate/hangar.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/rebar.jpg?&width=234&height=247&border=0';
//KW_ARI[KW_ARI.length]='/images/rotate/queenanne1.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/crc-mural-3.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/queenanne2.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/queenanne3.jpg?&width=234&height=247&border=0';
//KW_ARI[KW_ARI.length]='/images/rotate/shipyard.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/crc-mural-5.jpg?&width=234&height=247&border=0';
KW_ARI[KW_ARI.length]='/images/rotate/nycorn.jpg?&width=234&height=247&border=0';

 
j=parseInt(Math.random()*KW_ARI.length);
j=(isNaN(j))?0:j;
if (KW_ARI[j].indexOf('?')==-1)
{
    document.write("<img src='"+KW_ARI[j]+"'>");
}
else
{
    nvp=KW_ARI[j].substring(KW_ARI[j].indexOf('?')+2).split('&');
    for(var i=0;i<nvp.length;i++)
    {
      sub=nvp[i].split('=');
      switch(sub[0])
      {
         case  'link':
                l="<a href='"+unescape(sub[1])+"'>";
                p="</a>";
                break;
         case  'target':
                q=" target='"+unescape(sub[1])+"'";
                break;
         default:
                m+=" "+sub[0]+"='"+unescape(sub[1])+"'";
                break;
      }
}
z=(l!="")?((q!="")?l.substring(0,l.length-1)+q+">":l):"";
z+="<img src='"+KW_ARI[j].substring(0,KW_ARI[j].indexOf('?'))+"'"+m+">";
document.write(z);
}
}

