doc.opne() doesnt work in firefox