open function >> openurl funtion