var ixImg,ixOb,ixImgLd=false,getOb;
if(document.getElementById){
	getOb=function(ob){return document.getElementById(ob)};
}else{
	if(document.all){
		getOb=function(ob){return document.all[ob]};
	}else{
		getOb=function(ob){return document.ob};
	}
}
function stoIxImg(){
	if(!ixImgLd){
		var img;
		ixOb=new Array('iximg2','iximg1');
		for(var i=0;i<ixOb.length;i++){
			ixOb[i]=getOb(ixOb[i]);
		}
		ixImg=new Array('dublin-fl.jpg','ixi5.jpg','ext-nt.jpg','lobby.jpg','ixi4.jpg','fcrts-1.jpg','fcrts-2.jpg');
		for(var i=0;i<ixImg.length;i++){
			img=new Image();
			img.src='img/'+ixImg[i];
			ixImg[i]=img;
		}
		ixImgLd=true;
	}
}
function swpIxImg(ob,on){
	if(ixImgLd){
		ixOb[ob].src=ixImg[on].src;
	}
}
function goAerial(){
	if(document.all&&(navigator.userAgent.indexOf('Opera')==-1)){
		document.location='aerial.html';
	}else{
		document.location='aerial-huge.html';
	}
}
function cngimg(img,pcs){img=getOb(img); img.src='img/plns/'+pcs;}
