var inputValue;
function changeInputOn(temp){
  inputValue = temp.value; 
  temp.value="";
}

function changeInputOff(temp){
  if(temp.value == ""){
    temp.value = inputValue;
  } 
}

function showBigPhoto(id, photo, title, text){
        
  i
        
  var src = '<img src="upLoad/img/gallery/'+photo+'" alt="" /><b>'+title+'</b><br />'+text;
  document.getElementById("galleryBigPhoto_"+id).innerHTML = src ;
}


      function callExternalInterface(what, movie, title, text) {
        if(what=="movie"){
          var src = '<b>'+title+'</b><br />'+text;
          document.getElementById("galleryBigPhoto_media-o-nas").innerHTML = src ;
          thisMovie("patmos_movie_player").goHome(movie);
        }
        if(what=="music"){
          var src = '<b>'+title+'</b><br />'+text;
          document.getElementById("galleryBigPhoto_music-gallery").innerHTML = src ;
          thisMovie("patmos_music_player").goHome(movie);
        }
      }
      
      function thisMovie(movieName) {
        if (navigator.appName.indexOf("Microsoft") != -1) {
          return window[movieName]
        }
        else {
          return document[movieName]
        }
      }

