dom = (document.getElementById)? true:false
ns4 = (document.layers)? true:false
ie4 = (document.all && !dom)? true:false
msec = 1500

// function init() {
// if (dom) block = document.getElementById("blockDiv").style
// if (ns4) block = document.blockDiv
// if (ie4) block = blockDiv.style
// }

// Show/Hide functions for pointer objects

function showObject(obj) {
 if (dom) block = document.getElementById(obj).style
 if (ns4) block = document.eval(obj)
 if (ie4) block = eval(obj).style
 if (ns4) block.visibility = "show" 
 	else block.visibility = "visible"
 return false;
}

function pausa(objname) {
 setTimeout("hideObject('"+objname+"')", msec);
 return false;
}

function hideObject(obj) {
 if (dom) block = document.getElementById(obj).style
 if (ns4) block = document.eval(obj)
 if (ie4) block = eval(obj).style
 if (ns4) block.visibility = "hide" 
 	else block.visibility = "hidden"
}

function imgOpen(imgURL,imgWidth,imgHeight,Title,skroll) {
var imgWidtx=imgWidth+16;
var imgWind=window.open('','_blank','width='+imgWidtx+',height='+
	imgHeight+',toolbar=no,menubar=no,location=no,status=no,'+'resizable=yes,scrollbars=yes');
var imgTitle=(Title)?Title:imgURL+": "+imgWidth+'x'+imgHeight;
with (imgWind.document){
  open();
  write('<ht'+'ml><he'+'ad><ti'+'tle>'+imgTitle+'</ti'+'tle>'+
  '</he'+'ad><bo'+'dy bgcolor="black" leftmargin="0" topmargin="0" '+
  'rightmargin="0" bottommargin="0" marginwidth="0" '+
  'marginheight="0"><img src="'+imgURL+'" width="'+imgWidth+
  '" height="'+imgHeight+'" border="0" alt="'+imgTitle+
  '"></bo'+'dy></ht'+'ml>');
  close();
}
return false;
}

jsLoaded=true;
