/* ================================================================ 
 Java Script for Gala Shows and Models
 =================================================================== */
var message = "Diese Funktion wurde deaktiviert!\n\nContents & Graphics Copyright by Gala Shows & Models OG ";

// Don't edit below!

function click(e){
    if (document.all) {
        if (event.button == 2) {
            alert(message);
            return false;
        }
    }
    if (document.layers) {
        if (e.which == 3) {
            alert(message);
            return false;
        }
    }
}

if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown = click;

/* ================================================================ 
 Java Script for Gala Shows and Models
 
 Models View oeffnen
 =================================================================== */


function popoup(test){
    auf = window.open(test, 'Fenster', 'Width=650,Height=600,top=40,left=40,scrollbars=1,resizable=1');
}


/* ================================================================ 
 Java Script for Gala Shows and Models
 
 Models View oeffnen
 =================================================================== */


function popoupvideo(test){
    auf = window.open(test, 'VIDEO', 'resizable=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,fullscreen=no,dependent=no,width=480,height=360');
}

/* ================================================================ 
 Java Script for Gala Shows and Models
 
 Change Image bw to color
 =================================================================== */

function mouseOverImage(img_name,img_src)
    {
        document.getElementById(img_name).src = img_src;
    }
  
/* ================================================================ 
 Java Script for Gala Shows and Models
  
   Play Sound
   <span id="dummy"><embed src="zbluejay.wav" hidden="true" autostart="true" loop="false"></span>
 =================================================================== */
function playSound(soundfile) 
     {
         document.getElementById("dummy").innerHTML= "<embed src=\""+soundfile+"\" hidden=\"true\" autostart=\"true\" loop=\"false\" />";
     }

/* ================================================================
Play Sound Versuch 2

 =================================================================== */

function EvalSound(soundobj) {
	var thissound=document.getElementById(soundobj);
	thissound.Play();
}

