	function winPop(doc,name,scroll,status,width,height,resizable){
		
		newWin = open(doc,name,"scrollbars=" + scroll + ",resizable="+resizable+",status=" + status + ",width=" + width + ",height=" + height);
	
		if (!newWin.opener)
			newWin.opener = self; 
		
		if (newWin)
			newWin.focus();
	}

	function email(address,domain,ext,style,nm) {
		var first = 'ma';
		var second = 'il';
		var third = 'to:';

		document.write('<a href="');
		document.write(first+second+third);
		document.write(address);
		document.write('@');
		document.write(domain);
		document.write('.');
		document.write(ext); 
		document.write('"');  
		if (style!='')
			document.write(' class="'+ style+'" ');  
		document.write('>'); 

		if (nm=='') {
			document.write(address);
			document.write('@');
			document.write(domain);
			document.write('.');
			document.write(ext);  
		} else {
			document.write(nm);  
		}
		document.write('</a>');	
	}

