// AUTHOR: J.Gibbon 
/* CREATION DATE: 09/12/99 */
ok = false; pick = 1;
if (navigator.userAgent.indexOf ("Mozilla") != -1) {
  ok = parseInt(navigator.appVersion.substring(0,1)) >= 3
} else {}

   if (ok == 1) {
      arrowx = new Image(10,16)
      arrowx.src = "images/arrowx.gif"
      arrowo = new Image(10,16)
      arrowo.src = "images/arrowo.gif"
   }
  
   function one(nom) {
       if (ok == 1) {
          if ((nom == "f1")) {document.f1.src = arrowo.src;}
          if ((nom == "f2")) {document.f2.src = arrowo.src;}
          if ((nom == "f3")) {document.f3.src = arrowo.src;}
          if ((nom == "f4")) {document.f4.src = arrowo.src;}
          if ((nom == "f5")) {document.f5.src = arrowo.src;}
          if ((nom == "f6")) {document.f6.src = arrowo.src;}
          if ((nom == "f7")) {document.f7.src = arrowo.src;}
          return true;
       }
   }
   function two(nom) {
       if (ok == 1) {
          if ((nom == "f1")) {document.f1.src = arrowx.src;}
          if ((nom == "f2")) {document.f2.src = arrowx.src;}
          if ((nom == "f3")) {document.f3.src = arrowx.src;}
          if ((nom == "f4")) {document.f4.src = arrowx.src;}
          if ((nom == "f5")) {document.f5.src = arrowx.src;}
          if ((nom == "f6")) {document.f6.src = arrowx.src;}
          if ((nom == "f7")) {document.f7.src = arrowx.src;}
          return true;
       }
   }
   function init_arrows() {
  document.f1.src = arrowx.src;
  document.f2.src = arrowx.src;
  document.f3.src = arrowx.src;
  document.f4.src = arrowx.src;
  document.f5.src = arrowx.src;
  document.f6.src = arrowx.src;
  document.f7.src = arrowx.src;
   return true;
   }
   function three(nom) {
       if (ok == 1) {
          if (pick==1) {document.f1.src = arrowx.src;}
          if (pick==2) {document.f2.src = arrowx.src;}
          if (pick==3) {document.f3.src = arrowx.src;}
          if (pick==4) {document.f4.src = arrowx.src;}
          if (pick==5) {document.f5.src = arrowx.src;}
          if (pick==6) {document.f6.src = arrowx.src;}
          if (pick==7) {document.f7.src = arrowx.src;}
          if ((nom == "f1")&&(pick!=1)) {document.f1.src = arrowo.src; pick=1}
          if ((nom == "f2")&&(pick!=2)) {document.f2.src = arrowo.src; pick=2}
          if ((nom == "f3")&&(pick!=3)) {document.f3.src = arrowo.src; pick=3}
          if ((nom == "f4")&&(pick!=4)) {document.f4.src = arrowo.src; pick=4}
          if ((nom == "f5")&&(pick!=5)) {document.f5.src = arrowo.src; pick=5}
          if ((nom == "f6")&&(pick!=6)) {document.f6.src = arrowo.src; pick=6}
          if ((nom == "f7")&&(pick!=7)) {document.f7.src = arrowo.src; pick=7}
          return true;
       }
   }
function mailess(){location.href='mailto:'+'enquiry@essentialart.com'+'?subject='+'enquiry'+'';}
function open_images(){window.open("iframe1.html","gallery","width=790,height=495,menuBar=1,scrollbars=1,location=0,left=0,top=0");}
function open_poetry(){window.open("poetry1.html","gallery","width=790,height=495,menuBar=1,scrollbars=1,location=0,left=0,top=0");}
function open_philosophy(){window.open("phil1.html","gallery","width=790,height=495,menuBar=1,scrollbars=1,location=0,left=0,top=0");}
function open_catalog(){window.open("http://www.essentialart.com/acatalog/sitemap.html","new_page","width=790,height=495,menuBar=1,scrollbars=1,location=0,left=0,top=0");}
function open_about(){window.open("atxt1.html","gallery","width=400,height=250,menuBar=0,scrollbars=0,location=0,left=100,top=100");}
function open_links(){window.open("links.html","gallery","width=790,height=495,menuBar=1,scrollbars=1,location=0,left=0,top=0");}
function loaded(){ init_arrows(); document.onepix.src = images[0]; }



