	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';
}
function gofullImage(location,width,height)
{
if(height>550){
width=width+20;
	var win = window.open(location,"Image","width=" + width + ",height=550 top=" + (screen.availHeight-height)/2 + ", left=" + (screen.availWidth-width)/2 + ",resizable=no,status=no,scrollbars=yes");
	win.focus();
	}
	else{
	var win = window.open(location,"Image","width=" + width + ",height=" + height + " top=" + (screen.availHeight-height)/2 + ", left=" + (screen.availWidth-width)/2 + ",resizable=no,status=no,scrollbars=no");
	win.focus();
	}
}
