		resize = function(){
			var NS = (navigator.appName=="Netscape")?true:false; 
			obj = document.getElementById('image');
			iWidth = (NS)?window.innerWidth:document.body.clientWidth; 
			iHeight = (NS)?window.innerHeight:document.body.clientHeight; 
			w = obj.offsetWidth - iWidth; 
			h = obj.offsetHeight - iHeight; 
			window.resizeBy(w,h-5);
			/*
			testobj = document.getElementById('test');			
			for(x in obj){
				if(obj[x]){
					testobj.innerHTML += x+' = '+obj[x]+'<br />';
				}					
				}
			alert(w+'x'+h);
			*/
			
			self.focus(); 
			}
		
		
		popup = function(url) {
			day = new Date();
			id = day.getTime();
			eval("page"+id+" = window.open('"+url+"', '"+id +"', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=300,left = 312,top = 150');");
			
			return false;
			}
	