<!--

var newwindow = '';

function popitup(url)
{
	if (!newwindow.closed && newwindow.location)
	{
		newwindow.location.href = url;
	}
	else
	{
		newwindow=window.open(url,'name','resizable=yes,scrollbars=yes,height=500,width=450');
		if (!newwindow.opener) newwindow.opener = self;
	}
	if (window.focus) {newwindow.focus()}
	return false;
}

function DisplayAllAddressFields(text1,text2,text3){
	document.write(text1);
	document.write(' <a href="javascript:ReloadAndSaveAddressDisplay()" class="formpagepopup" title="');
	document.write(text2);
	document.write('">');
	document.write(text3);
	document.write('</a>');
}

function DisplayAddressLinks(text1,text2){                  
	document.write(' <a href="javascript:ReloadAndSaveMoniker(\'');        
	document.write(text1);                                                
	document.write('\',\'');
	document.write(text2);
	document.write('\')" title="');                             
	document.write('">');                                                 
	document.write(text2);                                                
	document.write('</a>');                                               
}                                                                         

function ReloadAndSaveAddressDisplay(){
	document.info.showaddress.value = 'true';
	document.info.action_LoadAndHold.value = 'true';
	document.info.submit();
}

function ReloadAndSaveMoniker(moniker){
	document.info.moniker.value = moniker;
	document.info.action_get_address.value = moniker;
	document.info.submit();
}
function ReloadAndSaveMonikerJS(obj){
	//stop;
	document.info.moniker.value = obj.value;
	document.info.action_get_address.value =  obj.value;
	document.info.submit();
}
//-->