//*
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// :filename. 	/tdh3/shared/js/mm.js
// :author.		Doug Thompson
// :date.		16:42 2004-07-20	
// :purpose.	
// :behaviour.	
// :syntax.	
// < script language="javascript" type="text/javascript" src="/tdh3/shared/js/mm.js">< /script >
// :pattern.	text/javascript
// :ver.		0.0
// :gen.		 {D6BE6C25-C038-404f-9E2B-EA3969A7F1FC} 
// :precond.	 x
// :postcond.	 x
// :status.		 x
// :docs.
// 		http://msdn.microsoft.com/library/default.asp?url=
// :changeHistory.
// :change id=0 date="22:18 11/12/2003". Created
// :change id=1 date="13:37 2004-10-15". Created
// ##TODO##
// 1. Link into the Content on Demand system
// 2. Use Dx to document or vs2004
// 3. consolidate /tdh3/shared/js/library.js
//
//	If this was mm.asp then we could include lots of JS files as a manageable thing
//	Could also file out Server Side and session info.
//
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//* 

if (typeof(toggle) != 'undefined'){
/*  This function has been previouslty defined
    Use this to track if this has been nested more than one 
    or if we need to make sure we dont over write sonething 
 */
}


// PRECONDITIONS
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
//	see tdh3/shared/includes/global_objectnames.asp
// make this mm_js.asp
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


/********************************************************************************************
 * General UI 
 * funtions to be consolidated.
 *    
 ********************************************************************************************/

function toggle(layerID,imageBt){resourceBox=new Cookie(layerID.id);resourceBox.path="/";resourceBox.domain="thedoghouse.org";var collapse=/collapse*/g;if(collapse.test(imageBt.src)){layerID.style.display="none"; imageBt.src="/tdh3/images/essential/resrc_expand.gif"; imageBt.alt="Closed: Click here to get the navigation back.";resourceBox.store("false");}else{layerID.style.display="block";imageBt.alt="Open: Click here get more space."; resourceBox.store("true")}}function toggleSection(layerID,imageBt){resourceBox=new Cookie(layerID.id);resourceBox.path="/";resourceBox.domain="thedoghouse.org";var collapse=/not_*/g;if(collapse.test(imageBt.src)){layerID.style.display="none";imageBt.src="http://thedoghouse.org/images/essential/subsection.gif";imageBt.alt="Closed: Click here to expand the list";resourceBox.store("false");}else{layerID.style.display="block";imageBt.src="http://thedoghouse.org/images/essential/not_subsection.gif";imageBt.alt="Open: Click here to hide the list";resourceBox.store("true");}}function toggleNavigation(layerID,imageBt){resourceBox=new Cookie(layerID.id);resourceBox.path="/";resourceBox.domain="thedoghouse.org";var collapse=/not_*/g;if(collapse.test(imageBt.src)){layerID.style.display="none";imageBt.src="http://thedoghouse.org/images/essential/up.gif";imageBt.alt="Closed: Click here to expand the list";resourceBox.store("false");}else{layerID.style.display="block";imageBt.src="http://thedoghouse.org/images/essential/not_up.gif";imageBt.alt="Open: Click here to hide the list";resourceBox.store("true");}}function Cookie(name,expires,domain,path,isSecure) {this.name=name;this.expires=expires;this.domain=domain;this.path=path;this.isSecure=isSecure;}function Cookie_get() {var theWholeCookie=document.cookie;var cookieStart=theWholeCookie.indexOf(this.name);if(cookieStart==-1) return"";else cookieStart+=this.name.length+1;var cookieEnd=theWholeCookie.indexOf(";",cookieStart);if(cookieEnd==-1) cookieEnd=theWholeCookie.length;var theCookie=theWholeCookie.substring(cookieStart,cookieEnd);return unescape(theCookie);} function Cookie_store(string) {document.cookie= this.name+"=" +escape(string)+((this.expires)?"; expires=" +this.expires.toGMTString():"")+((this.path)?"; path=" +this.path:"")+((this.domain)?"; domain=" +this.domain:"")+((this.isSecure)?"; secure" :"");} function Cookie_del() {document.cookie= this.name+"=" +((this.expires)?"; expires=" +(new Date(0)).toGMTString():"")+((this.path)?"; path=" +this.path:"")+((this.domain)?"; domain=" +this.domain:"");}new Cookie();Cookie.prototype.store=Cookie_store;Cookie.prototype.get=Cookie_get;Cookie.prototype.del=Cookie_del;// Generated 22:18 11/12/2003
function printPage() 			{print(document);}
function setStatusBar(msgStr) 	{self.status = msgStr;}
function close_window() 		{window.close();}



