function showPopup(url) {
newwindow=window.open(url,'name','height=250,width=220,top=300,left=600,resizable');
if (window.focus) {newwindow.focus()}
}

function showContactPopup(url) {
newwindow=window.open(url,'name','height=270,width=250,top=300,left=600,resizable');
if (window.focus) {newwindow.focus()}
}


function showAddLocationPopup(url) {
newwindow=window.open(url,'name','height=450,width=600,top=200,left=600,resizable');
if (window.focus) {newwindow.focus()}
}

function showCancelSessionPopup(url) {
newwindow=window.open(url,'name','height=50,width=300,top=400,left=600,resizable');
if (window.focus) {newwindow.focus()}
}

function showLegendPopup(url) {
newwindow=window.open(url,'name','height=400,width=900,top=300,left=400,resizable');
if (window.focus) {newwindow.focus()}
}

function showTeamLegendPopup(url) {
newwindow=window.open(url,'name','height=500,width=900,top=300,left=400,resizable');
if (window.focus) {newwindow.focus()}
}

function showOtherPopup(url) {
newwindow=window.open(url,'name','height=120,width=360,top=300,left=400,resizable');
if (window.focus) {newwindow.focus()}
}

function toggleMenu(objID) {
if (!document.getElementById) return;
var ob = document.getElementById(objID).style;
ob.display = (ob.display == 'block')?'none': 'block';
}

