  var arPhotos = new Array(
    new Array('p_1210','<br>P-1210 MOROCCAN SAND<br>(B Base)'),
    new Array('p_852','<br>P-852 LAGUNA<br>(A Base)'),
    new Array('p_722','<br>P-722 ARTEMISIA<br>(B Base)'),
    new Array('p_6','<br>P-6 EL DORADO<br>(A Base)'),
    new Array('p_174','<br>P-174 DESERT BEIGE<br>(B Base)'),
    new Array('p_734','<br>P-IRISH CREAM<br>(B Base)'),
    new Array('p_2475','<br>P-2475 HONEYDEW<br>(A Base)'),
    new Array('p_450','<br>P-450 CAF&Eacute; MOCHA<br>(B Base)'),
    new Array('p_40','<br>P-40 ALABASTER<br>(B Base)'),
    new Array('p_706','<br>P-706 COTTONSEED<br>(A Base)'),
    new Array('p_3850','<br>P-3850 PURPLE RAIN<br>(B Base)'),
    new Array('p_124','<br>P-124 IVORY POWDER<br>(A Base)'),
    new Array('p_810','<br>P-810 IRONSTONE<br>(B Base)'),
    new Array('p_192','<br>P-192 CARAMELO<br>(B Base)'),
    new Array('p_872','<br>P-872 MYSTIC PINE<br>(B Base)'),
    new Array('p_171','<br>P-171 FLINTRIDGE<br>(B Base)'),
    new Array('p_1661','<br>P-1661 TITANIUM<br>(B Base)'),
    new Array('p_2007','<br>P-2007 BUTTERSCOTCH<br>(B Base)'),
    new Array('p_170','<br>P-170 CARDONA<br>(B Base)'),
    new Array('p_105','<br>P-105 OATMEAL<br>(B Base)'),
    new Array('p_100','<br>P-100 GLACIER WHITE<br>(A Base)'),
    new Array('p_138','<br>P-138 HAYSTACK<br>(A Base)'),
    new Array('p_2090','<br>P-2090 THUNDER SKY<br>(B Base)'),
    new Array('p_3636','<br>P-3636 PEACH COBBLER<br>(A Base)'),
    new Array('p_525','<br>P-525 NAVAJO WHITE<br>(A Base)'),
    new Array('p_141','<br>P-141 BISQUE<br>(A Base)'),
    new Array('p_891','<br>P-891 WRIGHTWOOD<br>(A Base)'),
    new Array('p_18','<br>P-18 FRENCH TOAST<br>(B Base)'),
    new Array('p_879','<br>P-879 HUMBOLDT<br>(B Base)'),
    new Array('p_5600','<br>P-5600 CARGO<br>(B Base)')
  );               
                   
function getParameter(str, name) {
  var res = "";
  if (str.indexOf("?")!=-1) {
    str = str.substring(str.indexOf("?")+1, str.length);
    if (str.indexOf(name)!=-1) {
      if (str.indexOf("&"+name, str.indexOf(name)+name.length)!=-1)
        res = str.substring(str.indexOf("&"+name)+name.length+1, str.indexOf("&"+name))
   	  else
        res = str.substring(str.indexOf(name)+name.length+1, str.length);
      if (res.indexOf("&")!=-1)
        res = res.substring(0,res.indexOf("&"));
   	}
  }
  return res;
}

  ind = getParameter(self.document.location.href, 'ind');
  if (isNaN(ind) || (ind=='') || (ind<0) || (ind>arPhotos.length-1))
    ind = 0;

  var arImages = new Array();

function popup2(adresa, w, h){
  var l=(screen.availWidth-w)/2 , t=(screen.availHeight-h)/2;
  win=window.open(adresa,"bigimage","width="+w+",height="+h+",left="+l+",top="+t+",statusbar=no,toolbar=no,scrollbars=no,navbar=no");
  win.focus();
}  
  
  function showImageBig(number) {
   var width=340;
   var height=420;
   popup2('big_image2.htm?img='+'images/colors/popups/'+arPhotos[number][0]+'.jpg', width,height);
  }                   
                   
                   
                   