function leapto(form, nr) {
   var myindex=form.quick_select.selectedIndex;
   window.location.href=form.quick_select.options[myindex].value; 
}

	function newWindow(url) {
		window.open(url, 'images', 'width=340,height=375')
	}
	

	myPix = new Array("http://www.lomoplc.com/images/set1_01.jpg","http://www.lomoplc.com/images/set1_02.jpg","http://www.lomoplc.com/images/set1_05.jpg","http://www.lomoplc.com/images/set1_08.jpg","http://www.lomoplc.com/images/set1_09.jpg","http://www.lomoplc.com/images/set1_10.jpg","http://www.lomoplc.com/images/set1_11.jpg","http://www.lomoplc.com/images/set1_12.jpg","http://www.lomoplc.com/images/set1_13.jpg","http://www.lomoplc.com/images/set1_14.jpg","http://www.lomoplc.com/images/set1_16.jpg","http://www.lomoplc.com/images/set1_17.jpg","http://www.lomoplc.com/images/set1_18.jpg","http://www.lomoplc.com/images/set1_20.jpg","http://www.lomoplc.com/images/set1_21.jpg","http://www.lomoplc.com/images/set1_25.jpg","http://www.lomoplc.com/images/set1_26.jpg","http://www.lomoplc.com/images/set1_28.jpg","http://www.lomoplc.com/images/set1_29.jpg","http://www.lomoplc.com/images/set1_30.jpg","http://www.lomoplc.com/images/set1_31.jpg","http://www.lomoplc.com/images/set1_32.jpg","http://www.lomoplc.com/images/set1_33.jpg","http://www.lomoplc.com/images/set1_34.jpg","http://www.lomoplc.com/images/set1_35.jpg","http://www.lomoplc.com/images/set1_36.jpg","http://www.lomoplc.com/images/set1_38.jpg")
	myTxt = new Array("Uniaxia. First order red compensator. Interferiance figure. Conoscopic view","TNT Explosive (mag. 33X)","TNT Explosive. Crossed polars (mag. 33X)", "Silk Fabric (dyed). Crossed polars (mag. 33X)","Fossilized stem. Bright field (mag. 33X)","Synthetic fiber. (mag. 133X)","Aspirin tablets with cornstarch. Crossed polars (mag. 133X)","","Radiolaria. Darkfield (mag. 33X)","Radiolaria. Bright field (mag. 33X)","Chrysotile asbestos. Dispersion staining (mag. 33X)","Chrysotile asbestos. Dispersion staining (mag. 33X), n=1.550","","Amosite asbestos. Dispersion staining (mag. 33X)","Synthetic fiber. Crossed polars + quartz wedge (mag. 133X)","Synthetic fiber. Crossed polars + First order red compensator (mag. 133X)","Synthetic fiber. Senarmont compensator. Analyser rotated (mag. 133X)","","Barum platino cyanide. Crossed polars (mag. 33X)","Banded quartzite. Bright field (mag. 33X)","Banded quartzite. Crossed polars (mag. 33X)","Quartz. Crossed polrs (mag. 33X)","Quartz. Crossed polars + First order red compensator (mag. 33X)","Qurtz. Crossed polars + ? wave compensator","Bazalt. Crossed polars + First order red compensator (mag. 33X)","Bazalt. Crossed polars (mag. 33X)","Bazalt. Ordinary light (mag. 33X)")
	thisPic = 0
	thisTxt = 0
	imgCt = myPix.length - 1

	myPix2 = new Array("http://www.lomoplc.com/images/tele_pic1.jpg","http://www.lomoplc.com/images/tele_pic2.jpg","http://www.lomoplc.com/images/tele_pic3.jpg","http://www.lomoplc.com/images/tele_pic4.jpg","http://www.lomoplc.com/images/tele_pic5.jpg","http://www.lomoplc.com/images/tele_pic6.jpg","http://www.lomoplc.com/images/tele_pic7.jpg","http://www.lomoplc.com/images/tele_pic8.jpg")
	myTxt2 = new Array("M101 (pic 1 of 8)","Leo Trio (M65, M66 & Ngc3628) (pic 2 of 8)","NGC4565 (pic 3 of 8)","M108 & M97 (pic 4 of 8)","Pelican Nebula (pic 5 of 8)","M51L (pic 6 of 8)","M81 & M82 (pic 7 of 8)","Cresentj (pic 8 of 8)")

	function processPrevious() {
		if (document.images && thisPic > 0) {
			thisPic--
			thisTxt--
			document.myPicture.src=myPix[thisPic]
			document.form1.myText.value=myTxt[thisTxt]
		}
	}

	function processNext() {
		if (document.images && thisPic < imgCt) {
			thisPic++
			thisTxt++
			document.myPicture.src=myPix[thisPic]
			document.form1.myText.value=myTxt[thisTxt]
		}
	}
	
	function processPrevious2() {
		if (document.images && thisPic > 0) {
			thisPic--
			thisTxt--
			document.myPicture.src=myPix2[thisPic]
			document.form1.myText.value=myTxt2[thisTxt]
		}
	}

	function processNext2() {
		if (document.images && thisPic < imgCt) {
			thisPic++
			thisTxt++
			document.myPicture.src=myPix2[thisPic]
			document.form1.myText.value=myTxt2[thisTxt]
		}
	}
	