// Requires src="ExpandCollapse.js"
var L_UNDEFINED_TEXT = "Help could not locate this inline definition.";
function MM_InlineDefNotFound() { alert(L_UNDEFINED_TEXT); }
function MM_AppendPopup(oSource,sPopup)
{InitializeGlobalData();if(typeof(allDivs)=='undefined'||null==allDivs)return;var theDiv=allDivs['divInlineDef_'+sPopup];if(typeof(theDiv)=='undefined'||null==theDiv)
{MM_InlineDefNotFound();return;}if(theDiv.style.display.toUpperCase()!='INLINE')
theDiv.style.display='inline'; else theDiv.style.display='none';}



// This is where we pull in some vars defined in ASP 
// that we have to cross ober into JS for consistency.
// #include virtual="/tdh3/shared/includes/global_objectnames.asp"  
// Global Vars ------------------------------- //

/********************************************************************************************
 *	Global Constants
 *    
 ********************************************************************************************/

var FAQ_WindowName 		= 'FAQ';
var PAYPAL_WindowName 	= 'PAYPAL';
var WORKFLOW_WindowName = 'WORKFLOW';
var PROFILES_WindowName = 'PROFILES';
var PHOTOS_WindowName 	= 'PHOTOS';
var SEARCH_WindowName 	= 'SearchWindow';	// see inc_searchmenu.asp



	// what is the standard pop-up look and feel ?
var FAQ_features = 'alwaysRaised=yes,scrollbars=yes,resizable=yes,width=600,height=350,left=10,top=10,screenX=10,screenY=10' 
	// This is the sizing of the Paypal windows - same look and feel. 
var PAYPAL_features = 'alwaysRaised=yes,scrollbars=no,resizable=yes,width=400,height=440' 


	// This is for workflow
var WORKFLOW_features = 'alwaysRaised=yes,scrollbars=no,resizable=yes,width=500,height=350' 
var WORKFLOW_DIRECTED_features = 'alwaysRaised=yes,scrollbars=yes,resizable=yes,width=500,height=450,left=10,top=10' 
var WORKFLOW_SimplieInteraction_feature=WORKFLOW_DIRECTED_features;
	// This is for peoples profiles
var PROFILES_features = 'alwaysRaised=yes,scrollbars=yes,resizable=yes,width=800,height=350,left=10,top=10' 
	// This is for peoples profiles
var PHOTOS_features = 'alwaysRaised=yes,scrollbars=no,resizable=no,width=300,height=400' 

var GooglePopUpStyle= 'width='+screen.width/3+',height='+screen.height/2+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,top=1,left=1'



/********************************************************************************************
 *	Marcomedia Version 4 javascripts from mx2004 
 *  These are unchanged and keep all their faults but are consistent in their ways.
 ********************************************************************************************/
function MM_findObj(n,d){var p,i,x;if(!d)d=document;if((p=n.indexOf("?"))>0&&parent.frames.length){d=parent.frames[n.substring(p+1)].document;n=n.substring(0,p);}if(!(x=d[n])&&d.all)x=d.all[n];for(i=0;!x&&i<d.forms.length;i++)x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++)x=MM_findObj(n,d.layers[i].document);if(!x&&document.getElementById)x=document.getElementById(n);return x;} //v4.0


