function togglecontact(objID) {
if (!document.getElementById) return;
if(objID != 'contact1' && document.getElementById('contact1').style.display == 'block')
	document.getElementById('contact1').style.display = 'none';
if(objID != 'contact2' && document.getElementById('contact2').style.display == 'block')
	document.getElementById('contact2').style.display = 'none';
if(objID != 'contact3' && document.getElementById('contact3').style.display == 'block')
	document.getElementById('contact3').style.display = 'none';
if(objID != 'contact4' && document.getElementById('contact4').style.display == 'block')
	document.getElementById('contact4').style.display = 'none';
if(objID != 'contact5' && document.getElementById('contact5').style.display == 'block')
	document.getElementById('contact5').style.display = 'none';
if(objID != 'contact6' && document.getElementById('contact6').style.display == 'block')
	document.getElementById('contact6').style.display = 'none';
if(objID != 'contact7' && document.getElementById('contact7').style.display == 'block')
	document.getElementById('contact7').style.display = 'none';

var ob = document.getElementById(objID).style;
ob.display == 'block'? ob.display = 'none':ob.display = 'block';
document.getElementById('contact').style.backgroundimage = 'url("images/Sidenav-background.gif")';
}

function demo()
{
  alert('Will link to relevant page');
  return;
}

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

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

function popup(URL,w,h,x,y)
{
  var w = (w == null) ? 250 : w;
  var h = (h == null) ? 350 : h;
  var x = (x == null) ? 50 : x;
  var y = (y == null) ? 50 : y;
  WindowHandle=window.open(URL, '_blank', 'left='+x+',top='+y+',width='+w+',height='+h+',scrollbars=1,toolbar=no,resizable=1');
}
