function reloadWindow (url) {
	self.location=url;
}

function MM_openBrWindow(theURL,winName,features) { //v1.2
  window.open(theURL,winName,features);
}

function PrintPopUp(getDocID) {
		window.open ('/ER/Research/Print/0,1366,'+getDocID+',00.html', "popup_print", "width=450,height=400,screenX=100,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no");
}

function PDFPopUp(getDocID) {
		window.open ('/Research/PDF/0,5110,'+getDocID+',00.pdf', "popup_pdf", "width=600,height=400,screenX=100,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no");
}

function PopUpEdit (url) {
	window.open (url, "EditPopup", "width=450,height=450,screenX=100,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no");
}
function PopUpCustomize () {
	window.open ('/PersonalView/Customize/1,3482,0,00.html', "CustomizePopup", "width=800,height=600,screenX=100,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no,scrollbars=yes");
}
function PopUpPolicy (url) {
	window.open (url,"DisclaimerTipsPopup", "width=350,height=300,left=100,status=no,toolbar=no,scrollbars=yes");
}
function PopUpChemDirectory (url) {
	window.open (url,"DirectoryTipsPopup", "width=500,height=400,left=100,status=no,toolbar=no,scrollbars=yes");
}
function PasswordForm(url){		
		window.open(url,"TipsPassword","width=300,height=160,titlebar=no,left=160,top=205");
}

function qotdPop (url) {
self.name="forrMain";
window.open (url, "popup_qotd", "width=300,height=410,screenX=100,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no");
}

function authorPop (url) {
window.open (url, "popup_auth", "width=300,height=300,screenX=100,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no");
}

function emailPop () {
window.open (getEmailURL(), "popup_email", "width=350,height=350,screenX=100,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no,scrollbars=yes");
}

function getDataPop (url) {
window.open (url,"popup_getdata","width=300,height=300,screenX=100,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no,scrollbars=yes");
}

function seeFigPop (url) {
window.open(url,"popup_seefig","width=480,height=300,screenX=50,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no,scrollbars=yes");
}

function surveyPop(path) {
window.open(path, "popup_survey", "width=400,height=300,resizable=yes,status=no,toolbar=no,scrollbars=yes");
}

function seeNotePop (url) {
window.open(url,"popup_seenote","width=350,height=250,screenX=100,screenY=100,left=100,right=100,resizable=no,status=no,toolbar=no,scrollbars=yes");
}

function contPop (contactID) {
window.open ('/ER/ContactUs/1,1380,'+contactID+',FF.html?referer='+window.location, "popup_contus", "width=500,height=675,screenX=20,screenY=40,left=20,right=40,resizable=yes,status=no,toolbar=no,scrollbars=yes");
}

function finAnalystsPop () {
window.open ('/ER/Investor/Analysts/0,1322,0,00.html', "popup_analysts", "width=550,height=300,resizable=yes,status=no,toolbar=no,scrollbars=yes");
}

function gradePop () {
window.open ('/ER/Research/Grade/1,1359,'+getDocID()+',00.html', "popup_grade", "width=300,height=400,screenX=60,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no");
}

function helpPop () {
	if (helpPop.arguments.length == 0) { 
		window.open ('/ER/Help/1,1341,1,00.html?referer=/JS/Popups', "popup_help", "width=550,height=355,screenX=60,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no");
	} else {
		window.open ('/ER/Help/1,1341,1,00.html?'+helpPop.arguments[0], "popup_help", "width=550,height=355,screenX=60,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no");
	}
}

function addPop () {
window.open ('/ER/PrivateLibrary/Update/1,1356,'+getDocID()+',00.html', "popup_add", "width=300,height=300,screenX=100,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no");
}

function printPop () {
window.open ('/ER/Research/Print/0,1366,'+getDocID()+',00.html', "popup_print", "width=300,height=400,screenX=100,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no");
}

function powerPop () {
window.open ('/ER/Research/PowerPoint/0,1687,'+getDocID()+',00.html', "popup_powerpoint", "width=300,height=300,screenX=100,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no");
}

function accountingPop () {
window.open ('/ER/PersonalView/Accounting/CookieSetter/1,2309,0,00.html', "popup_acccookie", "width=375,height=350,screenX=100,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no");
}

function surveyPop () {
window.open ('/Survey/2000/1,2501,,00.html', "popup_survey", "width=400,height=675,screenX=20,screenY=40,left=20,right=40,resizable=yes,status=no,toolbar=no,scrollbars=yes");
}

function StratsurveyPop () {
window.open ('/Survey/Strat/1,2857,,00.html', "popup_survey", "width=400,height=675,screenX=20,screenY=40,left=20,right=40,resizable=yes,status=no,toolbar=no,scrollbars=yes");
}

function glossaryPop () {
	if (glossaryPop.arguments.length == 0) { 
		window.open ('/ER/Glossary/Item/1,2425,,00.html?referer=/JS/Popups', "popup_glossary", "width=575,height=355,screenX=60,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no,scrollbars=yes");
	} else {
	    window.open ('/ER/Glossary/Item/1,2425,'+glossaryPop.arguments[0]+',00.html', "popup_glossary", "width=575,height=355,screenX=60,screenY=100,left=100,right=100,resizable=yes,status=no,toolbar=no,scrollbars=yes");
		
		 }
}

