function roll(IdName, ImageName) {
        document.getElementById(IdName).src = ImageName;
}

/*
function OpenPopup (MyPage, MyWidth, MyHeight, MyResizable, MyScrolling) {
	window.open (MyPage, '_blank', 'width=' + MyWidth + ',height=' + MyHeight + ',resizable=' + MyResizable + ',scrollbars=' + MyScrolling)
}
*/

function OpenPopup (url, widht, height)
{	
	OpenPopup(url, width, height, 0, 0);
}
function OpenPopup (url, widht, height, scrollbars)
{	
	OpenPopup(url, width, height, scrollbars, 0);
}
function OpenPopup (url, widht, height, scrollbars, resizable)
{	
	window.open (url,'','resizable='+resizable+',toolbar=no,location=no,scrollbars='+scrollbars+',left=0,top=0,width=' + widht + ',height=' + height);
}



function showMenu(menu)
{
	var obj = document.getElementById(menu);
	obj.style.display = 'block';	
	
}
function hideMenu(menu)
{
	var obj = document.getElementById(menu);
	obj.style.display = 'none';	
	
}



function ShowElement(id){
 if(document.getElementById){
  var el=document.getElementById(id);
  el.style.display = 'block';
 }
}

function HideElement(id){
 if(document.getElementById){
  var el=document.getElementById(id);
  el.style.display = 'none';
 }
}

