function ExecuteScript(strId)

{

  switch (strId)

  {

      case "6KgeBYJxPAM":

        Script1();

        break;

  }

}



window.InitExecuteScripts = function()

{

var player = GetPlayer();

var object = player.object;

var addToTimeline = player.addToTimeline;

var setVar = player.SetVar;

var getVar = player.GetVar;

window.Script1 = function()

{

  var myWindow = window.open("","Εκτύπωση","width=810,height=900,scrollbars=1,resizable=1");

var player=GetPlayer();

var epaggelma=player.GetVar("TextEntry15");



var dexiotites1=player.GetVar("TextEntry11");

var dexiotites2=player.GetVar("TextEntry14");

var dexiotites3=player.GetVar("TextEntry13");

var dexiotites4=player.GetVar("TextEntry12");

var dexiotites5=player.GetVar("TextEntry16");



var morfosi1=player.GetVar("TextEntry17");

var morfosi2=player.GetVar("TextEntry20");

var morfosi3=player.GetVar("TextEntry19");

var morfosi4=player.GetVar("TextEntry18");



var prosfora=player.GetVar("TextEntry21");





var currentDate = new Date();

var day = currentDate.getDate();

var month = currentDate.getMonth() + 1;

var year = currentDate.getFullYear();

var DisplayDate = day + "/" + month + "/" +year;



var contents = "<html><head></head><body style='width:650px;padding:20px;'>";

contents+="<div style='height:20px;padding:10px;margin-bottom:20px;text-align:center;'><button onclick='javascript:window.print();'>Εκτύπωση</button></div>";

contents+="<div style='font-size:18px;font-weight:bold;margin-top:10px;'>Επαγγελματική Κάρτα</div>";

contents+="<div style='font-size:18px;font-weight:bold;margin-top:10px;'>Ημερομηνία: "+DisplayDate+"</div>";

contents+="<div style='font-size:18px;font-weight:bold;margin-top:10px;'>Επάγγελμα: "+epaggelma+"</div>";

contents+="<div style='font-size:17px;margin-top:5px;'><hr /></div>";

contents+="<div style='font-size:17px;font-weight:bold;margin-top:5px;'>Δεξιότητες/Ικανότητες</div>";

contents+="<div style='font-size:17px;margin-top:5px;'><ul><li>" + dexiotites1 +"</li>";

contents+="<li>" + dexiotites2 +"</li>";

contents+="<li>" + dexiotites3 +"</li>";

contents+="<li>" + dexiotites4 +"</li>";

contents+="<li>" + dexiotites5 +"</li></ul></div>";

contents+="<div style='font-size:17px;font-weight:bold;margin-top:5px;'>Mόρφωση</div>";

contents+="<div style='font-size:17px;margin-top:5px;'><ul><li>" + morfosi1 +"</li>";

contents+="<li>" + morfosi2 +"</li>";

contents+="<li>" + morfosi3 +"</li>";

contents+="<li>" + morfosi4 +"</li></ul></div>";



contents+="<div style='font-size:17px;font-weight:bold;margin-top:5px;'>Η προσφορά του στην κοινότητα</div>";

contents+="<div style='font-size:17px;margin-top:5px;'>" + prosfora +"</div>";





contents+= "</body></html>";

myWindow.document.write(contents);

}



};

