<!--

function new_window(theURL,winName,features,myWidth,myHeight,isCenter) {

  if(window.screen)if(isCenter)if(isCenter=="true") {

    var myLeft = (screen.width-myWidth)/2;

    var myTop = (screen.height-myHeight)/2;

    features+=(features!='')?',':'';

    features+=',left='+myLeft+',top='+myTop;

  }

  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);

}



function new_imagepopup(theURL,winName,altName,features,myWidth,myHeight,isCenter) {

  if(window.screen)if(isCenter)if(isCenter=="true") {

    var myLeft = (screen.width-myWidth)/2;

    var myTop = (screen.height-myHeight)/2;

    features+=(features!='')?',':'';

    features+=',left='+myLeft+',top='+myTop;

  }

  imagepopup = window.open('','',features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);

  with (imagepopup) {

    document.open();

    document.write('<title>'+winName+'</title>');

    document.write('<meta http-equiv="imagetoolbar" content="no">');

    document.write('<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll="no">'

  )

  document.write('<a href="javascript:self.close()">');

  document.write('<img src="'+theURL+'" border="0" alt="'+altName+'" title="'+altName+'">')

  document.close();}

}



function newImage(arg) {

  if (document.images) {

    rslt = new Image();

    rslt.src = arg;

    return rslt;

  }

}



var preloadFlag = false;

function preloadImages() {

  

    for (var i=0; i<preloadImages.arguments.length; i++) {

      rslt = newImage(preloadImages.arguments[i]);
      


    }

    preloadFlag = true;


}



  



function over() {

  document[over.arguments[0]].src = "images/home/" + over.arguments[0] + "_over." + over.arguments[1];
  
  on(over.arguments[2]);

}

function out() {

  document[out.arguments[0]].src = "images/home/" + out.arguments[0] + "." + out.arguments[1];
  
  off();

}

function over2() {

  document[over2.arguments[0]].src = "images/" + over2.arguments[0] + "_over." + over2.arguments[1];
  
  on(over2.arguments[2]);

}

function out2() {

  document[out2.arguments[0]].src = "images/" + out2.arguments[0] + "." + out2.arguments[1];
  
  off();

}


//-->