function Launch(page) {
OpenWin = document.open(page, 'AGModels', "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=760px,height=700px");
}


var message = " © Avant-Garde Models";

function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

var flashinstalled = 0;
var flashversion = 0;
MSDetect = "false";
if (navigator.plugins && navigator.plugins.length)
{
        x = navigator.plugins["Shockwave Flash"];
        if (x)
        {
                flashinstalled = 2;
                if (x.description)
                {
                        y = x.description;
                        flashversion = y.charAt(y.indexOf('.')-1);
                }
        }
        else
                flashinstalled = 1;
        if (navigator.plugins["Shockwave Flash 2.0"])
        {
                flashinstalled = 2;
                flashversion = 2;
        }
}
else if (navigator.mimeTypes && navigator.mimeTypes.length)
{
        x = navigator.mimeTypes['application/x-shockwave-flash'];
        if (x && x.enabledPlugin){
                flashinstalled = 2;
        }else{
                flashinstalled = 1;
                }
}
else{
        MSDetect = "true";
        }

function detect_fl(){

        e = document.getElementById("flash");
        d = document.getElementById("non-flash");

if (flashinstalled == 2)
{
        if (flashversion){
                d.style.display='none';
                e.style.display='block';
                }
}
else{
                e.style.display='none';
                d.style.display='block';
}

}
