var strYear = "2007";
function EmailName(strUser, strDomain, strSuffix, strText){
  if (strText == "")
  {
  	document.write('<a href="' + 'mailto:' + strUser + '@' + strDomain + '.' + strSuffix + '">' + strUser + '@' + strDomain + '.' + strSuffix + '</a>');
  }
  else
  {
  	document.write('<a href="' + 'mailto:' + strUser + '@' + strDomain + '.' + strSuffix + '">' + strText + '</a>');
  }  
}

function popWin(img, w, h)	{
	if ( (m_pWindow!= null) && (m_h!=h && m_w!=w) )
	{
	   m_pWindow.close();
	}
	m_w = w;
	m_h = h;
	w += 50;
	h += 50;
	
	var strFlags = "nostatus,resizable=no,width=" + w.toString(10) + ",height=" +h.toString(10) + ",top=0,left=0"

	w -= 60;
	h -= 30
	var strURL = "Popup.asp?IMAGE=" + img + "&W=" + w.toString(10) + "&H=" + h.toString(10);

	m_pWindow = open(strURL,"windowName",strFlags);
	m_pWindow.focus();
}
