Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
HTML
 <script>
var trainings_schedule = [


"18","11","2015","8:00","2N Access Control Basic","80","Lukas Psota",
"Learn about 2N access system and how it works together with our portfolio of IP intercoms.",

"18","11","2015","14:00","2N IP Intercoms Basic","80","Gary Schaefer",
"Choose the right IP Intercom and know how to set a call routing and a lock control.", 
"18","11","2015","18:00","2N Products Overview","80","Gary Schaefer",
"Introduction with focus on IP Intercoms, IP Audio and Access Control. Get most of 2N in one session.",
"18","11","2015","20:00","2N IP Audio Basic","80","Gary Schaefer",
"Learn how to play different music and make announcements in local and worldwide scales.",

"19","11","2015","8:00","2N Gateways Basic","80","Ondrej Sklenar",
"Know typical scenarios with GSM gateways and choose the right gateway for installation with PBX.",

"19","11","2015","14:00","2N IP Intercoms Advanced","120","Gary Schaefer",
"Manage big installations easily and make interconnections with VMS and other 3rd party devices.",
"19","11","2015","18:00","2N Access Control Basic","80","Gary Schaefer",
"Learn about 2N access system and how it works together with our portfolio of IP intercoms.",
"19","11","2015","20:00","2N IP Audio Advanced","120","Gary Schaefer",
"Discover how to control many audio sources and destinations. Learn more about 3rd party integration.",

"25","11","2015","8:00","2N IP Audio Basic","80","Jaroslav Pipek",
"Learn how to play different music and make announcements in local and worldwide scales.",
"26","11","2015","8:00","2N IP Audio Advanced","120","Jaroslav Pipek",
"Discover how to control many audio sources and destinations. Learn more about 3rd party integration.",

"3","12","2015","14:00","2N IP Audio Basic","80","Gary Schaefer",
"Learn how to play different music and make announcements in local and worldwide scales.",
"3","12","2015","18:00","2N IP Intercoms Basic","80","Gary Schaefer",
"Choose the right IP Intercom and know how to set a call routing and a lock control.", 
"3","12","2015","20:00","2N Products Overview","80","Gary Schaefer",
"Introduction with focus on IP Intercoms, IP Audio and Access Control. Get most of 2N in one session.",

"4","12","2015","14:00","2N IP Audio Advanced","120","Gary Schaefer",
"Discover how to control many audio sources and destinations. Learn more about 3rd party integration.",
"4","12","2015","18:00","2N IP Intercoms Advanced","120","Gary Schaefer",
"Manage big installations easily and make interconnections with VMS and other 3rd party devices.",
"4","12","2015","20:00","2N Access Control Basic","80","Gary Schaefer",
"Learn about 2N access system and how it works together with our portfolio of IP intercoms.",


"9","12","2015","8:00","2N IP Intercoms Basic","80","Jaroslav Pipek",
"Choose the right IP Intercom and know how to set a call routing and a lock control.", 
"10","12","2015","8:00","2N IP Intercoms Advanced","120","Jaroslav Pipek",
"Manage big installations easily and make interconnections with VMS and other 3rd party devices.",

"17","12","2015","14:00","2N Gateways Basic","80","Ondrej Sklenar",
"Know typical scenarios with GSM gateways and choose the right gateway for installation with PBX.",

];

function getParameterByName(name) {
    name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
    var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
    results = regex.exec(location.search);
    return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}

var product_filter = getParameterByName('prod');
var area_filter = getParameterByName('area');



var HIPB_description = [

"The Basic training provides introduction of IP intercoms and basic settings.",

"<li>Advantages of IP Intercoms</li><li>Selection of suitable IP Intercom for different installations</li><li>Licensed features enhancing audio, video, integration and security</li><li>How to set basic calling</li><li>How to set lock control</li>",

"<li>Elementary networking (IP address, LAN, WAN, VoIP, SIP)</li>"

];

var HIPA_description = [

"The Advanced training is focused on advanced IP intercoms functions and settings. After this training you can test your knowledge and get official 2N certificate upon successful completion of online test.",

"<li>Advanced features of IP intercoms</li><li>Accessories and software installation</li><li>Installation in different network infrastructure</li><li>Managing sites with multiple units</li><li>Building access control with entry cards, numeric codes and 3rd party hardware.</li><li>Interconnection with VMS (ONVIF)</li><li>Integration with own and 3rd party software</li>",

"<li>Basic training or experience with 2N® Helios IP usage</li>"

];

