


/* clears out form field when cursor is entered */

 function clearMe(formfield){
  if (formfield.defaultValue==formfield.value)
   formfield.value = ""
 }
 



 function print_mailto_link (nme, dom) {
 			 document.write('<a href="mailto:' + nme + "@" + dom + '">' +  nme + "@" + dom + '</a>');
	}
	
 function print_mailto_link2a (nme, dom, msg) {
 			 document.write('<a href="mailto:' + nme + "@" + dom + '">' +  msg + '</a>');
	}	
	
 function print_mailto_link_img (nme2, dom2) {
 			 document.write('<a href="mailto:' + nme2 + "@" + dom2 + '">');
	}
	/*
	function sitewin(filename, h, w) {
	    	alert(filename + "  " + h + "  " + w ); 
	    	swin = window.open("","swin","height' + h + ',width=' + w + ',scrollbars=1,resizable=1,menubar=no,toolbar=no");
		    swin.location.href = filename;
		    swin.focus()
		    if(swin.opener == null) swin.opener = window;
	     }
	*/   
	
	
		function sitewin(filename, h, w) {
	    	
	    	swin = window.open("","swin","height=450,width=450,scrollbars=1,resizable=1,menubar=no,toolbar=no");
		    swin.location.href = filename;
		    swin.focus()
		    if(swin.opener == null) swin.opener = window;
	     }
	     function incorrect_win(id, uti) {
	     filename = 'incorrrect_pop.php?uti='+ uti + '&id=' +id;

	    	swin = window.open("","swin","height=50,width=270,scrollbars=1,resizable=1,menubar=yes,toolbar=yes");
		    swin.location.href = filename;
		    swin.focus()
		    if(swin.opener == null) swin.opener = window; 
	     }
	     
	      function print_mailto_link_IN () {
 			 document.write('<a href="mailto:' + 'info' + "@" + 'marthabeck.com' + '">' + 'info' + "@" + 'marthabeck.com' + '</a>');
	}
	
	 
	function print_mailto_link_cancel () {
 			 document.write('<a href="mailto:' + 'info' + "@" + 'marthabeck.com' + '">' + 'Email to be put on cancellation list' + '</a>');
	}