public void addSubLayer(ArrayList<WanLayer> wLayers){alSublayer.addAll(wLayers);}
public void addSubLayer(WanLayer wLayer){alSublayer.add(wLayer);}
public StringBuffer render() throws WanRenderException
{
if(title==null) {throw new WanRenderException("No Title defined!");}
if(mainLayer==null) {throw new WanRenderException("No MainLayer defined!");}
StringBuffer sb = new StringBuffer();
sb.append("<html>"+ls);
sb.append(ph.getPageHeader(title));