//Created by Tim Carey
//Careyt@GoldenFirecp.com
 /* 
document.write("<br> inner width = " + window.innerWidth);
        document.write("<br> inner height = " + window.innerHeight);
windowwidth = window.innerWidth;
windowheight = window.innerHeight;*/
//document.images['headerlogo'].src = 'WRAimages/WRA_bluegrayheaderlogo800x600.jpg'

/* if (screenrezwidth)
 {
  document.images['headerlogo'].src = "WRAimages/WRA_bluegrayheaderlogo800x600.jpg"
 }screenrezheightB = screen.availHeight 
        document.write("<br>screen height = " + screen.availHeight);
 
 document.write("<br>screen width = " + screenrezwidthB);*/
 

var rollonimgsB=new Array()
var globalrollimgindexB=0
var globalrolltargB=0
var gotolinkB="#"

screenrezwidthB = screen.availWidth;
document.cookie = "screenrezwidthB" + "=" +screenrezwidthB;
//Session ("screenrezwidthB") =screenrezwidthB

function preloadonimagesB()
{
//preload images that show when mouse goes on an element into array rollonimgs

for (i=0;i<preloadonimagesB.arguments.length;i++){
rollonimgsB[i]=new Image()
rollonimgsB[i].src=preloadonimagesB.arguments[i]
}
}
function rollonimgB()
{
/*,rolltargimgindex,url,urlB
imgindexB =0,rolltargBrolltargB
urlB ='local'*/
rolltargB='headerlogoc'
imgindexB= 0
//mu1 = New Image ();
//mu1.src =  "../menu/WRA_ MainMenu_Home800X600.jpg";
globalrollimgindexB = imgindexB;
globalrolltargB = rolltargB;
 if (screenrezwidthB < 801){
 if (document.images)
{
//get name of image in img src
document.images[rolltargB].src=rollonimgsB[imgindexB].src;
//document.images[rolltargB].src=mu1;
}
}
}