function printLayer(lname) {
var txt = document.getElementById(lname).innerHTML;
document.open();
document.write(txt);
document.close();
window.print();
}