// onsubmit="MM_validateForm('U_ID','','R','U_FIRST','','R','U_LAST','','R','U_EMAIL','','R','U_PASSWORD','','R');return document.MM_returnValue"  
function MM_validateForm(){var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;for(i=0;i<(args.length-2);i+=3){test=args[i+2];val=MM_findObj(args[i]);if(val){nm=val.name;if((val=val.value)!=""){if(test.indexOf('isEmail')!=-1){p=val.indexOf('@');if(p<1||p==(val.length-1))errors+='- '+nm+' must contain an e-mail address.\n';}else if(test!='R'){if(isNaN(val))errors+='- '+nm+' must contain a number.\n';if(test.indexOf('inRange')!=-1){p=test.indexOf(':');min=test.substring(8,p);max=test.substring(p+1);if(val<min||max<val)errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';}}}else if(test.charAt(0)=='R')errors+='- '+nm+' is required.\n';}}if(errors)alert('The following error(s) occurred:\n'+errors);document.MM_returnValue=(errors=='');} //v4.0
// 
//	MM_jumpMenu('parent.mitte',this,1)
function MM_jumpMenu(targ,selObj,restore){eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");if(restore)selObj.selectedIndex=0;} //v4.0
// eg MM_preloadImages('2d367fbb.gif','whipbench1_250.gif')
function MM_preloadImages(){var d=document;if(d.images){if(!d.MM_p)d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments;for(i=0;i<a.length;i++) if(a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}} //v4.0
// 
function MM_swapImage(){var i,j=0,x,a=MM_swapImage.arguments;document.MM_sr=new Array;for(i=0;i<(a.length-2);i+=3);if((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x;if(!x.oSrc)x.oSrc=x.src;x.src=a[i+2];}}//v4.0
// 
function MM_goToURL(){var i,args=MM_goToURL.arguments;document.MM_returnValue=false;for(i=0;i<(args.length-1);i+=2)eval(args[i]+".location='"+args[i+1]+"'");} //v4.0

// v5.0	eg onclick="MM_openBrWindow('changeadvert.asp',FAQ_WindowName,FAQ_features);"
function MM_openBrWindow(theURL,winName,features){
if(theURL==null||theURL==''){exit;}if(winName==null||winName==''){winName='popupWin';}
if(features==null||features==''){features='alwaysRaised=yes,scrollbars,resizable,toolbar,status,width=640,height=480,left=50,top=50';}
var mm=window.open(theURL,winName,features);
   if(mm == null) {// Test for disabled pops - take remedial action
      alert("Popups disabled for this site - ");
      //window.location=theURL;
   }else{
   mm.focus(); 
   }
}
// 
function MM_swapImgRestore(){var i,x,a=document.MM_sr;for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)x.src=x.oSrc;} //v4.0
//
function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}


/*
<form id=myform>
<textarea rows=10 cols=40 name=body 
onKeyDown="textCounter(myform.body,myform.bodyLen,8000);" 
onKeyUp="textCounter(myform.body,myform.bodyLen,8000);"></textarea>
<input readonly disabled type=text name=bodyLen size=6 maxlength=4 value=8000> Chars</font><br>
</form>
*/


// does simple count on text changes in fld. mased on MSDN version
function MM_TextCounter(field, countfield, maxlimit) {if (field.value.length > maxlimit) field.value = field.value.substring(0, maxlimit);else 	countfield.value = maxlimit - field.value.length;  countfield.refresh;}


// 
function GoToURL(strX){if(strX=="" ||strX==null||strX=="undefined"){return;}window.top.location.href=strX;} //v4.0

/********************************************************************************************
 *	These are the Doghouse Variations that build on the MX ones or are the Front Page variations. 
 *    
 ********************************************************************************************/

// TDH variation v1.0 Open window  and set focus
function DH_openFocusWindow(theURL,winName,features){if(theURL==null||theURL==''){exit;}if(winName==null||winName==''){winName='popupWin';}if(features==null||features==''){features='alwaysRaised=yes,scrollbars,resizable,toolbar,status,width=640,height=480,left=50,top=50';}
var mm=window.open(theURL,winName,features);
   if(mm == null) {
      alert("Popups disabled");
   }else{
   mm.focus(); 
   }
} 

/* ---------
 This opens thumbnail screen shots in a simple window without all the crap around the edges.
 */
function openScreenShot(ImgSrc)
{
// <IMG has src and xthumbnail-orig-image
// Do audit trail on session - thats all tracked anyhow.
// could really open and ASP with some intellisense in it
// should also set focus
	MM_openBrWindow(ImgSrc,WORKFLOW_WindowName,WORKFLOW_SimplieInteraction_features +',top=1,left=1');
}//openScreenShot





//---- This is where I should be defining my own standardised behaviours ----------------
// see messaging.js

function dh_OpenFAQ(HelpSect)
{
if (HelpSect==''){
	MM_openBrWindow('/tdh3/faq/default.asp',FAQ_WindowName,FAQ_features);
}else{
	// what if the file does not exist ?
	// need to have a reaction in the ASP?
	MM_openBrWindow('/tdh3/faq/'+ HelpSect +'.asp',FAQ_WindowName,FAQ_features);

}	
}

// in mouse over info
function ToolTipHelp(Desc){
document.write('<img src="/tdh3/images/icons/sym_s_help.gif" class=clsOfferHelp border="0" width="12" height="12" ');
document.write(' title="'+Desc+'" >');

}

// in mouse over info and pop up window
function OfferHelpPopup(Desc,target){
document.write('<scr'+'ipt language=javascript lang=en type=text/javascript src=/tdh3/shared/js/mm.js></scr'+'ipt>');
document.write('<img ');
document.write('  onclick=MM_openBrWindow("'+target+'",FAQ_WindowName,FAQ_features);  ');
document.write(' src="/tdh3/images/icons/sym_s_helppopup.gif" class=clsOfferHelp border="0"  ');
document.write(' title="'+Desc+'" >');

}


/********************************************************************************************
 *	This is the first layer of consolidated functions
 *  this is a catalog of common JS open window callers here as in messaging.js  
 *
 ********************************************************************************************/
/*
var win;
   win = window.open('popup.asp', 'PopupTest', 'width=300,height=300,location=no,toolbar=no,scrollbars=no');
   if(win == null) {
      alert("Popups disabled");
      // and so take remedial action
   }




*/

// This is for workflow - move this to the top when stablised
var WORKFLOW_SimplieInteraction_features = 'status=no,scrollbars=no,resizable=yes,width=400,height=300,screenX=10,screenY=10,top=10,left=415'



//-------------------------------------------------------------------------------
function SendMyInfo()
{
// Do audit trail on session - thats all tracked anyhow.
	MM_openBrWindow('/tdh3/profiles/sendMyInfo.asp',WORKFLOW_WindowName,WORKFLOW_features+ ',left=10,top=10');
}//SendMyInfo


//-------------------------------------------------------------------------------
function LogonReminder()
{
// Do audit trail on session - thats all tracked anyhow.
	MM_openBrWindow('/tdh3/login/logonReminder.asp',WORKFLOW_WindowName,WORKFLOW_SimplieInteraction_features);
}//LogonReminder

//-------------------------------------------------------------------------------
function changePasswordNow()
{
// Do audit trail on session - thats all tracked anyhow.
	MM_openBrWindow('/tdh3/login/changePasswordNow.asp',WORKFLOW_WindowName,WORKFLOW_SimplieInteraction_features);
}//changePasswordNow

//-------------------------------------------------------------------------------
function CreateAccount()
{
// Do audit trail on session - thats all tracked anyhow.
// window.resizeTo(iWidth, iHeight)
	MM_openBrWindow('/tdh3/buy/createaccount.asp',WORKFLOW_WindowName,WORKFLOW_SimplieInteraction_features);
}//CreateAccount

function DeleteAccount()
{
// Really should direct it to mitte
// Do audit trail on session - thats all tracked anyhow.
// window.resizeTo(iWidth, iHeight)
	MM_openBrWindow('/tdh3/login/dh_profile_delete.asp','Mitte',WORKFLOW_SimplieInteraction_features);
}//DeleteAccount

//-------------------------------------------------------------------------------
function ForgottenPassword()
{
// Do audit trail on session - thats all tracked anyhow.
// This can get bigger after you hit enter
	MM_openBrWindow('/tdh3/buy/forgot_password.asp',WORKFLOW_WindowName,WORKFLOW_SimplieInteraction_features);
}//ForgottenPassword

function ForgottenUserName()
{
// Do audit trail on session - thats all tracked anyhow.
// This can get bigger after you hit enter
	MM_openBrWindow('/tdh3/profiles/userList_email.asp',WORKFLOW_WindowName,WORKFLOW_SimplieInteraction_features);
}//ForgottenUserName


//-------------------------------------------------------------------------------
function ViewProfile(logonName,targetUser,sId)
{ 
// userid='+tUser+'&name='+fUser+'&session='+sId,
// eg javascript:ViewProfile('topdog1','...diesel',57932);
  var no = Math.round(10000 * Math.random());
  window.open('/tdh3/profiles/displayprofile.asp?logonName='+logonName+'&userid='+targetUser+'&session='+sId,
              PROFILES_WindowName+no,
	          PROFILES_features);
}//ViewProfile	

//-------------------------------------------------------------------------------
// <img  onclick="TellaFriend();" src="../images/icons/icon_mail_friend.gif"
function TellaFriend()
{ 
// userid='+tUser+'&name='+fUser+'&session='+sId,
// eg javascript:ViewProfile('topdog1','...diesel',57932);
	var u=window.location.href;

  var no = Math.round(10000 * Math.random());
  window.open('/tdh3/shared/includes/tellafriend.asp?u='+u,
              WORKFLOW_WindowName+no,
	          WORKFLOW_features);
}//TellaFriend	

//-------------------------------------------------------------------------------
// <img  onclick="UploadPics();" src="../images/icons/icon_mail_friend.gif"
function UploadPics()
{ 
win = window.open('/tdh3/shared/includes/uploadapic.asp', WORKFLOW_WindowName, WORKFLOW_features);
   if(win == null) {
      alert("Pop-ups disabled");
   }else{
   win.focus; 
   }
}//UploadPics	

//-------------------------------------------------------------------------------
// <img  onclick="PhotoSwitch();" src="../images/icons/icon_mail_friend.gif"
function PhotoSwitch()
{ 
win = window.open('/tdh3/shared/includes/photoswitch.asp', WORKFLOW_WindowName, WORKFLOW_DIRECTED_features);
   if(win == null) {
      alert("Pop-ups disabled");
   }else{
   win.focus; 
   }
}//PhotoSwitch	


//-------------------------------------------------------------------------------
function nopixboxInfo(p_oEvent) {
	var oEvent = p_oEvent ? p_oEvent : event;
	var oSender = p_oEvent ? oEvent.target : oEvent.srcElement;
	var win;
	var FAQ_features = 'alwaysRaised=yes,scrollbars=yes,resizable=yes,width=300,height=500,left=10,top=10,screenX=10,screenY=10' 
// need FAQ relevant to that 'nopixbox' situation

   win = window.open('http://portal.thedoghouse.org/tdh3/faq/', 'FAQ', FAQ_features);
   if(win == null) {
      alert("Pop-ups disabled");
      // and so take remedial action
   }else{
   win.focus; 
   }

}//nopixboxInfo

//-------------------------------------------------------------------------------
//setTimeout("alert('hello')" ,500); execute this in 500ms
// pausecomp(500); -- just wait for 500ms
function pausecomp(millisecondsAmount)
{
d = new Date() //today's date
while (1)
{
mill=new Date() // Date Now
diff = mill-d //difference in milliseconds
if( diff > millisecondsAmount) {break;}
}
};//pausecomp


//------Toggle inline glossary components.------------------
//	onclick="toggleElementDisplay('gl64921831509527672','span')
//  <span class="GLOSSARY_TEXT" style="display:none;" id="gl64921831509527672">
function toggleMessageDiv(field,divName){var elemTypes=document.getElementsByTagName('div');var elemType=elemTypes[divName];if(elemType)
{if(elemType.style.display=='block')
{document.forms[0].elements[field].setAttribute('value',false);elemType.style.display='none';}else
{document.forms[0].elements[field].setAttribute('value',true);elemType.style.display='block';}}return true;}

function toggleDivDisplay(id){toggleElementDisplay(id,'div');}
function divDisplay(id){var elemTypes=document.getElementsByTagName('div');elemTypes[id].style.display='block';}
function divHide(id){var elemTypes=document.getElementsByTagName('div');elemTypes[id].style.display='none';}
function toggleSpanDisplay(id){toggleElementDisplay(id,'span');}

function toggleElementDisplay(id,elemType){
	toggleElementDisplayStyle(id,elemType,'block');
}

function toggleElementDisplayStyle(id,elemType,visibleStyle)
{
var elemTypes=document.getElementsByTagName(elemType);
if(elemTypes[id].style.display=='none')
{try
{elemTypes[id].style.display=visibleStyle;}
catch(e)
{DEBUG(e)
elemTypes[id].style.display='block';}
}else
elemTypes[id].style.display='none';}

function getDivTitle(id){return getElementTitle(id,'div');}
function getSpanTitle(id){return getElementTitle(id,'span');}
function getElementTitle(id,elemType){var title="";var elemTypes=document.getElementsByTagName(elemType);if(typeof(elemTypes[id])!='undefined'){title=elemTypes[id].title;}return title;}

/* Glossary JS                  */
/* Styles --  
 .glossary_text {font-style:italic;color:green;} -- ie comments colour 
 a.ONCLICK { color: #0033CC;padding-left:4px;padding-right:4px;padding-top:1px;padding-bottom:1px } 
 a.ONCLICKhover { border:1px solid#C0C0C0;background-color:#CCCCCC;padding-left:4px;padding-right:4px;padding-top:1px;padding-bottom:1px}
 a.ONCLICKhover { cursor:col-resize;} 
*/
// STYLE Control----------
var isNav4 = (-1!=navigator.userAgent.indexOf('opera'))
var isNav6 = (-1!=navigator.userAgent.indexOf('Firefox'))
var isIE4 = (-1!=navigator.userAgent.indexOf('MSIE'))
function setStylePropertyById(strId,strProperty,strValue){if(isNav6){var styleObject=document.getElementById(strId);if(styleObject!=null){styleObject=styleObject.style;styleObject[ strProperty ]=strValue;}}else if(isIE4){if(document.all[strId]!=null)document.all[strId].style[strProperty]=strValue;}else{}}
function setStylePropertyByElement(oElement,strProperty,strValue){if(isNav6){var styleObject=oElement;if(styleObject!=null){styleObject=styleObject.style;styleObject[ strProperty ]=strValue;}}else if(isIE4){if(oElement!=null)oElement.style[strProperty]=strValue;}else{}}
function getStyleBySelector(selector){if(!isNav6){return null;}var sheetList=document.styleSheets;var ruleList;var i,j;for(i=sheetList.length-1;i>=0;i--){ruleList=sheetList[i].cssRules;for(j=0;j<ruleList.length;j++){if(ruleList[j].type==CSSRule.STYLE_RULE&&ruleList[j].selectorText==selector){return ruleList[j].style;}}}return null;}
function getStylePropertyById(strId,strProperty){if(isNav6){var styleObject=document.getElementById(strId);if(styleObject!=null){styleObject=styleObject.style;if(styleObject[strProperty]){return styleObject[ strProperty ];}}styleObject=getStyleBySelector("#" +strId);return(styleObject!=null)?styleObject[strProperty]:null;}else if(isIE4){return document.all[strId].style[strProperty];}else{return "";}}
function toggleElementDisplay(element,strStyle){var strID;if(typeof element=="object"){strID=element.id;}else if(typeof element=="string"){strID=element;}if((strID!="")&&(strID!=null)){if(isIE4||isNav6){if(getStylePropertyById(strID,'display')=='none'){setStylePropertyById(strID,'display',strStyle)}else{setStylePropertyById(strID,'display','none')}}}}

/********************************************************************************************
 *	USER Search Requests
 *  
 ********************************************************************************************/
 
function userList() {window.open('/tdh3/profiles/userList.asp',WORKFLOW_WindowName,WORKFLOW_features,true);}	
function userList_email() {window.open('/tdh3/profiles/userList_email.asp',WORKFLOW_WindowName,WORKFLOW_features,true);}
function userList_state() {window.open('/tdh3/profiles/userList_state.asp',WORKFLOW_WindowName,WORKFLOW_features,true);}
// TRIBES requires logon - why ?
function userList_tribes(){window.open('/tdh3/profiles/userList_tribes.asp',WORKFLOW_WindowName,WORKFLOW_features,true);}

