
function open_email_form(name, email) {
  url='/contact/email_contact_form.html?r_name='+name+'&r_email='+email;
  popupWin = window.open(url, 'Contact', 'width=420,height=515,screenx=5,screeny=5,left=5,top=5');
}

function openInfo(url, name, wid, hei) {
	if (wid == null) { wid=620; }	 
	if (hei == null) { hei=473; }
	popupWin = window.open(url, name, 'width='+wid+',height='+hei+',screenx=5,screeny=5,left=5,top=5');
}

function openInfo2(url, name) {
  popupWin = window.open(url, name, 'width=640,height=480,screenx=5,screeny=5,left=5,top=5,scrollbars');
}

function openTour(url, name) {
     popupWin = window.open(url, name, 'width=620,height=473,screenx=5,screeny=5,left=5,top=5')
   }


function loadVideo(filename,title) {
//    loc = "http://video.whdh.com:7070/ramgen" + filename + ".rm";
//      loc = "/cgi-bin/video/smilgen.cgi?link=" + filename + "&title=" + title;
      loc = "http://whdh.sunbeamtv.com/cgi-bin/video/smilserver.cgi?action=pop&tid=WHDH_NA&file=" + filename + "&title=" + title;

//    window.location = loc;
      popupWin = window.open(loc, 'VideoArchive' , 'width=300,height=25,resize=yes,screenx=5,screeny=5,left=5,top=5')

}

<!--
			docObj = (document.layers) ? 'document' : 'document.all';	
			styleObj = (document.layers) ? '' : '.style';
			
			function popUp(evt,currElem){
				if (document.layers || document.all){
					dom = eval(docObj +  '.' + currElem + styleObj);
					state = dom.visibility;
						if (state == "visible" || state == "show") 
						{ dom.visibility = "hidden"; }
						else {
							if (document.layers) { 
								topVal = eval(evt.pageY + 2); 
								leftVal = eval(evt.pageX - 125); }
							if (document.all) { 
								topVal = eval(event.y + 2); 
								leftVal = eval(event.x - 125); }
							if(leftVal < 2) { leftVal = 2; }	
							dom.top = topVal; 
							dom.left = leftVal; 
							dom.visibility = "visible"; 
						}
				}
			}
			// -->





