var dom=document.getElementById; 
var ie = document.all ? 1 : 0
var screenWidth = screen.width;
var screenHeight = screen.height;    
 
/* these are not really used in lovetowine.com
function openWin(url, winName, w, h, wTop, wLeft) {  
	if (!w) var w=600;
	if (!h) var h=450; 
	
	// valign center if not given or 0
	if (!wTop) var wTop=  (screenHeight - (h+50)) / 2; // wTop = document.body.scrollTop+50;   
	
	// align center if not given or 0
	if (!wLeft) var wLeft =  (screenWidth - (w+50)) / 2; 
	
	if (!winName) var winName="mywin";
	
	window.open(url,winName,'resizable=1,scrollbars=1,width='+w+',height='+h+',top='+wTop+',left='+wLeft+',directories=0,location=0,menubar=0,status=0,toolbar=1')
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
} 
*/