
function FP_swapImg(imgid,filename) 
{
document.getElementById(imgid).setAttribute("src",filename); return false;
}

function FP_preloadImgs() {//v1.0
 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function popWin(filename,windowname, w, h)
	{
	var t = (screen.height - h) /2;
	var l = (screen.width -w) / 2;
	var popupWin = window.open(filename,windowname,'scollbars=yes,resizable=yes,width=' + w + ',height=' + h + ',top=' + t + ',left=' + l);
	popupWin.window.focus();
	return false;
	}