function deadCenter(url,w,h) {
	  putItThere = window.open(url,'posB','width=' + w + ',height=' + h + ',left=' + ((chasm - w - 10) * .5) + ',top=' + ((mount - h - 30) * .5));;
	}

function newWindow2(url) {
		window.open(url, 'images', 'width=440,height=500')
}

var putItThere = null; 
var chasm = screen.availWidth;
var mount = screen.availHeight;
var w = 0;
var h = 0;


function newWindow3(url) 
		{
		window.open(url, 'image', 'width=250, height=290, scrollbars=0, resizable=1')
		}

  if (document.images) 
  {
    enlarge_pic0= new Image();
    enlarge_pic0.src  = "http://www.lomoplc.com/images/enlarge_pic0.gif";

    enlarge_pic1= new Image();
    enlarge_pic1.src  = "http://www.lomoplc.com/images/enlarge_pic1.gif";

    standard_models0= new Image();
    standard_models0.src  = "http://www.lomoplc.com/images/standard_models0.gif";
    
    standard_models1= new Image();
    standard_models1.src  = "http://www.lomoplc.com/images/standard_models1.gif";
    
    system_diagram0= new Image();
    system_diagram0.src  = "http://www.lomoplc.com/images/system_diagram0.gif";
    
    system_diagram1= new Image();
    system_diagram1.src  = "http://www.lomoplc.com/images/system_diagram1.gif";
    
    pointer= new Image();
    pointer.src  = "http://www.lomoplc.com/images/pointer.gif";

    blank= new Image();
    blank.src  = "http://www.lomoplc.com/images/blank.gif";

  }

  function swapImage(name, image) 
  {
      if (document.images) 
      {
          document.images[name].src = eval(image + ".src");
      }
}

  if (document.images) 
  {
    whatcanu0= new Image();
    whatcanu0.src  = "http://www.lomoplc.com/images/whatcanu0.gif";
    
    whatcanu1= new Image();
    whatcanu1.src  = "http://www.lomoplc.com/images/whatcanu1.gif";
    
    how_does_nv_work0= new Image();
    how_does_nv_work0.src  = "http://www.lomoplc.com/images/how_does_nv_work0.gif";

    how_does_nv_work1= new Image();
    how_does_nv_work1.src  = "http://www.lomoplc.com/images/how_does_nv_work1.gif";

    Home1= new Image();
    Home1.src  = "http://www.lomoplc.com/images/Home1.gif";

    Home0= new Image();
    Home0.src  = "http://www.lomoplc.com/images/Home0.gif";

  }