function cimg(name,ov){
	if (document.images[name]){
		document.images[name].src = "images/" + name + ((ov == 0)?"over":"") + ".gif";
	}
	
}
function cimg2(name,ov){
	if (document.images[name]){
		document.images[name].src = "images/" + name + ((ov == 0)?"over":"") + ".jpg";
	}
	
}
function popup(url, title, W, H, features){
	var X = Math.ceil((window.screen.availWidth - W) / 2);
	var Y = Math.ceil((window.screen.availHeight - H) / 2);
	features = "width=" + W + ", height=" + H + ", left=" + X + ", top=" + Y + ", " + features;
	window.open(url, title, features);
}
function MM_preloadImages() {
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
