if (document.images) {

 newson = new Image();
 newson.src = "/images/menu_news_on.gif";

 newsoff = new Image();
 newsoff.src = "/images/menu_news_off.gif";

 paintingson = new Image();
 paintingson.src = "/images/menu_paintings_on.gif";

 paintingsoff = new Image();
 paintingsoff.src = "/images/menu_paintings_off.gif";

 informationon = new Image();
 informationon.src = "/images/menu_information_on.gif";

 informationoff = new Image();
 informationoff.src = "/images/menu_information_off.gif";

 contacton = new Image();
 contacton.src = "/images/menu_contact_on.gif";

 contactoff = new Image();
 contactoff.src = "/images/menu_contact_off.gif";

 statementon = new Image();
 statementon.src = "/images/menu_statement_on.gif";

 statementoff = new Image();
 statementoff.src = "/images/menu_statement_off.gif";

 biographyon = new Image();
 biographyon.src = "/images/menu_biography_on.gif";

 biographyoff = new Image();
 biographyoff.src = "/images/menu_biography_off.gif";

 linkson = new Image();
 linkson.src = "/images/menu_links_on.gif";

 linksoff = new Image();
 linksoff.src = "/images/menu_links_off.gif";

 reviewson = new Image();
 reviewson.src = "/images/menu_reviews_on.gif";

 reviewsoff = new Image();
 reviewsoff.src = "/images/menu_reviews_off.gif";

 studioon = new Image();
 studioon.src = "/images/menu_studio_on.gif";

 studiooff = new Image();
 studiooff.src = "/images/menu_studio_off.gif";

 representationon = new Image();
 representationon.src = "/images/menu_representation_on.gif";

 representationoff = new Image();
 representationoff.src = "/images/menu_representation_off.gif";

 reproductionson = new Image();
 reproductionson.src = "/images/menu_reproductions_on.gif";

 reproductionsoff = new Image();
 reproductionsoff.src = "/images/menu_reproductions_off.gif";

 creditson = new Image();
 creditson.src = "/images/menu_credits_on.gif";

 creditsoff = new Image();
 creditsoff.src = "/images/menu_credits_off.gif";


 }

function view(id) {
    LeftPosition = (screen.width) ? (screen.width-750)/2 : 0;
    TopPosition = (screen.height) ? (screen.height-635)/2 : 0;
    OpenWin = 
    this.open("painting.php?id="+id,"PopupWindow","toolbar=no,width=750,height=635,left="+LeftPosition+",top="+TopPosition+",directories=no,status=no,scrollbars=yes,resize=no,menubar=no")
}

