// POP UP A PREFORMATTED EMAIL MESSAGE WINDOW

function dontforget() {
	// set the popup window width and height
	var windowW=400; // wide
	var windowH=200; // high
	// set the screen position where the popup should appear
	//var windowX = 260; // from left
	//var windowY = 100; // from top
	var windowX = (screen.width/2)-(windowW/2);
	var windowY = (screen.height/2)-(windowH/2);
	// set the url of the page to show in the popup
   var urlPop = "attchphoto.html";
	// set the title of the page
	var title =  "Pet Portraits Animaliers";
	// set this to true if the popup should close
	// upon leaving the launching page; else, false
	var autoclose = false;
   s = "width="+windowW+",height="+windowH;
	var beIE = document.all?true:false;

  if (beIE){
    popup = window.open("","popFrameless","resizable,"+s)
    popup.blur()
    window.focus()
    popup.resizeTo(windowW,windowH)
    popup.moveTo(windowX,windowY)
    var frameString=""+
	"<html>"+
	"<head>"+
	"<title>"+title+"</title>"+
	"</head>"+
	"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
	"<frame name='top' src='"+urlPop+"' scrolling=auto>"+
	"<frame name='bottom' src='about:blank' scrolling='no'>"+
	"</frameset>"+
	"</html>"
    popup.document.open();
    popup.document.write(frameString)
    popup.document.close()
  } else {
    popup=window.open(urlPop,"popFrameless","scrollbars,"+s)
    popup.blur()
    window.focus()
    popup.resizeTo(windowW,windowH)
    popup.moveTo(windowX,windowY)
  }
  popup.focus()
  if (autoclose){
    window.onunload = function(){popup.close()}
  }
}