var NSPB_description = [

"The Basic training provides introduction of IP audio systems and basic settings.",

"<li>IP Audio systems benefits</li><li>Compatible devices as audio sources and destinations</li><li>Software to control and play music</li><li>How to put system together</li><li>How to play music from any application</li>",

"<li>Elementary networking (IP address, LAN, WAN)</li>"

];

var NSPA_description = [

"The Advanced training is focused on advanced IP audio functions and settings. After this training you can test your knowledge and get official 2N certificate upon successful completion of online test.",

"<li>Event Scheduling</li><li>How to control where is the music played</li><li>How to play playlists and internet radios</li><li>How to connect VoIP calls or NetMic and make announcements</li><li>How to set multicast</li><li>How to troubleshoot</li>",

"<li>Basic training or experience with 2N® NetSpeaker usage</li>"

]; 

var GWSB_description = [

"The Basic training provides introduction of GSM Gateways.",

"<li>Land line replacement scenario</li><li>Cost saving scenario</li><li>SMS gateway scenario</li><li>How to select right gateway</li><li>How to put together modular gateways</li>",

"<li>Elementary IP and telecommunication networks knowledge<br>(IP address, LAN, VoIP, SIP, ISDN, FXS/FXO, GSM/UMTS, SIM).</li>"

];

var ACB_description = [

"The Basic training provides introduction of 2N® Access Unit and 2N® Access Commander.",

"<li>Advantages of Access Control from 2N</li><li>Comparison with traditional acces control systems (technology and price)</li><li>Licensing policy</li><li>How to install and run Access Commander</li><li>How to create access rules for your building</li><li>How does Attendance and Presence work in Access Commander</li>",

"<li>Elementary knowledge of networking<br>(IP address, LAN, WAN, SIP, virtual machine).</li>"

];

var training_URI;

document.write('<table class="bordered"><tr><th>Date</th><th colspan="1">UTC Time</th><th>Training</th><th>Duration</th><th colspan="1">Time in New York</th><th colspan="1">Time in Paris</th><th colspan="1">Time in Tokyo</th></tr>');

var showall = false;

