function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}


var win = null;
function openWindow(mypage,myname,w,h,features) {
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  if (winl < 0) winl = 0;
  if (wint < 0) wint = 0;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';
  settings += features;
  win = window.open(mypage,myname,settings);
  win.window.focus();
}



if (document.images) {
        nav0on = new Image();
        nav0on.src = "../images/home-page-on.gif"; 
        nav0off = new Image();
        nav0off.src = "../images/home-page-off.gif";
        nav1on = new Image();
        nav1on.src = "../images/client-login-on.gif"; 
        nav1off = new Image();
        nav1off.src = "../images/client-login-off.gif";
        nav1indexon = new Image();
        nav1indexon.src = "images/client-login-on.gif"; 
        nav1indexoff = new Image();
        nav1indexoff.src = "images/client-login-off.gif";
        nav0indexon = new Image();
        nav0indexon.src = "images/home-page-on.gif"; 
        nav0indexoff = new Image();
        nav0indexoff.src = "images/home-page-off.gif";
        
        hightech1on = new Image();
        hightech1on.src = "../images/high-tech-faq-on.gif"; 
        hightech1off = new Image();
        hightech1off.src = "../images/high-tech-faq-off.gif";
        hightech2on = new Image();
        hightech2on.src = "../images/high-tech-code-performance-on.gif"; 
        hightech2off = new Image();
        hightech2off.src = "../images/high-tech-code-performance-off.gif";
        hightech3on = new Image();
        hightech3on.src = "../images/high-tech-marketing-forensics-on.gif"; 
        hightech3off = new Image();
        hightech3off.src = "../images/high-tech-marketing-forensics-off.gif";
        hightech4on = new Image();
        hightech4on.src = "../images/high-tech-exec-assessment-on.gif"; 
        hightech4off = new Image();
        hightech4off.src = "../images/high-tech-exec-assessment-off.gif";
        hightech5on = new Image();
        hightech5on.src = "../images/high-tech-assessment-tool-on.gif"; 
        hightech5off = new Image();
        hightech5off.src = "../images/high-tech-assessment-tool-off.gif";
        hightech6on = new Image();
        hightech6on.src = "../images/high-tech-time-frame-on.gif"; 
        hightech6off = new Image();
        hightech6off.src = "../images/high-tech-time-frame-off.gif";
        hightech7on = new Image();
        hightech7on.src = "../images/high-tech-suppliers-on.gif"; 
        hightech7off = new Image();
        hightech7off.src = "../images/high-tech-suppliers-off.gif";
        hightech8on = new Image();
        hightech8on.src = "../images/high-tech-job-seekers-on.gif"; 
        hightech8off = new Image();
        hightech8off.src = "../images/high-tech-job-seekers-off.gif";
        
        startup1on = new Image();
        startup1on.src = "../images/start-up-faq-on.gif"; 
        startup1off = new Image();
        startup1off.src = "../images/start-up-faq-off.gif";
        startup2on = new Image();
        startup2on.src = "../images/start-up-code-performance-on.gif"; 
        startup2off = new Image();
        startup2off.src = "../images/start-up-code-performance-off.gif";
        startup3on = new Image();
        startup3on.src = "../images/start-up-marketing-plan-on.gif"; 
        startup3off = new Image();
        startup3off.src = "../images/start-up-marketing-plan-off.gif";
        startup4on = new Image();
        startup4on.src = "../images/start-up-exec-assessment-on.gif"; 
        startup4off = new Image();
        startup4off.src = "../images/start-up-exec-assessment-off.gif";
        startup5on = new Image();
        startup5on.src = "../images/start-up-assessment-tool-on.gif"; 
        startup5off = new Image();
        startup5off.src = "../images/start-up-assessment-tool-off.gif";
        startup6on = new Image();
        startup6on.src = "../images/start-up-time-frame-on.gif"; 
        startup6off = new Image();
        startup6off.src = "../images/start-up-time-frame-off.gif";
        startup7on = new Image();
        startup7on.src = "../images/start-up-suppliers-on.gif"; 
        startup7off = new Image();
        startup7off.src = "../images/start-up-suppliers-off.gif";
        startup8on = new Image();
        startup8on.src = "../images/start-up-job-seekers-on.gif"; 
        startup8off = new Image();
        startup8off.src = "../images/start-up-job-seekers-off.gif";
        startup9on = new Image();
        startup9on.src = "../images/start-up-marketing-imp-on.gif"; 
        startup9off = new Image();
        startup9off.src = "../images/start-up-marketing-imp-off.gif";
        
        established1on = new Image();
        established1on.src = "../images/established-faq-on.gif"; 
        established1off = new Image();
        established1off.src = "../images/established-faq-off.gif";
        established2on = new Image();
        established2on.src = "../images/established-code-performance-on.gif"; 
        established2off = new Image();
        established2off.src = "../images/established-code-performance-off.gif";
        established3on = new Image();
        established3on.src = "../images/established-marketing-plan-on.gif"; 
        established3off = new Image();
        established3off.src = "../images/established-marketing-plan-off.gif";
        established4on = new Image();
        established4on.src = "../images/established-exec-assessment-on.gif"; 
        established4off = new Image();
        established4off.src = "../images/established-exec-assessment-off.gif";
        established5on = new Image();
        established5on.src = "../images/established-assessment-tool-on.gif"; 
        established5off = new Image();
        established5off.src = "../images/established-assessment-tool-off.gif";
        established6on = new Image();
        established6on.src = "../images/established-time-frame-on.gif"; 
        established6off = new Image();
        established6off.src = "../images/established-time-frame-off.gif";
        established7on = new Image();
        established7on.src = "../images/established-suppliers-on.gif"; 
        established7off = new Image();
        established7off.src = "../images/established-suppliers-off.gif";
        established8on = new Image();
        established8on.src = "../images/established-job-seekers-on.gif"; 
        established8off = new Image();
        established8off.src = "../images/established-job-seekers-off.gif";
        established9on = new Image();
        established9on.src = "../images/established-marketing-imp-on.gif"; 
        established9off = new Image();
        established9off.src = "../images/established-marketing-imp-off.gif";
        
}
function changeImages(){
        if(document.images){
                for (var i=0; i<changeImages.arguments.length; i+=2) {
                        document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
                }
        }
}




var arImages=new Array();
function Preload() {
 var temp = Preload.arguments; 
 for(x=0; x < temp.length; x++) {
  arImages[x]=new Image();
  arImages[x].src=Preload.arguments[x];
 }
}