
var tif_h2_admin_url_pt = ""
var tif_h2_has_init = false;

var tif_h2_locked = false;

function tif_h2_init ( str_ue_input ) {
	if (tif_h2_has_init) return;
	
	tif_h2_admin_url_pt = unescape( str_ue_input );

	document.write('<script type="text/javascript" src="/help_lines/thirdparty/jstb/v01/position.js"></script>');
	document.write('<div id="tif_h20" style="position:absolute;top:0;left:0;display:none;border:2px solid #000000;padding:5px;color:#000000;background-color:#ffffee;width:586px;z-index:9" ondblclick="tif_h2_unlock()"></div>');

	tif_h2_has_init = true;
	}


function tif_h2_toggle () {
	if (tif_h2_locked) {
		tif_h2_unlock();
		}
	else {
		tif_h2_lock();
		}
	}

function tif_h2_lock () {
	tif_h2_locked = true;
	var oh0 = document.getElementById( "tif_h20" );
	if (oh0 == null) {
		return;
		}
	oh0.style.borderColor = "#cc0000";
	oh0.innerHTML += "<br /><br />Box locked; double-click icon or help box to unlock.";
	}

function tif_h2_unlock () {
	tif_h2_locked = false;
	tif_h2off();
	var oh0 = document.getElementById( "tif_h20" );
	if (oh0 == null) {
		return;
		}
	oh0.style.borderColor = "#000000";
	}



/* call function numerically based on in-memory array */

function tif_h2onN (o, index_number) {
	if (null == tif_h2_a[index_number][0]) return;
	return tif_h2on( o, tif_h2_a[index_number][0], tif_h2_a[index_number][1] );
	}

/* call function using strings (no dependencies on array) */

function tif_h2on (o, ue_str_expl, help_index) {

	if (tif_h2_locked) {
		return;
		}


	var oh0 = document.getElementById( "tif_h20" );
	if (oh0 == null) {
		return;
		}
	oh0.style.display = "block";
	oh0.innerHTML = unescape( ue_str_expl );

	if (help_index == 0) {
		/* no detail help avail */
		}
	else {
		o.style.cursor = 'pointer';
		o.onclick = function() { tif_h2click(help_index) };
		oh0.innerHTML += '<br /><br /><table><tr><td><img src="/help_lines/hover_plus.gif" width="16" height="16" alt="" /></td><td style="color:#000000!important">Click to open detailed help #' + help_index + ".</td></tr></table>";
		}


	var pos = Position.get( o );
	
//	alert( "Position is from-top,from-left pixesl " + pos.top + "," + pos.left );

	var set_t = pos.top + 30;
	if (set_t < 20) {
		set_t = 20;
		}

	var set_l = pos.left - 588;
	if (set_l < 20) {
		set_l = 20;
		}

	var set_w = 586;
	if (pos.left < 608) {
		set_w = pos.left - 20 + 8 - 14;
		}
	
	// adjust for RFP
	set_t -= 200;

	oh0.style.top   = set_t + "px";
	oh0.style.left  = set_l + "px";
	oh0.style.width = set_w + "px";
	
//	oh0.innerHTML += "set top,left,width to " + set_t + "," + set_l + "," + set_w;

	/* 2009-04-14 appears not needed for IE7 set_all_select_display_named( '', 'hidden' ); */
	}

function tif_h2off() {

	if (tif_h2_locked) {
		return;
		}


	var oh0 = document.getElementById( "tif_h20" );
	if (oh0 == null) {
		return;
		}
	oh0.style.display = "none";
	/* set_all_select_display_named( '', 'visible' ); */
	}

function tif_h2click(help_index) {
	if (help_index == null) {
		return;
		}
	if (help_index == 0) {
		/* no detail help avail */
		return;
		}

/*

		if (confirm( "Would you like to navigate away from this page?\\r\\n\\r\\nClick 'OK' to immediately view help file.\\r\\n\\r\\nClick 'Cancel' to stay on this page and save changes.\\r\\n\\r\\nUse browser Back button to return after reading help." )) {

			location.href = "$const{'admin_url_he'}Action=H&amp;id=" + help_index;

*/

	var my_window = window.open( tif_h2_admin_url_pt + "Action=H&id=" + help_index, "my_window", "height=600,width=800,status=1,toolbar=1,location=1,menubar=1,resizable=1,scrollbars=1" );
	}


var tif_h2_a = new Array();

