function resizeme(width,height)
		{
			maxwidth=width;
			maxheight=height;
			addwidth=(maxwidth-20)/6/34;
			addheight=(maxheight-20)/6/34;
			
			if(currentwidth<=maxwidth)
			{
				currentwidth=currentwidth+addwidth;
				//currentwidth=currentwidth+2;
				//x.resizeTo(currentwidth,currentheight);
		
			}
			if(currentheight<=maxheight)
			{
				currentheight=currentheight+addheight;
				//currentheight=currentheight+2;
				//x.resizeTo(currentwidth,currentheight);
		
			}
			if(currentwidth<=maxwidth || currentheight<=maxheight)
			{
				
				
				x.resizeTo(currentwidth,currentheight);
				//alert("Width: \nHeight:");
				setTimeout("resizeme("+width+","+height+")",1000/34);
					
			}
			else
			{
				x=null;
				currentwidth=20;
				currentheight=20;
			}
		}	
		function openme(width,height,file)
		{
			x=window.open(file,"","height=20px,width=20px,resizable=yes,scrollbars=yes,left=0,top=0");
			resizeme(width,height);
		}

