﻿function getH() {
    var myWidth = 0, myHeight = 0;
    if( typeof( window.innerWidth ) == 'number' ) {
        //Non-IE
        myWidth = window.innerWidth;
        myHeight = window.innerHeight;
    } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
        //IE 6+ in 'standards compliant mode'
        myWidth = document.documentElement.clientWidth;
        myHeight = document.documentElement.clientHeight;
    } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
        //IE 4 compatible
        myWidth = document.body.clientWidth;
        myHeight = document.body.clientHeight;
    }
    return myHeight;
}
var scl = getH()  < 750 ? 'showall' : 'noscale';
var flashvars = {};
var params = {};
params.play = "true";
params.loop = "true";
params.menu = "true";
params.quality = "high";
params.scale = scl;
params.salign = "t";
// params.wmode = "transparent"; //"window"
// params.bgcolor = "#f3efe1";
params.devicefont = "true";
params.allowfullscreen = "true";
params.allowscriptaccess = "always";
var attributes = {};
attributes.id = "verusContent";
attributes.name = "Verus";
attributes.align = "middle";
swfobject.embedSWF("Verus.swf", "flashContainer", "100%", "100%", "8.0.0", false, flashvars, params, attributes);
function klub(lang) {
    alert("V izdelavi\nUnder construction");
    //$find("ModalPopupExtender1").show();
    /*wnd = window.open("/VKlub.aspx?lang=" + lang,"VerusVKlub",null,true);
    wnd.resizeTo(425,630);*/
}
