// functions taken directly from MultexNet
function Popup(param){
	var url,title,format;
	
	// Long live brute force!
	switch(param.toLowerCase())
		{
			case 'qua':
				{
					url = '../CtQ.htm';
					break;
				}
			case 'focus':
				{
					url = '../Focus.htm';
					break;
				}
			default:
				{
					return;
				}
		}
	
	title = "FundEst"
	
	if(screen.height==600 && screen.width==800){
		if(param == "qua"){
			if(navigator.appName=="Netscape"){
				format = "height=120px,width=580px,screenX=50px,screenY=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
			else{
				format = "height=120px,width=530px, top=50px, left=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
		}
		if(param == "focus"){
			if(navigator.appName=="Netscape"){
				format = "height=180px,width=580px,screenX=50px,screenY=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
			else{
				format = "height=180px,width=530px, top=50px, left=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
		}	
	}
	else{
		if(param == "qua"){
			if(navigator.appName=="Netscape"){
				format = "height=120px,width=580px,screenX=50px,screenY=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
			else{
				format = "height=120px,width=560px, top=50px, left=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
		}	
		if(param == "focus"){
			if(navigator.appName=="Netscape"){
				format = "height=200px,width=580px,screenX=50px,screenY=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
			else{
				format = "height=200px,width=560px, top=50px, left=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
		}		
	}
	window.open(url,title,format);
}

function Direct_Access(name){
	var url,format,title
	
	//--- Use Date Files ---
	if(name=="dt"){
		url = "http://www.reutersresearch.com/data_delivery.asp"
		title = "DataFiles"
	}
	//--- Used For XML API ---
	if(name=="api"){
		url = "../xml_api.asp"
		title = "XmlApi"
	}
	
	if(screen.height==600 && screen.width==800){
		//--- Use For XML API ---
		if(name=="api"){
			if(navigator.appName=="Netscape"){
				format = "height=450px,width=600px,screenX=50px,screenY=10px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
			else{
				format = "height=450px,width=600px, top=10px, left=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
		}
		
		//--- Use For Data Files ---
		if(name=="dt"){
			if(navigator.appName=="Netscape"){
				format = "height=500px,width=600px,screenX=50px,screenY=10px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
			else{
				format = "height=500px,width=600px, top=10px, left=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
		}	
	}
	else{
		//--- Use For XML API ---
		if(name=="api"){
			if(navigator.appName=="Netscape"){
				format = "height=450px,width=650px,screenX=50px,screenY=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
			else{
				format = "height=560px,width=980px,top=10px,left=10px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
		}
		//--- Use For Data Files ---
		if(name=="dt"){
			if(navigator.appName=="Netscape"){
				format = "height=490px,width=650px,screenX=50px,screenY=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
			else{
				format = "height=490px,width=650px, top=50px, left=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
		}	
	}
			
	window.open(url,title,format);
}

function Mltx_Policy(name){
	var url,format,title;
	
	//--- Legal Disclosure & Disclamer ---
	if(name=="legal_dis"){
		/* url = "http://www.reutersresearch.com/abt_legal_dis.asp"; */
		url = "/whitepapers/abt_legal_dis.htm";
		title = "LegalDis";
	}
	//--- Term Of Use ---
	if(name=="term"){
		url = "http://www.reutersresearch.com/pdf/new_terms_of_use.pdf";
		title = "TermOfUse";
	}
	//--- User Conditions ---
	if(name=="cond"){
		url = "http://www.reutersresearch.com/pdf/user_conditions.pdf";
		title = "UserConditions";
	}

		
	
	if(screen.height==600 && screen.width==800){
		
		//--- Legal Disclosure & Disclamer ---
		if(name=="legal_dis"){
			if(navigator.appName=="Netscape"){
				format = "height=220px,width=650px,screenX=50px,screenY=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
			else{
				format = "height=200px,width=650px, top=50px, left=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
		}
		
		//--- Terms of Use ---
		if(name=="term"){
			if(navigator.appName=="Netscape"){
				format = "height=450px,width=650px,screenX=70px,screenY=50px,scrollbars=yes,resizable=no,toolbar=no,menubar=no";
			}
			else{
				format = "height=450px,width=650px, top=50px, left=70px,scrollbars=yes,resizable=no,toolbar=no,menubar=no";
			}
		}
		
		//--- User Conditions ---
		if(name=="cond"){
			if(navigator.appName=="Netscape"){
				format = "height=450px,width=650px,screenX=70px,screenY=50px,scrollbars=yes,resizable=no,toolbar=no,menubar=no";
			}
			else{
				format = "height=450px,width=650px, top=50px, left=70px,scrollbars=yes,resizable=no,toolbar=no,menubar=no";
			}
		}

	}
	else{

		//--- Legal Disclosure & Disclamer ---
		if(name=="legal_dis"){
			if(navigator.appName=="Netscape"){
				format = "height=220px,width=650px,screenX=50px,screenY=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
			else{
				format = "height=210px,width=650px, top=50px, left=50px,scrollbars=no,resizable=no,toolbar=no,menubar=no";
			}
		}
		
		//--- Terms of Use ---
		if(name=="term"){
			if(navigator.appName=="Netscape"){
				format = "height=630px,width=730px,screenX=70px,screenY=50px,scrollbars=yes,resizable=no,toolbar=no,menubar=no";
			}
			else{
				format = "height=630px,width=730px, top=50px, left=70px,scrollbars=yes,resizable=no,toolbar=no,menubar=no";
			}
		}	
		
		//--- User Conditions ---
		if(name=="cond"){
			if(navigator.appName=="Netscape"){
				format = "height=630px,width=730px,screenX=70px,screenY=50px,scrollbars=yes,resizable=no,toolbar=no,menubar=no";
			}
			else{
				format = "height=630px,width=730px, top=50px, left=70px,scrollbars=yes,resizable=no,toolbar=no,menubar=no";
			}
		}
	
	}
	
	window.open(url,title,format);
	
}