/*
function tick() {
var date = new Date("May 31, 2007 00:00:00");
var description = " ITF World Championship – Québec 2007";
var now = new Date();
var diff = date.getTime() - now.getTime();
var days = Math.floor(diff / (1000 * 60 * 60 * 24));
var hours = Math.floor((diff - (days * 1000 * 60 * 60 * 24)) / (1000 * 60 * 60));  
var mins = Math.floor((diff - ((days * 24 + hours) * (1000 * 60 * 60))) / (1000 * 60));
var seg = Math.floor((diff - ((days * 1440 + hours *60 + mins) * (60000))) / (1000));
if (days < 10) {
days = "0"+days+" days ";
} else {
days = days+" days ";
}
if (hours < 10) {
hours = "0"+hours+":";
} else {
hours = hours+":";
}
if (mins < 10) {
mins = "0"+mins+":";
} else {
mins = mins+":";
}
if (seg < 10) {
seg = "0"+seg;
} else {
seg = seg;
}
timeString = days + hours + mins + seg + " Left ";
Clock.innerHTML = timeString;
window.setTimeout("tick();", 100);
}
window.onload = tick;
*/

function rightPanels() {
dw('<table summary="" width="140" cellspacing="0" cellpadding="0" style="margin-top:0px; margin-bottom:2px; text-align:center; border-width:1px; border-color:#d7dde3; border-style:solid;" border="1">');
dw('<tr><td valign="top" style="vertical-align:top; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:10px; font-weight:bold; background-image:url(../images/bopanbg.jpg); padding:0; margin:0em; text-align:center; border-width:0px; border-color:#c3ccd5; border-style:solid;">');
dw('<table summary="" cellpadding="0" cellspacing="0" width="100%" border="0" style="margin-bottom:2px;">');
dw('<tr><td valign="top" align="center" style="height:24px; background-color:#2d466e; color:white; text-align:center; border-width:0px; border-color:#c3ccd5; border-style:solid; font-size:10px; font-family:Verdana; padding-top:4px; padding-bottom:4px;"><b>Other Languages</b></td></tr>');
dw('<tr><td align="center" style="font-size:10px; padding:2px; padding-bottom:0px; padding-top:3px; font-weight:normal;">');
//dw('<a class="nob" href="../ver_esp/'+dziel+'""><img src="../images/langES.jpg" width="46" height="26" border="0" alt="Versi&oacute;n espa&ntilde;ola" /></a> <a class="nob" href="../ver_fran/'+dziel+'""><img src="../images/langFR.jpg" width="46" height="26" border="0" alt="Version francoise" /></a>');

dw('<a class="nob" href="../ver_esp/'+dziel+'""><img src="../images/ESP-lang110.png" width="110" height="25" border="0" alt="Versi&oacute;n espa&ntilde;ola" onmouseover="this.src=\'../images/ESP-lang110In.png\'" onmouseout="this.src=\'../images/ESP-lang110.png\'"/></a>');

dw('</td></tr></table>');
dw('</td></tr></table>');




/*

*/

/*
newsStart("","President's Message for August 2009<br />Some Reflections on Improving Our ITF Schools","August 19th, 2009","This message is addressed especially to those of you who own ITF Taekwon-Do schools, although I hope others will find it of interest as well, particularly our Black Belt holders. It is summer in the northern hemisphere, and in summer time we generally have more time to think and plan, so I thought this would be a good time of the year to write about ways of improving Taekwon-Do schools. ","<br /><img src=\"../images/GMTTQ-0809m.jpg\" width=\"80\" height=\"120\" alt=\"Some Reflections on Improving Our ITF Schools\" border=\"1\" />","ITFA18082009.html","Read more...");
*/
/*rPanelPM("President's Messages",
"../images/GMTrajtenberg-ActPres_m.jpg",
"ITFA18082009.html",
"<a href=\"ITFA120320103.html\" target=\"_self\">Message from the Acting President, March 2010</a>",
"80",
"120",
"1",
"President Pablo Trajtenberg",
"_self",// target page
"archive_presmess.html",
"Archive by date",
"archive_presmessPDF.html",
"Archive by subject");
*/

/* rPanel("President's Messages",
"../images/GMTrajtenberg-ActPres_m.jpg",
"ITFA120320103.html",
"<a href=\"ITFA120320103.html\" target=\"_self\">Message from the Acting President, March 2010</a>",
"80",
"120",
"1",
"President GM Pablo Trajtenberg",
"",
"",
""); 
*/

dw('<a class="nob" href=\"http://www.itfhq.com/main\" target="ITFonline"><img style="margin-top:12px; margin-bottom:14px;" src="../images/ITFonline.jpg" width="140" height="24" alt="" /></a>');

rPanel("President's Messages",
"../images/GMTrajtenberg-ActPres_m.jpg",
"ITFA01032011.html",
"<a href=\"ITFA28092011.html\" target=\"_self\">Message from the President,<br /><b>October 2011</b></a>",
"110",
"165",
"1",
"President GM Pablo Trajtenberg",
"",
"archive_acting-presmess.html",
"Previous Messages",
"",
"",
"",
"");

rPanel("GM Trân Triêu Quân",
"../images/GMTranTrieuQuan_m.jpg",
"GMTTQ-w-u-f.html",
"<div style=\"text-align:center;\">1952-2010<br /><a href=\"GMTTQ-w-u-f.html\">With us forever</a></div>",
"110",
"165",
"1",
"GM Trân Triêu Quân",
"_self",// target page
"",
"");

/*
rPanel("GM Trân Triêu Quân",
"../images/GMTranTieuQuan_m.jpg",
"",
"<div style=\"text-align:center;\">1952-2010<br /><a href=\"\">With us forever</a></div>",
"80",
"120",
"1",
"Grand Master Trân Triêu Quân",
"",
"",
"");

rPanelPM("Calendar 2009",
"../images/calendarITF09-eng_m.jpg",
"ITFA25112008.html",
"ITF Calendar <b>2009</b>",
"120",
"226",
"1",
"ITF Calendar <b>2009</b>",
"_self",// target page
"../images/calendar-english.eps",
"Print version (EPS)",
"../images/calendar-english_8.5x14_.eps",
"Print version 8.5 x14");
*/

dw('<a class="nob" href="http://www.itfworldcup2012.com/" target="itfWC"><img style="margin-top:2px; margin-bottom:2px; border-width:1px; border-color:silver; border-style:solid;"  src="../images/WC2012_m.jpg" width="136" height="56" alt="" /></a>')

/*
rPanelKidKicks("Tournament &amp; Umpire Committee News",
"../images/ITF-plaque_m3.gif",
"TUC.html",
"110",
"106",
"0",
"",
"_self"); 
*/
function rPanelKidKicks(tit,ima,li,wi,he,bo,al,tar) {
dw('<table summary="" width="100%" cellspacing="0" cellpadding="0" style="margin-top:0px; margin-bottom:2px; text-align:center; border-width:1px; border-color:#d7dde3; border-style:solid;"');
dw('<tr><td valign="top" style="vertical-align:top; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:10px; font-weight:bold; background-image:url(../images/bopanbg.jpg); padding:0; margin:0em; text-align:center; border-width:0px; border-color:#c3ccd5; border-style:solid;">');
dw('<table summary="" cellpadding="0" cellspacing="0" width="100%" border="0" style="margin-bottom:5px;">');
if ( tit != "" ) {
dw('<tr><td valign="top" align="center" style="background-color:#2d466e; color:white; text-align:center; border-width:0px; border-color:#c3ccd5; border-style:solid; font-size:10px; font-family:Arial; padding-top:3px; padding-bottom:4px;"><b>'+tit+'<\/b><\/td><\/tr>')
}
dw('<tr><td align="center" style="font-size:10px; padding:4px; padding-bottom:0px; padding-top:2px; padding-left:6px; font-weight:normal;">');
if ( ima != "") {
//dw('<div style="text-align:center; margin-bottom:3px;">');
dw('<a class="nob" href="'+li+'" target="'+tar+'"><img src="'+ima+'" width="'+wi+'" height="'+he+'" border="'+bo+'" alt="'+al+'" /><\/a>')
//dw('<\/div>')
}
if ( li == "") {
dw("link ABSENT!")
}
dw('<\/td><\/tr><\/table>');
dw('<\/td><\/tr><\/table>');
}

rPanelKidKicks("Kid Kicks",
"../images/KidKicks-graph_m.jpg",
"KidKicks_issues_list.html",
"110",
"152",
"0",
"Kid Kicks",
"_self");   // target page

//dw('<img src="../images/wacs-eng.png" width="139" height="131" alt="" border="0" />')

rPanel("ITF TKD Kids<br />  DevelopmentProgram",
"../images/wacs-eng.png",
"TKDKDP.html",
//"&nbsp; &nbsp; &nbsp; &nbsp; Coming soon",
"",
"128",
"121",
"0",
"",
"",
"TKDKDP.html",
"");

/*
eventList("IIC in Hertfordshire, England","IIC-Hartfordshire-poster_m.jpg","120","180","1","Open Dutch 2012","27-29th January, 2012 ","Place","Hertfordshire, England","Organizer","England Taekwon-Do Association","Information","<a href=\"mailto:Julie.Fagg@gmx.com\">Jule.Fagg@gmx.com</a>","Download","<a href=\"../docs/IICEngland2012/ENGLAND TAEKWON.doc\">Official Invitation and Information</a> (<i>MS doc, 161 kB</i>)<br /><a href=\"../docs/IICEngland2012/Copy of IIC Hotel Accomodation Form.xls\">Hotel Accomodation Form</a> (<i>MS xls, 164 kB</i>)<br /><a href=\"../docs/IICEngland2012/England International Instructors Course.xls\">IIC Participation Form</a> (<i>MS xls, 42 kB</i>)<br /><a href=\"../docs/IICEngland2012/IIC Poster.jpg\">IIC poster</a> (<i>jpg, 361 kB</i>)");
*/

rPanel("Upcoming Events",
"../images/IIC-Hartfordshire-poster_m.jpg",
"calendar.html",
"<div style=\"font-size:9px; margin-bottom:3px;\">IIC in Hertfordshire<br />27-29th January, 2012",
"120",
"170",
"1",
"IIC in Hertfordshire",
"IIC in Hertfordshire",
"calendar.html",
"Upcoming Events");

/*rPanel("1st ITF Convention",
"../images/ITF-CONVENTION-2011_zm.jpg",
"calendar.html",
"<div style=\"font-size:9px; margin-bottom:3px;\">Hotel Bali, Benidorm, Spain<br />6-12 September 2011",
"120",
"237",
"1",
"1st ITF Convention",
"1st ITF Convention",
"calendar.html#conv1",
"Upcoming Events");*/

rPanel("ITF Magazine",
"../images/tkd-magazine120.png",
"tkdmagazine.html",
"<div style=\"font-size:9px; margin-bottom:3px;\"><a href=\"tkdmagazine.html\">Taekwon-Do Generation</a>",
"120",
"113",
"0",
"Taekwon-Do Magazine",
"_self",
"tkdmagazine.html",
"");

/* rPanel("4th World Cup",
"../images/wc-las-vegas_m2.jpg",
"http://www.itfwclasvegas2010.org",
"<div style=\"font-size:9px; margin-bottom:3px;\"><a href=\"http://www.itfwclasvegas2010.org\" target=\"WC107\">Visit the Official Website</a>",
"100",
"151",
"1",
"4th ITF World Cup in Las Vegas",
"wc10",// target page
"http://www.itfwclasvegas2010.org",
"");

rPanel("European Open Cup",
"../images/european-open-cup-logo_m.jpg",
"http://www.euopencup.sk/",
"<div style=\"font-size:9px; margin-bottom:3px; text-align:center;\"><a href=\"http://www.euopencup.sk/\" target=\"oec\">Official website</a>",
"100",
"71",
"1",
"Official website",
"Official website",// target page
"http://www.euopencup.sk/",
"");
*/
/*
rPanel("",
"../images/WChProd.jpg",
"http://www.itfwcquebec2007.com/public/anglais/products.php",
"<div style=\"font-size:9px; margin-bottom:3px;\"><a href=\"http://www.itfwcquebec2007.com/public/anglais/products.php\" target=\"WC07\">Visit the store!</a>",
"121",
"100",
"1",
"World Champs 2007",
"wc07",// target page
"http://www.itfwcquebec2007.com/public/anglais/products.php",
"");
*/
rPanel("Affiliated Organisations<br />&amp; Members",
"",
"",
"<a style=\"line-height:15px;\" href=\"ngb_africa.html\" >Africa</a><br /><a style=\"line-height:15px;\" href=\"ngb_asia.html\">Asia</a><br /><a style=\"line-height:15px;\" href=\"ngb_austraoceania.html\">Oceania</a><br /><a style=\"line-height:15px;\" href=\"ngb_europe.html\">Europe</a><br /><a style=\"line-height:15px;\" href=\"ngb_namerica.html\">North America &amp; the Caribbeans</a><br /><a style=\"line-height:15px;\" href=\"ngb_samerica.html\">Central & South America</a><br /><a href=\"aff-memb.html\">C<span style='font-size:9px;'>ontinental</span> F<span style='font-size:9px; line-height:15px;'>ederations</span></a>",
"",
"",
"",
"",
"",
"",
"");
//<hr style=\"margin-top:2px; margin-bottom:4px; height:1px; color:navy;\" noshade=\"noshade\" />

/*
rPanel("ITFWEBNEWS",
"../images/IWN7_m.jpg",
"../pdf/ITFWEBNEWS6.pdf",
"<a href=\"../pdf/ITFWEBNEWS7.pdf\" target=\"ITFWEBNEWS\">Download the Seventh ITFWEBNEWS</a><br /><br /> ("+acr("PDF format")+" <i>531 kB</i>)",
"120",
"143",
"1",
"ITFWEBNEWS No 7",
"ITFWEBNEWS",
"archive_webnews.html",
"ITFWEBNEWS Archive");
*/

//Do You Know?
/*
rPanel("Do You Know?",
"../images/DYN_mm.jpg",
"DYK_q_august06.html",
"<a href=\"DYK_q_august06.html\" target=\"_self\">Read Current<br /><span style=\"font-weight:bold; color:maroon;\">Questions</span> Release</a>",
"100",
"100",
"1",
"Do You Know?",
"_self",// target page
"",
"");
*/

/*
rPanel("The Year of the Family",
"../images/ITF_family_m.jpg",
"ITFA22032007.html", //link obrazka
"<a href=\"ITFA22032007.html\">42nd year of the creation of ITF: The Year of the Family for the ITF",//link tekstu
"107",
"120",
"1",
"ITFA22032007.html",
"_self",// target page
"",
"");
*/

rPanel("ITF Documentary",
"../images/ITF-documentary.jpg",
"ITF-documentary.html",
"&nbsp;",
"121",
"93",
"1",
"ITF documentary",
"ITFdoc",// target page
"ITF-documentary.html",
"See video");
/*
rPanel("",
"../images/galeria-instr_eng.gif",
"http://www.tkd-itf-instructor.org",
"<div style=\"font-size:9px; \">",
"102",
"173",
"0",
"Galeria de instructores",
"gdi",// target page
"",
"");
*/
rPanel("Promotions",
"../images/blackbelts.gif",
"7-9-2010.html",
"<div style=\"font-size:9px; \">",
"109",
"122",
"0",
"Black Belts",
"_self",// target page
"",
"");
/*
rPanel("Members Area",
"",
"",
'<form style="display:inline;" name="ma" method="POST" action="javascript:go_search(gs.inp.value)"><span style="color:gray; float:left; padding-left:5px; margin-left:10px; margin-top:0px;" class="noprint"><input name="inp" id="inp" style="border-width:1px; border-color:silver; width:100px; font-size:10px; line-height:13px; padding-left:2px;" type="text" title="Type your password here" value="Password"></input><br /><input type="submit" class="search" style="margin-top:6px; border-width:1px; border-color:silver; background-color:transparent; width:100px; text-align:center; font-size:10px; " name="go" onclick="go_search(inp.value)" value="Log In" title="Go to the members section"></input></form>',
"",
"",
"",
"",
"",
"",
"");
*/
}


