 		}
 		
 		var children:Array = swfBridgeGroup.getChildBridges();
-		for (var i:int = 0; i < children.length; i++)
+		for (i = 0; i < children.length; i++)
 		{
 			if (children[i] != skip)
 			{


		var eObj:Object = Object(event);

		if (eObj.data && rawChildren.contains(eObj.data as DisplayObject))
		{
			event.preventDefault();
		}
	}
	
	/**
	 * Can this form be activated. The current test is if the given pop up 
	 * is visible and is enabled. 
	 *
	 * If the can be activated event.preventDefault is called,
	 * otherwise nothing is done. 
	 */
	private function canActivateHandler(event:Event):void
	{

			return;
		}
					
        if (popUpChildren.contains(popUpRequest.data.window))
            popUpChildren.removeChild(popUpRequest.data.window);
        else
            removeChild(DisplayObject(popUpRequest.data.window));
        
        if (popUpRequest.data.modal)    
			numModalWindows--;

		removeRemotePopUp(new RemotePopUp(popUpRequest.data.window, popUpRequest.requestor));
		
		if (!isTopLevelRoot() && swfBridgeGroup)
		{
			// if we got here we know the parent is untrusted, so remove placeholders
			var request:SWFBridgeRequest = new SWFBridgeRequest(SWFBridgeRequest.REMOVE_POP_UP_PLACE_HOLDER_REQUEST, false, false,
														null);
			request.requestor = swfBridgeGroup.parentBridge;
			request.data.placeHolderId = NameUtil.displayObjectToString(popUpRequest.data.window);
			dispatchEvent(request);
		}
		            
