
function printmail(username,domain){

		t='<a href="mailto:'+
			username+String.fromCharCode(64)+domain+'" target="_blank">'+username+String.fromCharCode(64)+domain+'</a>';
      
      document.write(t);		
	}
function loadlayer(){
/*
if(!(pWidth=self.innerWidth)) pWidth=document.body.clientWidth;
xpos=Math.max((pWidth-760)/2, 0) + 186;
document.write('<div id="overlayer" style="position:absolute;top:113px;left:'+xpos+'px;width:600;height:600;visibility:hidden;"></div>');

*/
if(!(pWidth=self.innerWidth)) pWidth=document.body.clientWidth;
xpos=Math.max((pWidth-760)/2, 0) + 186;
over=document.getElementById('overlayer');
over.style['left']=xpos;

}

function showdiv(dv){
    if (document.getElementById(dv)) {
  divv=document.getElementById(dv);
    divv.style.display="";
}
  }
function hidediv(dv){
    if (document.getElementById(dv)) {
      divv=document.getElementById(dv); 
divv.style.display="none";
  }
    }  
    
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=50,height=50');");
}

function toggleDIV( targetId ) {
   if ( document.getElementById ) {

    target = document.getElementById( targetId );
	  
    if ( target.style.display == "none" ) {
     target.style.display = "";
    } else {
     target.style.display = "none";
    }
   }
}
