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 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+',00.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();
}

