
	var debugging = false;

	/*
	Set it up so that namespace is established
	Write "coverWith" function with highest top of 
		covering DIV being page top of underlying DIV, width same, 
		height as needed but no less than underlying DIV
	*/


function q(num) {
	switch (num){
		case 1:
			var q  = 'Securely purchase by<br>clicking on the button';
			    q += '';
			return overlib(q, WIDTH, 150, TEXTSIZE, 2, OFFSETY, -20, CSSCLASS, "OverLibAlt", CAPTIONFONTCLASS, 'OverLibFont');
			break;
		case 2:
			var q  = 'Interest in alternative sources of energy is increasing worldwide.<br><strong>Car';
			    q += 'bon markets</strong> have produced new opportunities: How can<br>these opportunit';
				q += 'ies be realized?<br><strong>Investors</strong> today are seeing more ASE projects';
				q += ', and they want to<br>know if those projects &ldquo;pencil out&rdquo;.<br><strong';
				q += '>Companies</strong> that want to offer their customers<br>a carbon-neutral experi';
				q += 'ence wonder how.<br><strong>Project developers</strong> want accurate, lively, co';
				q += 'gent text in their<br>prospectus.<br><br>Do you have a bioenergy challenge?<br>Vi';
				q += 'sit our consulting website and contact us for assistance.<br><em>We strive for ex';
				q += 'cellence.</em>';
			    q += '';
			return overlib(q, WIDTH, 550, TEXTSIZE, 3, OFFSETY, -300, CAPTIONFONTCLASS, 'OverLibFont');
			break;
		case 3:
			break;
			var q  = 'Share this resource with others on StumbleUpon,<br>Digg, Delicious or other social m';
				q += 'edia sites.';
			    q += '';
			return overlib(q, WIDTH, 350, TEXTSIZE, 2, OFFSETY, -150, TEXTFONTCLASS, 'OverLibAlt');
			break;
		case 4:
			break;
			var q  = 'Workshops scheduled in October in Hawaii<br>and Pennsylvania! Can&rsquo;t attend?';
				q += 'Take a lo';
				q += 'ok<br>anyway and tell us of your interest. If we know<br>you&rsquo;d like to take a cla';
			    q += 'ss, we may be able to<br>have an event nearer to you soon!';
			    q += '';
			return overlib(q, TEXTSIZE, 2, OFFSETY, -50, OFFSETX, 100, TEXTFONTCLASS, 'OverLibAlt');
			break;
		case 5:
			var q  = 'Oops! See the link for information on<br>elephant dung and biogas production&hellip;';
			    q += '';
			return overlib(q, TEXTSIZE, 2, OFFSETY, -50, OFFSETX, 100, TEXTFONTCLASS, 'OverLibAlt');
			break;
		case 6:
			var q  = 'Those who work with us to organize workshops<br>in their area will share some of the';
			    q += ' revenue.<br>Please contact us for details, or complete this form&hellip;';
			    q += '';
			return overlib(q, WIDTH, 250, TEXTSIZE, 2, OFFSETY, -20, CSSCLASS, "OverLibAlt", 
						   CAPTIONFONTCLASS, 'OverLibFont');
			break;
		case 7:
			var q  = 'Comments? Questions? <span style="font-variant:small-caps;font-weight:bold;';
				q += '">Click!</span>';
			    q += '';
			return overlib(q, WIDTH, 200, TEXTSIZE, 2, OFFSETY, -20, CSSCLASS, "OverLibAlt", 
						   CAPTIONFONTCLASS, 'OverLibFont');
			break;
		default : 
			var q = 'Number not supported!';
			return overlib(q, WIDTH, 80);
			break;
	}
}


function getStyle(objElem, strCssRule){
    var strValue = "";
	var strObj = null;
	var p1 = null;
    if(window.getComputedStyle){
        strValue = document.defaultView.getComputedStyle(objElem, null).getPropertyValue(strCssRule);
    	}
    else if(objElem.currentStyle){
        strCssRule = strCssRule.replace(/\-(\w)/g, function (strMatch, p1){
            return p1.toUpperCase();
        	});
        strValue = objElem.currentStyle[strCssRule];
    	}
    return strValue;
}



function findLeft(objElem) {
	// If numeric answer, add 'px' before returning
	var curleft = 0;
	if (objElem.offsetParent) {
		while (objElem.offsetParent) {
			curleft += objElem.offsetLeft
			objElem = objElem.offsetParent;
			}
		}
	else if (objElem.x) { curleft += objElem.x; }
		//
	return curleft;
	}

function findTop(objElem) {
	// If numeric answer, add 'px' before returning
	var curtop = 0;
	if (objElem.offsetParent) {
		while (objElem.offsetParent) {
			curtop += objElem.offsetTop
			objElem = objElem.offsetParent;
			}
		}
	else if (objElem.y) { curtop += objElem.y; }
		//
	return curtop;
	}



function returnObj(id) {
	if (document.getElementById) {
  		this.obj = document.getElementById(id);
//		this.style = document.getElementById(id).style;
//		if (debugging) {alert('getElementById for ' + id); }
		}
	else if (document.all) {
		this.obj = document.all[id];
//		this.style = document.all[id].style;
//		if (debugging) { alert('all for ' + id); }
		}
	else if (document.layers) {
   		this.obj = document.layers[id];
//  		this.style = document.layers[id];
//		if (debugging) { alert('layers for ' + id); }
		}
	else {
//		if (debugging) { alert('No DOM?? for ' + id); }
		}
		// Will not work unless we explicitly 'return' as below
	return this.obj;
	}



