function imageChange(strName, strSrc)
{
	document.getElementById(strName).src = strSrc;
}

function preloadImages() { //v3.0
	var d=document;
	if(d.images){ 
  		if(!d.p) 
			d.p=new Array();
		var i,j=d.p.length,a=preloadImages.arguments; 
		for(i=0;i<a.length;i++)
	    	if (a[i].indexOf("#")!=0){ 
				d.p[j]=new Image; 
				d.p[j++].src=a[i];
			}
	}
}


function popUp(winURL, scale, hscale) {
	var popWin = null;
	if (!scale)
		scale=600;
	if (!hscale)
		hscale=600;

	if (popWin != null)
		if (!popWin.closed)
			popWin.close();

	popWin = window.open(winURL, 'popup', 'toolbars=no,scrollbars=yes,width='+scale+',height='+hscale);

	return;
}



