//*******************************************************************
// NEW dynamic image resizer by burgwinkel.com : consume freely
	var imgW = null;
	var imgH = null;
function imgRsz(w,h,pct,imgFile,imgRL,altTxt)
{
if (document.documentElement && document.documentElement.clientWidth){
  cw = document.documentElement.clientWidth;
  ch = document.documentElement.clientHeight;
}else{
  cw = document.body.clientWidth;
  ch = document.body.clientHeight;
}
//if (navigator.userAgent.indexOf("MSIE ") == -1){
//  cw = (screen.availWidth * 0.66);
//  ch = (screen.availHeight * 0.66);
//}
	if (pct==0){
imgW = w;
imgH = h;
  }else{
imgW = parseInt(cw*(pct/100));
imgH = parseInt(imgW*(h/w));
	}
	if (altTxt=="" || altTxt==0){
altTag = "";
  }else{
altTag = altTxt;
  }
document.write("<img class='" +imgRL+ "' src='" +imgFile+ "' border='0' width='" +imgW+ "' height='" +imgH+ "' " +altTag+ ">");
// for testing...
// document.write("&lt;img class='" +imgRL+ "' src='" +imgFile+ "' border='0' width='" +imgW+ "' height='" +imgH+ "' " +altTag+ "&gt;");
}// END



//*******************************************************************
// Pop-up window opener

function opWin(theURL,winName,features) //v2.0
{ 	if (window.winName && window.winName.closed==false) 
	{
		if (navigator.userAgent.indexOf("MSIE 3")==-1) 
		{ window.winName.focus(); }
	}else{ winName=window.open(theURL,winName,features);
	}
}// END



