 function $ (id) 
{return document.getElementById(id);}
function open1(){
	$('at1').style.backgroundPosition='bottom';
	$('at2').style.backgroundPosition='top';
	$('at3').style.backgroundPosition='top';
	$('ac1').style.display='block';
	$('ac2').style.display='none';
	$('ac3').style.display='none';
}
function open2(){
	$('at1').style.backgroundPosition='top';
	$('at2').style.backgroundPosition='bottom';
	$('at3').style.backgroundPosition='top';
	$('ac1').style.display='none';
	$('ac2').style.display='block';
	$('ac3').style.display='none';
}
function open3(){
	$('at1').style.backgroundPosition='top';
	$('at2').style.backgroundPosition='top';
	$('at3').style.backgroundPosition='bottom';
	$('ac1').style.display='none';
	$('ac2').style.display='none';
	$('ac3').style.display='block';
}

function open4(){
	$('pt1').style.backgroundPosition='bottom';
	$('pt2').style.backgroundPosition='top';
	$('pt3').style.backgroundPosition='top';
	$('pc1').style.display='block';
	$('pc2').style.display='none';
	$('pc3').style.display='none';
}
function open5(){
	$('pt1').style.backgroundPosition='top';
	$('pt2').style.backgroundPosition='bottom';
	$('pt3').style.backgroundPosition='top';
	$('pc1').style.display='none';
	$('pc2').style.display='block';
	$('pc3').style.display='none';
}
function open6(){
	$('pt1').style.backgroundPosition='top';
	$('pt2').style.backgroundPosition='top';
	$('pt3').style.backgroundPosition='bottom';
	$('pc1').style.display='none';
	$('pc2').style.display='none';
	$('pc3').style.display='block';
}
function apply()
{
document.frm.sub.disabled=true;
if(document.frm.chk.checked==true)
{document.frm.sub.disabled=false;}
if(document.frm.chk.checked==false)
{document.frm.sub.enabled=false;}
}
