﻿// JScript File
 function emailer_no_spam(addr1, addr2)
{

document.location.href='mai' + 'lto:' + addr1 + addr2;


} 


function photo_pop(arg_imagepath, arg_width, arg_height, arg_description)
{
	var leftPos = 80;
    var topPos = 80;
	var winheight = arg_height  + 150;
	var winwidth = arg_width + 50;
    var imagesource = arg_imagepath;
	var newDateObj = new Date()
	var a = "win" + newDateObj.getTime()
	var name = a;
    var features = 'height=' + winheight + ',width=' + winwidth + ',location=no,menubar=no,resizable=no,scrollbars=yes,' +
      'toolbar=no,status=no,screenX=' + leftPos + ',left='+ leftPos +',screenY=' + topPos + ',top=' + topPos;

    var generator = window.open('', name, features, false);
		
  generator.document.write('<html><head><title>Image</title>');
  generator.document.write('</head><body bottommargin=0 bgcolor="#ffffff">');
  generator.document.write('<center><table cellspacing=3 cellpadding=0 bgcolor=#FB5338><tr><td><table cellspacing=2 cellpadding=0 bgcolor=#ffffff><tr><td><a href="javascript:self.close()"><img width="' + arg_width + '" height="' + arg_height + '" style="border-color:#FB5338;" border="1" src="' + imagesource + '"></a></td></tr></table></td></tr></table>');
  generator.document.write('<a href="javascript:self.close()"><img  style="margin-top:15px" border=0 align=absmiddle src="../images_structural/closethiswindow.gif"></a>');

  generator.document.write('<br><br><font face=verdana size=-2>' + arg_description + '</font>');
  generator.document.write('</center></body></html>');
  generator.document.close();

}