function detailPop (questionID) {
	if (questionID) {
		newWindow = window.open ('/Technographics/Popups/QuestionDetail/1,4421,'+questionID+',00.html', 'question_detail','scrollbars=yes,width=350,height=350,toolbar=yes,resizable=yes');
		newWindow.focus()
	}
}

function questionBrowserPop (questionSlot, ID) {
		newWindow = window.open ('/Technographics/Popups/QuestionBrowser/1,4446,'+questionSlot+'-'+ID+',00.html', 'question_browser','scrollbars=yes,width=600,height=475,toolbar=yes,resizable=yes');
		newWindow.focus()
}

function questionBrowserPopOLD (questionSlot, surveySelected, question1Selected, question2Selected, filterBlock) {
		newWindow = window.open ('/Technographics/Popups/QuestionBrowser/1,4446,'+questionSlot+'-'+surveySelected+'-'+question1Selected+'-'+question2Selected+'-'+filterBlock+',00.html', 'question_browser','scrollbars=yes,width=600,height=475,toolbar=yes,resizable=yes');
		newWindow.focus()
}

function AVMediaPop (videoID) {
	url = "http://www.cramereventmedia.com/custom/forrester01.asp?webcastID=" + videoID;
	newWindow = window.open (url,"AVMediaPopup","width=748,height=546,status=no,resize=no,directories=no,menubar=no,toolbar=no,location=no,scrollbars=auto");	
	newWindow.focus();
}

//Function to Open Browser in as size Specified for Daily Export/Import Data
function Daily_OpenBrWindow(theURL,WinName)
{
	if (navigator.appName=='Microsoft Internet Explorer')
		{	
		window.open(theURL,WinName,"width=350,height=350,titlebar=no");
		}
	else if (navigator.appName=='Netscape')		
		{
		window.open(theURL,WinName,"width=350,height=400,titlebar=no");
		}
}

//Function to Browser in as size Specified for Impex
function Impex_OpenBrWindow(theURL,WinName)
{
	window.open(theURL,WinName,"width=600,height=400,titlebar=no");
}

//Function to Browser in as size Specified for Tips News
function News_OpenBrWindow(theURL)
{
	window.open(theURL,"TipsNews","width=450,height=400,scrollbars=yes,titlebar=no");
}

/*
//Function to Browser in as size Specified for Directory
function Directory_OpenBrWindow(theURL,WinName)
{
	if (navigator.appName == 'Microsoft Internet Explorer')
		window.open(theURL,WinName,"width=430,height=320,titlebar=no");
	else if (navigator.appName == 'Netscape')
		window.open(theURL,WinName,"width=430,height=330,titlebar=no");
}
*/

//Function to Browser in as size Specified for Directory
function Directory_OpenBrWindow(theURL,WinName)
{
	if (navigator.appName == 'Microsoft Internet Explorer')
		window.open(theURL,WinName,"width=640,height=480,resizable=no,status=no,toolbar=no,scrollbars=no");
	else if (navigator.appName == 'Netscape')
		window.open(theURL,WinName,"width=640,height=490,resizable=no,status=no,toolbar=no,scrollbars=no");
}

//Function to Browser in as size Specified for FTSA
function Ftsa_OpenBrWindow(theURL,WinName)
{
	window.open(theURL,WinName,"width=350,height=350,titlebar=no");
}

//Function to Browser in as size Specified for Foreign Collaborations
function FC_OpenBrWindow(theURL,WinName)
{
	window.open(theURL,WinName,"width=500,height=450,titlebar=no");
}

//Function to Browser in as size Specified for FTSM
function Ftsm_OpenBrWindow(theURL,WinName)
{
	window.open(theURL,WinName,"width=350,height=350,titlebar=no");
}

//Function to Browser in as size Specified for Indian Exporter Directory
function IndExp_OpenBrWindow(theURL,WinName)
{
	if (navigator.appName == 'Microsoft Internet Explorer')
		window.open(theURL,WinName,"width=430,height=260,titlebar=no");
	else if (navigator.appName == 'Netscape')
		window.open(theURL,WinName,"width=430,height=270,titlebar=no");
}

//Function to Browser in as size Specified for ITC
function ITC_OpenBrWindow(theURL,WinName)
{
	window.open(theURL,WinName,"width=600,height=400,titlebar=no");
}

//Function to Browser in as size Specified for ECM
function ECM_OpenBrWindow(theURL,WinName)
{
	window.open(theURL,WinName,"width=600,height=400,titlebar=no");
}
//Function to Browser in as size Specified for List in Directory 2002
function List_OpenBrWindow(theURL,WinName)
{
	window.open(theURL,WinName,"width=300,height=300,titlebar=no,scrollbars=yes");
}

//Function to Browser in as size Specified for Get Your Password
function GetYourPassword_OpenBrWindow(theURL,WinName)
{
	window.open(theURL,WinName,"width=250,height=180,left=200,top=200,titlebar=no,scrollbars=no");
}
//Function to Browser in as size Specified for Get Your Password
function ForgotPassword_OpenBrWindow(theURL,WinName)
{
	window.open(theURL,WinName,"width=200,height=170,left=200,top=200,titlebar=no,scrollbars=no");
}
