/*
function LoadImage(c){
	a=document.getElementById('imga5')
	a.src='images/'+c;
	b=document.getElementById('dva')
	b.style.visibility='visible';
}
function SetActive(b){
	a=document.getElementById('aimg'+b)
	ssrc="url('images/home-image"+b+"-active.jpg')"
	//alert(ssrc)
	a.style.backgroundImage=ssrc;
}
function SetPassive(b){
	a=document.getElementById('aimg'+b)
	ssrc="url('images/home-image"+b+".jpg')"
	a.style.backgroundImage=ssrc;
}
*/
function Swap(b){
	a=document.getElementById('img'+b)
	a.src=a.src.substring(0,a.src.length-4)+"-active.gif"
}
function SwapBack(b){
	a=document.getElementById('img'+b)
	a.src=a.src.substring(0,a.src.length-11)+".gif"
}
function CheckCheck(){
	a=document.getElementById('check1');
	if(a.style.visibility=="hidden"){
		a.style.visibility="visible";
		document.forms[0].elements[8].value="1";
		//alert(document.forms[0].elements[8].value);
	}
	else {
		a.style.visibility="hidden";
		document.forms[0].elements[8].value="0";
	}
	//a.zIndex=4;
}