
function ImgFunc(imgDocID,imgObjName) 

{ 
try{ document.images[imgDocID].src = eval(imgObjName + ".src")}
catch(e){
}
}


function changeclass(newclass) 
{
   
    if (mz7 != 1)
	{
      if ("INPUT"==event.srcElement.tagName)
	  {
        event.srcElement.className=newclass
  	  }
	}
	else
	{
	   return true;
	}
	
}
	
function UpdLiveSite(userid){
    if (userid == "WEBMASTER"){
	  if (confirm("Please Confirm: Do you wish to update the live site?")) {
	  window.location.href = "UpdateLiveSite.cfm";
	  }
	  else {
		  alert("Update Aborted");
	  }
	}
	else {
	  alert("ah-ah-ah you didn't say the magic word ....actually you don't have authority to run this option");
	}
}

function Help() {
        var remote = open('/LoginHelp2000.cfm', 'LoginHelp', 'width=550,height=460,scrollbars=Yes,resizable=Yes');
        remote.opener = parent.window;
        remote.opener.name = "MiniMania";
}
function AdvSearch() {
        var remote = open('/LoginHelp2000.cfm', 'AdvSearch', 'width=550,height=109,scrollbars=No,resizable=No');
        remote.opener = parent.window;
        remote.opener.name = "MiniMania";
}
function UserProfile(theuser) {
        var remote = open('/UserProfile_wndw.cfm?GetUser='+theuser, 'UserProfile', 'width=530,height=570,scrollbars=No,resizable=Yes');
        remote.opener = parent.window;
        remote.opener.name = "MiniMania";
}
function LargePic(picture) {
        var remote = open('/LargePicWindow.cfm?Image='+picture, 'LargePic', 'width=550,height=400,scrollbars=No,resizable=Yes');
        remote.opener = parent.window;
        remote.opener.name = "MiniMania";
}
function OpenCertDetails(code)
	{
	thewindow = window.open('https://www.thawte.com/cgi/server/certdetails.exe?code='+code, 'anew', config='height=400,width=500,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
	}
	
function commGalleryBrowse(galID,pageID) {
	
	
	DWRUtil.useLoadingImage("/sysImages/applications-internet_002t.png");
	DWREngine._execute(_ajaxConfig._cfscriptLocation, null, 'commGalleryBrowse', galID, pageID, zxmResults);
	
}
	
function zxmResults(r){
	eval(r);
}