// JavaScript Document
function horzphotoPop(address){		
	photoWindow=window.open(address,"my_new_window","resizable=yes, width=500, Height=450,left=0,top=0,screenX=0,screenY=0");
	photoWindow.resizeTo(500,420);
	photoWindow.focus();
}

function verzphotoPop(address){		
	photoWindow=window.open(address,"my_new_window","resizable=yes, width=400, Height=500,left=0,top=0,screenX=0,screenY=0");
	photoWindow.resizeTo(400,570);
	photoWindow.focus();
}

function productionPop(address){		
	flashWindow=window.open(address,"my_new_window2","resizable=no, width=700, Height=475,left=0,top=0,screenX=0,screenY=0");
	flashWindow.focus();
}

function productionPic(obj){
	this.pic.src=obj;
}

function changeButton(buttonName,obj){
	switch(buttonName)
	{
	case "strippingBtn":
		this.strippingBtn.src=obj
	break
	case "drillingBtn":
		this.drillingBtn.src=obj
	break
	case "blastingBtn":
		this.blastingBtn.src=obj
	break
	case "breakingBtn":
		this.breakingBtn.src=obj
	break
	case "haulingBtn":
		this.haulingBtn.src=obj
	break
	case "crushingBtn":
		this.crushingBtn.src=obj
	break
	case "screeningBtn":
		this.screeningBtn.src=obj
	break
	case "stockpilingBtn":
		this.stockpilingBtn.src=obj
	break
	case "shippingBtn":
		this.shippingBtn.src=obj
	break
	}
		
}
function changeButtonBack(buttonName,obj){
	switch(buttonName)
	{
	case "strippingBtn":
		this.strippingBtn.src=obj
	break
	case "drillingBtn":
		this.drillingBtn.src=obj
	break
	case "blastingBtn":
		this.blastingBtn.src=obj
	break
	case "breakingBtn":
		this.breakingBtn.src=obj
	break
	case "haulingBtn":
		this.haulingBtn.src=obj
	break
	case "crushingBtn":
		this.crushingBtn.src=obj
	break
	case "screeningBtn":
		this.screeningBtn.src=obj
	break
	case "stockpilingBtn":
		this.stockpilingBtn.src=obj
	break
	case "shippingBtn":
		this.shippingBtn.src=obj
	break
	}
}

function openNewWindow(URLtoOpen, windowName, windowFeatures) { 
  newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}

