function addEvent(obj, evType, fn){ 
 if (obj.addEventListener){ 
   obj.addEventListener(evType, fn, false); 
   return true; 
 } else if (obj.attachEvent){ 
   var r = obj.attachEvent("on"+evType, fn); 
   return r; 
 } else { 
   return false; 
 } 
}

// addEvent(window, 'load', FunctionName); // once the document loads, run this initializing function

//Plant Pop-ups
    function popitup(url) {
	newwindow=window.open(url,'name','height=437,width=580,');
	if (window.focus) {newwindow.focus()}
	//return false;
}