<!--

function getObject(divName) {
	if (document.getElementById) {
		// this is the way the standards work
		if (document.getElementById(divName)) {
			obj = document.getElementById(divName);
		}
	} else if (document.all) {
		// this is the way old msie versions work
		if (document.all[divName]) {
			obj = document.all[divName];
		}
	} else if (document.layers) {
		// this is the way nn4 works
		if (document.layers[divName]) {
			obj = document.layers[divName];
		}
	}
	return obj;
}

function toggleLayer(divName) {
	var style2 = getObject(divName).style;	
	if(style2.display == '' || style2.display == 'block') {
		style2.display = 'none';
	} else {
		style2.display = '';
	}
}

function show(id){
    getObject(id).style.display = 'block';
}

function hide(id){
    getObject(id).style.display = 'none';
}

function showImage(img) {
    var ww = screen.width;
    var wh = screen.height;
    
    url = "zoom.php?pic="+img;
    w = window.open(url,'Zoom','width='+ww+',height='+wh+',top=1,status=no,scrollbars=yes');
    w.focus();
    return;
}

//-->