//alert("test2 on load");
tif_h2_a[10021] = ["About%20how%20many%20blocks%20to%20the%20nearest%20bus%20stop.","0000"]
tif_h2_a[10020] = ["List%20the%20maximum%20number%20of%20nights%20you%20would%20be%20comfortable%20hosting%20guests.","0000"]
tif_h2_a[10041] = ["<br%20/><br%20/>Click%20here%20to%20<a%20href="/Room.aspx">list%20the%20locations%20you%20have%20registered</a>.","0000"]
tif_h2_a[10015] = ["Enter%20a%20paragraph%20that%20will%20be%20shared%20with%20the%20guest%20<em>after</em>%20you%20have%20agreed%20to%20host.%20%20This%20paragraph%20should%20include%20final-approach%20details%20like%20where%20to%20park%20and%20which%20building%20entrance%20to%20use.","0000"]
tif_h2_a[10027] = ["Enter%20the%20city,%202-letter%20state,%20and%20ZIP%20code%20of%20this%20address.","0000"]
tif_h2_a[10036] = ["Text%20for%20the%20top%20of%20the%20search%20page...","0000"]
tif_h2_a[10052] = ["RoomsForPeace%20-%20site%20comments","0000"]
tif_h2_a[10010] = ["Setting%20to%20No%20will%20remove%20you%20from%20the%20search%20results.<br%20/><br%20/>Setting%20to%20anything%20else%20will%20show%20you%20in%20the%20search%20results.%20%20&quot;Maybe&quot;%20is%20a%20good%20choice%20if%20you%20want%20to%20screen%20potential%20guests.%20%20&quot;Yes&quot;%20just%20means%20Yes,%20whereas%20&quot;Definitely!&quot;%20means%20you%20are%20really%20excited%20about%20hosting%20guests.","0000"]
tif_h2_a[10033] = ["You%20are%20here%20now,%20because%20you%20have%20successfully%20registered%20and%20are%20now%20ready%20to%20describe%20the%20accommodations%20you%20would%20like%20to%20open%20to%20the%20right%20person/s.%20%20Remember%20that%20listing%20your%20room%20does%20not%20require%20you%20to%20accept%20just%20anybody%20who%20inquires%20about%20it.%20%20You%20are%20indicating%20willingness%20to%20explore.%20%20%20","0000"]
tif_h2_a[10003] = ["Setup%20Fee","0000"]
tif_h2_a[10008] = ["Below%20are%20all%20the%20editable%20strings%20that%20have%20been%20declared%20in%20the%20code%20so%20far.%20%20If%20there%20is%20a%20string%20that%20you%20would%20like%20to%20change,%20and%20it%20is%20not%20listed%20here,%20contact%20the%20dev%20team:","0000"]
tif_h2_a[10042] = ["503-282-5497","0000"]
tif_h2_a[10006] = ["Enter%20the%20email%20address%20of%20your%20PayPal%20account.%20%20This%20account%20will%20accept%20the%20initial%20member%20verification%20payments%20as%20well%20as%20any%20donations%20from%20the%20button%20in%20the%20footer.%20%20This%20account%20<em>must</em>%20have%20IPN%20enabled%20and%20pointed%20to:<br%20/><br%20/>http://www.roomsforpeace.org/ipn_paypal.aspx","0000"]
tif_h2_a[10019] = ["List%20the%20maximum%20number%20of%20guests%20that%20you%20would%20be%20comfortable%20hosting%20at%20this%20location.","0000"]
tif_h2_a[10048] = ["RoomsForPeace%20-%20new%20room%20inquiry%20(copy%20of%20msg%20just%20sent%20to%20","0000"]
tif_h2_a[10038] = ["<p>Here%20is%20where%20this%20room%20is%20located.%20%20Use%20this%20to%20get%20an%20idea%20of%20the%20location;%20the%20exact%20address%20will%20be%20sent%20to%20you%20(along%20with%20directions)%20when%20you%20finalize%20a%20lodging%20arrangement.</p>","0000"]
tif_h2_a[10043] = ["1527%20NE%20Hancock%20St<br%20/>Portland,%20OR%2097212","0000"]
tif_h2_a[10007] = ["i_init","0000"]
tif_h2_a[10046] = ["Hello%20{4},%0d%0a%0d%0aA%20visitor%20to%20roomsforpeace.org%20has%20expressed%20interest%20in%20your%20available%20room.%20%20Please%20communicate%20with%20the%20visitor%20and%20see%20if%20you%20both%20come%20to%20an%20agreement%20about%20having%20this%20visitor%20stay%20in%20your%20room.%20%20If%20you%20do,%20then%20go%20to%20your%20roomsforpeace.org%20profile%20and%20mark%20this%20room%20as%20'Not%20available'%20for%20the%20upcoming%20conference.%0d%0a%0d%0aAt%20this%20time,%20neither%20you%20nor%20the%20visitor%20are%20under%20any%20obligation%20to%20stay.%0d%0a%0d%0aRegards,%0d%0aroomsforpeace%20web%20site%0d%0a%0d%0a-----------------------------------------------%0d%0a%0d%0aVisitor%20email:%20{0}%0d%0aVisitor%20name%20:%20{1}%0d%0aVisitor%20phone:%20{2}%0d%0a%0d%0a-----------------------------------------------%0d%0a%0d%0aRoom%20description:%0d%0a{3}%0d%0a%0d%0a","0000"]
tif_h2_a[10017] = ["Let%20the%20guest%20know%20if%20you%20live%20on%20site,%20or%20will%20be%20nearby.","0000"]
tif_h2_a[10051] = ["Hello,%0d%0a%0d%0aA%20visitor%20to%20roomsforpeace.org%20has%20filled%20out%20the%20feedback/comment%20form.%0d%0a%0d%0aRegards,%0d%0aroomsforpeace%20web%20site%0d%0a%0d%0a-----------------------------------------------%0d%0a%0d%0aFrom:%20{0}%0d%0a{1}%0d%0a%0d%0a-----------------------------------------------%0d%0a%0d%0a","0000"]
tif_h2_a[10030] = ["Here,%20choose%20an%20option%20that%20best%20describes%20this%20location%20for%20someone%20who%20is%20either%20in%20a%20wheelchair%20or%20is%20mobility-impaired%20and%20has%20trouble%20climbing%20steep%20steps%20and%20so%20on.%20%20You%20and%20your%20guests%20can%20always%20discuss%20accommodations%20before%20a%20visit%20as%20well.","0000"]
tif_h2_a[10032] = ["Some%20guests%20will%20want%20to%20travel%20with%20their%20pets.%20%20While%20this%20should%20always%20be%20discussed%20beforehand,%20you%20can%20help%20streamline%20the%20process%20by%20letting%20everyone%20know%20if%20pets%20are%20definitely%20not%20allowed%20at%20this%20location.","0000"]
tif_h2_a[10002] = ["Save%20All","0000"]
tif_h2_a[10022] = ["About%20how%20many%20blocks%20to%20the%20nearest%20train%20(light%20rail,%20transit)%20stop.","0000"]
tif_h2_a[10049] = ["<hr%20size="1"%20/><p>Thank%20you%20for%20your%20inquiry!</p><p>An%20email%20has%20been%20sent%20to%20the%20room%20owner.%20%20The%20two%20of%20you%20will%20communicate%20and%20see%20if%20this%20room%20is%20a%20good%20fit%20for%20you%20both,%20and%20if%20so,%20you%20will%20have%20your%20lodging%20all%20set%20up!</p><p>Please%20give%20the%20room%20owner%20a%20couple%20days%20to%20respond.</p><hr%20size="1"%20/>","0000"]
tif_h2_a[10025] = ["Enter%20the%20physical%20street%20address%20(line%201%20of%202).","0000"]
tif_h2_a[10040] = ["<p>Below%20is%20the%20interactive%20map%20that%20will%20be%20shown%20for%20this%20location%20(based%20on%20the%20address%20above):</p>","0000"]
tif_h2_a[10009] = ["In%20rare%20cases%20you%20may%20want%20to%20delete%20all%20registered%20strings%20(including%20all%20customizations).%20%20Use%20this%20button%20to%20do%20that.%20%20After%20clicking%20this%20button,%20new%20strings%20(without%20any%20customizations)%20will%20gradually%20return%20to%20this%20page%20as%20they%20are%20&quot;discovered&quot;%20by%20the%20code:","0000"]
tif_h2_a[10050] = ["<b>Success:</b>%20customized%20string","0000"]
tif_h2_a[10034] = ["Text%20for%20bottom%20of%20the%20Rooms%20page...","0000"]
tif_h2_a[10023] = ["Set%20expectations%20on%20whether%20guests%20can%20smoke.","0000"]
tif_h2_a[10037] = ["Text%20for%20bottom%20of%20the%20search%20page...","0000"]
tif_h2_a[10005] = ["PayPal%20Email","0000"]
tif_h2_a[10016] = ["Total%20per-night%20amount%20that%20guests%20will%20pay%20to%20use%20this%20location.%20%20As%20covered%20elsewhere%20on%20this%20site,%20the%20total%20donation%20will%20be%20split%20among%20a%20charity%20the%20guest%20chooses,%20a%20charity%20that%20you%20choose,%20and%20the%20administrative%20costs%20for%20this%20site.","0000"]
tif_h2_a[10039] = ["<p><big><big>Contact%20Owner</big></big></p><p>Use%20this%20form%20to%20contact%20the%20owner.</p><p>Be%20sure%20to%20mention:%20%20<b>when</b>%20you%20want%20to%20visit;%20<b>how%20many</b>%20are%20with%20you;%20any%20<b>special%20needs</b>%20you%20may%20have.</p>","0000"]
tif_h2_a[10024] = ["Let%20guests%20know%20the%20type%20of%20bathroom%20that%20will%20be%20available%20to%20them.%20%20You%20can%20always%20add%20more%20detail%20or%20clarification%20in%20the%20text%20description%20above.","0000"]
tif_h2_a[10044] = ["Text%20for%20the%20top%20of%20the%20contact%20page...","0000"]
tif_h2_a[10045] = ["Text%20for%20bottom%20of%20the%20contact%20page...","0000"]
tif_h2_a[10053] = ["<hr%20size="1"%20/><p>Thank%20you%20for%20your%20comments!</p><p>We%20will%20get%20back%20to%20you%20soon.</p><hr%20size="1"%20/>","0000"]
tif_h2_a[10012] = ["This%20is%20your%20main%20paragraph%20to%20describe%20this%20accommodation%20to%20potential%20guests.%20%20Be%20sure%20to%20describe%20where%20guests%20will%20sleep%20(sofa,%20futon,%20bed)%20and%20the%20bathroom%20(private,%20shared?  tub, shower?).","0000"]
tif_h2_a[10001] = ["Below%20are%20all%20editable%20system%20settings:","0000"]
tif_h2_a[10035] = ["<hr%20size="1"%20/>If%20you%20have%20another%20home%20available,%20you%20may%20<a%20href="/Room.aspx?id=0">register a new location to host guests</a>.","0000"]
tif_h2_a[10013] = ["Let%20the%20guests%20know%20who%20lives%20here%20now.","0000"]
tif_h2_a[10031] = ["Guest%20pets%20not%20allowed%20&mdash;%20unless%20discussed%20first","0000"]
tif_h2_a[10014] = ["Describe%20who%20lives%20here%20currently.%20%20It%20may%20be%20helpful%20to%20provide%20children&#039;s%20ages%20and%20to%20list%20any%20pets.%20%20For%20example:<br%20/><br%20/>&quot;Bob%20and%20Sally,%20their%202-yo%20daughter%20Jane,%20and%20Rover,%20the%20big%20friendly%20black%20lab&quot;","0000"]
tif_h2_a[10028] = ["Will%20Internet%20access%20be%20available%20to%20guests?","0000"]
tif_h2_a[10029] = ["Choose%20an%20option%20that%20best%20describes%20the%20parking%20available%20at%20this%20location.%20%20You%20can%20always%20add%20more%20detail%20or%20clarification%20in%20the%20text%20description%20above.","0000"]
tif_h2_a[10004] = ["The%20USD%20amount%20charged%20to%20members%20when%20they%20first%20sign%20up,%20to%20establish%20their%20identity.%20%20By%20default%20this%20will%20always%20be%2015.00,%20but%20it%20can%20be%20changed%20over%20time%20as%20needed,%20and%20reduced%20to%200.01%20for%20testing.%20%20Note%20that%20it%20must%20be%20at%20least%200.01%20so%20that%20actual%20transactions%20occur.","0000"]
tif_h2_a[10018] = ["List%20how%20many%20rooms%20are%20available%20for%20guests.","0000"]
tif_h2_a[10011] = ["Use%20a%20few%20paragraphs%20to%20fully%20describe%20your%20home.","0000"]
tif_h2_a[10026] = ["Enter%20the%20physical%20street%20address%20(optional,%20line%202%20of%202).","0000"]
tif_h2_a[10047] = ["RoomsForPeace%20-%20new%20room%20inquiry","0000"]

