rem: "<a href='#' onclick=\"MM_openBrWindow('upload.php?reactionto="+tbt_array['id']+"&amp;react_author="+tbt_array['author']+ "&amp;react_title="+tbt_array['title']+"','Upload','width=400,height=480')\">"+ 
add: "<a href='#' onclick=\"MM_openBrWindow('upload.php?reactionto="+tbt_array['id']+"&amp;react_author="+escape(tbt_array['author'])+ "&amp;react_title="+escape(tbt_array['title'])+"','Upload','width=400,height=480')\">"+ 
context: function playTBT(tbt_array) {	if(total_counter % 3 == 0) {		row_counter = 0	}	document.getElementById("tbt_2").innerHTML = document.getElementById("tbt_1").innerHTML	document.getElementById("tbt_1").innerHTML = document.getElementById("tbt_0").innerHTML	var related_string = ""	var related_array  = ""	var xmlrequest = null	request = CreateXmlHttpReq2()	request.open("GET","xml_tbt_info.php?action=related&id="+tbt_array['id'],false);	request.send(null);	if (request.readyState == 4 && request.status == 200) {		var response = request.responseXML.documentElement;		x=response.getElementsByTagName("num")		num = x[0].firstChild.data		if(num>0) {			x=response.getElementsByTagName("tbt")			for(i=0;i<x.length;i++) {				var id = x[i].getElementsByTagName("id")[0].firstChild.data				var author   = x[i].getElementsByTagName("author")[0].firstChild.data				var title    = x[i].getElementsByTagName("title")[0].firstChild.data				var email    = x[i].getElementsByTagName("email")[0].firstChild.data				var city     = x[i].getElementsByTagName("city")[0].firstChild.data				var datetime = x[i].getElementsByTagName("datetime")[0].firstChild.data				var tbt      = x[i].getElementsByTagName("data")[0].firstChild.data				related_string += "<span onclick='playTBT_noarray("+					id+",\""+author+"\",\""+title+"\",\""+email+"\",\""+city+"\",\""+datetime+"\","+tbt+					")'><a href='#'>"+title+" by "+author+"</a></span><br/>"			}		} else related_string = "nothing"	}	div_content = 	"<div style='border-top: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; padding: 5px 5px 5px 5px; background-color:"+	bgcolorlist[Math.floor(Math.random()*bgcolorlist.length)]+";'"+	"class='couriersmall'><b>From: "+tbt_array['author']	if(tbt_array['email']!="" && tbt_array['email'] != "undefined") {			div_content += "<br/>&lt;<a href=\"mailto:"+tbt_array['email']+"\">"+tbt_array['email']+"</a>&gt;"	}	div_content += "<br/>"+	"Title: "+tbt_array['title']+"<br/>"+	"Date/Time: "+tbt_array['datetime']+"<br/>"+	"City: "+tbt_array['city']+"<br/></b>"+	"</div><div id='tbttext_"+row_counter+	"' style='border-left: 1px solid black; border-top: 1px solid black; border-right: 1px solid black; padding: 5px 5px 5px 5px; background-color:"+	bgcolorlist[Math.floor(Math.random()*bgcolorlist.length)]+ ";' class='couriersmall'></div>"+	"<div style='border: 1px solid black; padding: 5px 5px 5px 5px; background-color:"+bgcolorlist[Math.floor(Math.random()*bgcolorlist.length)]+";'"+	"class='couriersmall'>Related TBT's: <br/>"+related_string+"</div>"+	"<div style='border-left: 1px solid black; border-right: 1px solid black; border-bottom: 1px solid black;"+	"padding: 5px 5px 5px 5px; background-color:"+bgcolorlist[Math.floor(Math.random()*bgcolorlist.length)]+";'"+	"class='couriersmall'>"+	"<a href='#' onclick=\"MM_openBrWindow('upload.php?reactionto="+tbt_array['id']+"&amp;react_author="+tbt_array['author']+	"&amp;react_title="+tbt_array['title']+"','Upload','width=400,height=480')\">"+	"Reply to this TBT</a></div>"	document.getElementById("tbt_"+row_counter).innerHTML = div_content	var tbt = new TBT()	tbt.startTyping("tbttext_"+row_counter, tbt_array['tbt'])	total_counter++}
meta: 58	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/58/c46358d131a60681c0a98e12990bf51ccafc55d1/js-functions.js/buggy/web/src/include/js-functions.js