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 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];
			}
	}
}
function openWin1(url) {
	window.open(url, 'url', "toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=no,resizable=no,width=500,height=375");
}
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 change(x){
document.getElementById('swich').src= 'images/bannersleft/' + x + '.jpg';
}
