<!--

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
		}
	}

function changeImagesPHP() {
	for (var i=0; i<changeImagesPHP.arguments.length; i+=2) {
		document[changeImagesPHP.arguments[i]].src = 		changeImagesPHP.arguments[i+1];
		}
	}

function makeEmailLink(address,domain,endCharacter) {
	document.write('<a href="mailto:' + address + '@' + domain + '">' + address + '@' + domain + '</a>' + endCharacter);
	}

function openPopWindow(url,name,features) { 
	window.open(url,name,features);
	}

function makeProgressChart(height,width,backgroundColor,statusAmount) {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
	document.write('width="' + width + '" height="' + height + '">');
	document.write('<param name="movie" value="/design/progress_chart.swf?statusAmount=' + statusAmount + '"> <param name="quality" value="high"><param name="bgcolor" value="' + backgroundColor + '">'); 
	document.write('<embed src="/design/progress_chart.swf?statusAmount=' + statusAmount + '" quality="high" bgcolor="' + backgroundColor + '"');
	document.write('swLiveConnect="false" width="' + width + '" height="' + height + '"');
	document.write('</embed>');
	document.write('</object>');
	}
	
function backWindow(url){
	opener.location.href = url;
	}


function setDIVwidth(divID, newW, time){
	t1 = new Tween(document.getElementById(divID).style,'width',Tween.regularEaseInOut,document.getElementById(divID).offsetWidth,newW,time,'px');
	t1.start();
}

function setDIVheight(divID, newH, time){
	t1 = new Tween(document.getElementById(divID).style,'height',Tween.regularEaseInOut,document.getElementById(divID).offsetHeight,newH,time,'px');
	t1.start();	
}


// -->
