
function showHide(boxName1,boxName2,boxName3,boxName4) {
	//set the object to a variable, so we can simplfy the code
	theBox1 = document.getElementById(boxName1);
	theBox2 = document.getElementById(boxName2);
	theBox3 = document.getElementById(boxName3);
	theBox4 = document.getElementById(boxName4);
	//if the class equals our visible code, set the class to the hidden box style, else set the class to the visible box style
	if (theBox1.className == "boxVisible") {
		theBox1.className = "boxHidden";
	} else {
		theBox1.className = "boxVisible";
	}
	if (theBox2.className == "holder850") {
		theBox2.className = "holderAll";
	} else {
		theBox2.className = "holder850";
	}
	if (theBox3.className == "boxVisible") {
		theBox3.className = "boxHidden";
	} else {
		theBox3.className = "boxVisible";
	}
	if (theBox4.className == "boxPNG") {
		theBox4.className = "boxJPG";
	} else {
		theBox4.className = "boxPNG";
	}
}
function updown(boxName) {
	//set the object to a variable, so we can simplfy the code
	theBox = document.getElementById(boxName);
	//if the class equals our visible code, set the class to the hidden box style, else set the class to the visible box style
	if (theBox.className == "holder850") {
		theBox.className = "holderAll";
	} else {
		theBox.className = "holder850";
	}
}
function StopPropogations(evt)
{
    var e=(evt)?evt:window.event;
    if (window.event) {
        e.cancelBubble=true;
    } else {
        e.stopPropagation();
    }
}
function downleft(pos,evt){
	element = document.getElementById('flash02'); 
	StopPropogations(evt); 
	oldImg = element.style.background; 
	element.style.backgroundPosition = pos;
	}

function playright(pos,evt){
	element = document.getElementById('flash02'); 
	StopPropogations(evt);
	oldImg = element.style.background; 
	element.style.backgroundPosition = pos;
	}
function vraca(pos,evt){
	element = document.getElementById('flash02'); 
	StopPropogations(evt);
	oldImg = element.style.background; 
	element.style.backgroundPosition = pos;
}

