var d=document; var imghl = new Array();
// ************************************* //
function getObj(name){
	return d.getElementById?d.getElementById(name):d.all(name)
}
// ************************************* //
function preload(){
 hl_images = preload.arguments;
 for(i=0; i<hl_images.length; i++){
   imghl[(hl_images[i])]=new Image;
   imghl[(hl_images[i])].src=''+hl_images[i];
 }
} 
// ************************************* //
function swap(n,i){ 
 try{
   if(!swap.arguments.length){
     d[r_n].src=r_s;
   }else{
     r_s=d[n].src;
	 r_n=n;d[n].src=imghl[i].src
   }
 }catch(e){}
}
// ************************************* //
function newWindow1(file,t,l,w,h){
	window.focus();
	if(typeof(msgWindow)=='object') msgWindow.close();
	msgWindow = open('','window1','scrollbars=0,resizable=0,status=1,left='+l+',top='+t+',width='+w+',height='+h);
	msgWindow.location.href = file;
	if(msgWindow.opener == null) msgWindow.opener = self;
}
// ************************************* //
function isDef(obj){
	if( typeof(obj) == 'undefined' || obj == null) return false;
	else return true;
}
// ************************************* //

