//<script language="javascript">
	function swon(id,opt) {
		color = "#F1F1F1";
		if (opt=="on") { color = "#BCBCBC"; }
		if (document.getElementById) {
			document.getElementById(id).style.backgroundColor = color;
			}
		else if(document.all){
			'document.all.'+id+'.style.backgroundColor='+color;
			}
		}
function toggleAll(itemname,state){
    tmp = document.getElementsByTagName('div');
    for (i=0;i<tmp.length;i++){
        if (tmp[i].className == itemname) tmp[i].style.display = state;
    }
}
function toggle(idname){
    document.getElementById(idname).style.display = (document.getElementById(idname).style.display == 'none') ? 'block' : 'none';
}
function toggleCloseOthers(idname){
    origStatus = (document.getElementById(idname).style.display == 'block') ? 'block' : 'none';
    toggleAll('toggle','none');
    if (origStatus=='none') toggle(idname);
}
function changeImage(filename)
{
   document.mainimage.src = filename;
}
//	</script>
// <script Language = "Javascript">
<!--
    function OpenWin(Loc,winname,Width,Height) {
    var WinInfo ="toolbar=no,scrollbars=yes,directories=no,resizable=yes,menubar=no,width=" + Width + ",height=" + Height
     window.open(Loc,"winname",WinInfo);
    }
//-->
//</script>