for (i = 0; i < trainings_schedule.length;) { 

switch(trainings_schedule[i+3]) {
case "6:00" : training_hour = 6; phoenix = "1:00 (1AM)"; cape = "7:00 (7AM)"; tokyo = "15:00 (3PM)"; break;
case "7:00" : training_hour = 7; phoenix = "2:00 (2AM)"; cape = "8:00 (8AM)"; tokyo = "16:00 (4PM)"; break;
case "8:00" : training_hour = 8; phoenix = "3:00 (3AM)"; cape = "9:00 (9AM)"; tokyo = "17:00 (5PM)"; break;
case "9:00" : training_hour = 9; phoenix = "4:00 (4AM)"; cape = "10:00 (10AM)"; tokyo = "18:00 (6PM)"; break;
case "10:00" : training_hour = 10; phoenix = "5:00 (5AM)"; cape = "11:00 (11AM)"; tokyo = "19:00 (7PM)"; break;
case "11:00" : training_hour = 11; phoenix = "6:00 (6AM)"; cape = "12:00 (12PM)"; tokyo = "20:00 (8PM)"; break;
case "12:00" : training_hour = 12; phoenix = "7:00 (7AM)"; cape = "13:00 (1PM)"; tokyo = "21:00 (9PM)"; break;
case "13:00" : training_hour = 13; phoenix = "8:00 (8AM)"; cape = "14:00 (2PM)"; tokyo = "22:00 (10PM)"; break;
case "14:00" : training_hour = 14; phoenix = "9:00 (9AM)"; cape = "15:00 (3PM)"; tokyo = "23:00 (11PM)"; break;
case "15:00" : training_hour = 15; phoenix = "10:00 (10AM)"; cape = "16:00 (4PM)"; tokyo = "24:00 (12AM)"; break;
case "16:00" : training_hour = 16; phoenix = "11:00 (11AM)"; cape = "17:00 (5PM)"; tokyo = "1:00 (1AM (,+1d)"; break;
case "17:00" : training_hour = 17; phoenix = "12:00 (12PM)"; cape = "18:00 (6PM)"; tokyo = "2:00 (2AM (,+1d)"; break;
case "18:00" : training_hour = 18; phoenix = "13:00 (1PM)"; cape = "19:00 (7PM)"; tokyo = "3:00 (3AM (,+1d)"; break;
case "19:00" : training_hour = 19; phoenix = "14:00 (2PM)"; cape = "20:00 (8PM)"; tokyo = "4:00 (4AM (,+1d)"; break;
case "20:00" : training_hour = 20; phoenix = "15:00 (3PM)"; cape = "21:00 (9PM)"; tokyo = "5:00 (5AM (,+1d)"; break;
case "21:00" : training_hour = 21; phoenix = "16:00 (4PM)"; cape = "22:00 (10PM)"; tokyo = "6:00 (6AM (,+1d)"; break;
default : training_hour = "WrongTime"; break;
}

var time_friendly;
time_friendly = false;

if(area_filter) {

if((area_filter == "AME") && (parseInt(training_hour) >= 13)) time_friendly = true;
if((area_filter == "EUR") && (parseInt(training_hour) >= 7) && (parseInt(training_hour) <= 15) ) time_friendly = true;
if((area_filter == "ASI") && (parseInt(training_hour) <= 10) ) time_friendly = true;
}

switch (trainings_schedule[i+4]) {

case "2N IP Intercoms Basic":
product = "hip";
break;
case "2N IP Intercoms Advanced":
product = "hip";
break;
case "2N IP Audio Basic":
product = "ipa";
break;
case "2N IP Audio Advanced":
product = "ipa";
break;
case "2N Gateways Basic":
product = "gws";
break;
case "2N Access Control Basic":
product = "ac";
break;
case "2N Products Overview":
product = "ovw";
break;
default:
product = "unknown";
break;
}

if(!product_filter) {
if(!area_filter) showall = true;
}

if (TrainingInFuture(training_hour,trainings_schedule[i],trainings_schedule[i+1],trainings_schedule[i+2]) && ((product_filter == product) || showall || time_friendly)) {

if (trainings_schedule[i+4] == "2N IP Intercoms Basic") document.write('<tr class="basic">');
if (trainings_schedule[i+4] == "2N IP Intercoms Advanced") document.write('<tr class="advanced">');
if (trainings_schedule[i+4] == "2N IP Audio Basic") document.write('<tr class="basic">');
if (trainings_schedule[i+4] == "2N IP Audio Advanced") document.write('<tr class="advanced">');
if (trainings_schedule[i+4] == "2N Gateways Basic") document.write('<tr class="basic">');
if (trainings_schedule[i+4] == "2N Access Control Basic") document.write('<tr class="basic">');
 
document.write("<td>"+trainings_schedule[i]+"."+trainings_schedule[i+1]+"."+trainings_schedule[i+2]+"</td><td>"+trainings_schedule[i+3]+"</td><td>");

 
document.write('<b><a href="https://wiki.2n.cz/display/TRG/Training+Registration+Form?D='+trainings_schedule[i]+'&M='+trainings_schedule[i+1]+'&Y='+trainings_schedule[i+2]+'&time='+trainings_schedule[i+3]+'&trg='+encodeURIComponent(trainings_schedule[i+4])+'&dur='+trainings_schedule[i+5]+'&who='+encodeURIComponent(trainings_schedule[i+6])+'">'+trainings_schedule[i+4]+'</a></b>');


 
document.write("</td><td>"+trainings_schedule[i+5]+" Minutes</td><td>"+phoenix+"</td><td>"+cape+"</td><td>"+tokyo+"</td></tr>");

}

i=i+8;

}
document.write("</table>");

function TrainingInFuture(thour,tday,tmonth,tyear) {
var computer_time = new Date();
var UTC_day = computer_time.getUTCDate();
var UTC_hour = computer_time.getUTCHours();
var UTC_month = computer_time.getUTCMonth()+1;
var UTC_year = computer_time.getUTCFullYear();

if(tyear<UTC_year) return false;
if(tyear>UTC_year) return true;
if(tmonth<UTC_month) return false;
if(tmonth>UTC_month) return true;
if(tday<UTC_day) return false;
if(tday>UTC_day) return true;
if(thour<=UTC_hour) return false;
if(thour>UTC_hour) return true;

return true;

}
</script>
<a name="general"></a>

...