// JavaScript Document

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function createWindow(cUrl,cName,cFeatures) 
{
var xWin = window.open(cUrl,cName,cFeatures)
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function toggleComment(a) {
if (document.getElementById) {
	document.getElementById("adm"+a).style.display=(document.getElementById("adm"+a).style.display=="block")?"none":"block"
	return false;
}
else return true;
}
	
	
function openChild() {
      var win = window.open('photos.php','Child','width=400,height=275,toolbar=yes,scrollbars=yes,resizeable=yes,menubar=yes,location=yes,status=yes');
   }

function insert_image_popup(mylink, windowname) {
		if (! window.focus) return true;
		var href;
		if (typeof(mylink) == "string")
			href = mylink;
		else
			href = mylink.href;
		window.open(href, windowname, "width=600,height=425,scrollbars=no,status=yes,resizeable=yes");
		return false;
	}
