// JavaScript Document
var photo_path ="/showpic_files/";
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


function GO(url,tar){
  window.location=url;
}

var hide  = true;
function toggle(cmObj){
	var x= document.getElementById(cmObj);
	hide = !hide;
	x.style.display = (hide) ? 'none' : 'block';
}

function showPhoto(photo){
	$x=photo.split("-");
	 var m=document.getElementById('FullPhoto');
	 m.src=photo_path+$x[0]+"/"+photo;
}

function setColumnHeight(){
	var cL=document.getElementById("col_left").offsetHeight;	
	var cR=document.getElementById("col_right").offsetHeight;
	if (cL > cR){
		document.getElementById('col_right').style.height=cL+'px';
	}else{
		document.getElementById('col_left').style.height=cR+'px';
	}
	//alert(cL+":"+cR);
}

function cBG(which,colorID){ which.style.backgroundColor=colorID;}
function rBG(which){ which.style.backgroundColor=""; }
