function popUpLink(url, name, width, height,scroll,resize) {		if(scroll == "") {scroll = "no";}	if(resize == "") {resize = "no";}	path	= '/'+basePath+baseGlobals+'/';	window.open(path+url,name,"toolbar=no,status=no,menubar=no,scrollbars="+scroll+",addressbar=yes,resizable="+resize+",top=75,left=200,width="+width+",height="+height).focus();}function popUpLink2(url, name, width, height) {		//path = location.pathname.split(".nsf")[0]+".nsf/";	path	= '/'+basePath+baseGlobals+'/';	window.open(path+url,name,"toolbar=no,status=no,menubar=no,scrollbars=auto,addressbar=yes,resizable=no,top=75,left=200,width="+width+",height="+height).focus();}function popQuestion(topic){	path	= '/'+basePath+baseMembers+'/pt_askaquestion?open&ta='+topic;	window.open(path,'que',"toolbar=no,status=no,menubar=no,scrollbars=auto,addressbar=yes,resizable=yes,top=75,left=200,width=392,height=300").focus();}/*// Function to swap nav button images for rolloversfunction rollover(button, state) {			if (document.images) {		new_img_path="nav/"+button+"_"+state+".gif";		document[button].src=new_img_path;	}}*///PRELOADER FUNCTIONS//images = new Array('fnav/goals/friday_am_tab','fnav/goals/friday_pm_tab','fnav/goals/goal_overview_tab','fnav/goals/saturday_am_tab','fnav/goals/saturday_pm_tab','fnav/part/announcements_tab','fnav/part/edit_profile_tab','fnav/part/participants_dir_tab','fnav/part/welcome_tab','fnav/sched/conference_glance_tab','fnav/sched/friday_tab','fnav/sched/saturday_tab','fnav/sched/thursday_tab','nav/attend','nav/bio','nav/climate_change','nav/contact_us','nav/enhancing_governance','nav/enter_blue','nav/escape_poverty','nav/foundation_overview','nav/home','nav/initiative_goals','nav/legal','nav/logout','nav/message_from_wjc','nav/nyc_2005','nav/our_mission','nav/participants','nav/press_left','nav/press','nav/quicktime','nav/register','nav/religion_conflict','nav/schedule','nav/sponsorship','nav/submit','nav/windows_media','system/foundation_bottom'); function preloadImages() {/*	if (document.images) {		//path = location.pathname.split(".nsf")[0]+".nsf/";		//alert(basePath);		path = "http://"+domPath+"/"+basePath+"/";		for (var i = 0; i < images.length; i++) {			//alert(path+images[i]+"_on.gif");			(new Image()).src = path+images[i]+"_on.gif";			(new Image()).src = path+images[i]+"_off.gif";		}	}*/	//call the init for rollovers	rolloverInit();}//TICKER	var theCharacterTimeout = 50;	var theStoryTimeout     = 3500;	var theWidgetOne        = "_";	var theWidgetTwo        = "-";	var theWidgetNone       = "";	var theLeadString = 'Distinguished Attendees to include: ';	var maxlen = 73;	var theSummaries1 = new Array();	var theSiteLinks1 = new Array();	var theSummaries2 = new Array();	var theSiteLinks2 = new Array();	var theSummaries3 = new Array();	var theSiteLinks3 = new Array();// Ticker startupfunction startTicker(){	// Define run time values	randomindex1 = Math.floor(Math.random() * theItemCount1);	randomindex2 = Math.floor(Math.random() * theItemCount2);	randomindex3 = Math.floor(Math.random() * theItemCount3);	theCurrentStory1= randomindex1; 	theCurrentStory2 = randomindex2; 	theCurrentStory3 = randomindex3; 	theCurrentLength    = 0;	// Locate base objects	if (document.getElementById) {			    theAnchorObject     = document.getElementById("tickerAnchor");			runTheTicker(1);   			 }	else {            document.write("<style>.hTicker{display:none;}.ticko{border:0px; padding:0px;}</style>");            return true;	}}// Ticker main run loopfunction runTheTicker(x){	if (!(x+1 >0)){return true}; // so no bad eval	var aCurrentStory=eval('theCurrentStory'+x);	var aItemCount=eval('theItemCount'+x);	var aSummaries = eval('theSummaries'+x)	var aSiteLinks = eval('theSiteLinks'+x)	var myTimeout;  	// Go for the next story data block	if( theCurrentLength == 0){		//offset = 0;		if (aCurrentStory >= aItemCount){ //aitemcount is base 1 a currentStory is base 0			aCurrentStory = 0;			z = eval('theCurrentStory'+x+' = 0');		}		z = eval('theCurrentStory'+x+'++');		thePrefix = (x == 1) ?  theLeadString : "";		preSummary = thePrefix + (aSummaries[aCurrentStory].replace(/&quot;/gi, '"')).replace(/&#287;/gi, '\u00B7');		theStorySummary  = (preSummary.length > maxlen) ? preSummary.substring(0, maxlen)+'...' : preSummary+'...';		theTargetLink        = aSiteLinks[aCurrentStory];		theAnchorObject.href = theTargetLink;	}	// Stuff the current ticker text into the anchor	theAnchorObject.innerHTML = theStorySummary.substring(0, theCurrentLength) + whatWidget();	// Modify the length for the substring and define the timer	if(theCurrentLength != theStorySummary.length){		theCurrentLength++;		myTimeout = theCharacterTimeout;	}else{		theCurrentLength = 0;		x = (x == 3) ? 1 : x+1;		myTimeout = theStoryTimeout;	}	// Call up the next cycle of the ticker	setTimeout("runTheTicker("+x+")", myTimeout);}// Widget generatorfunction whatWidget(){	if(theCurrentLength == theStorySummary.length){		return theWidgetNone;	}	if((theCurrentLength % 2) == 1){		return theWidgetOne;	}else{		return theWidgetTwo;	}}