// Event Calendar
// copyright Stephen Chapman, 10th June 2006, 30th October 2006
var tb = 'b'; // top or bottom (t or b)
var todaybg = ' #ECEDED'; // current selected date background colour
var textclr = '#7B96A0'; // text colour
var linkclr = '#c04242'; // link text colour
var headbg= '#c04242';
var noMessage = ''; // message to display when no entry in array
var nextEvent='Next events from today'
var dateFormat='1'
var dA = new Array(); var x = 0;
// first 8 characters in ccyymmdd format for single date events
// first 8 characters in 0000mmdd format for every year events
//dA[x++] = "00000101 New Year";
//dA[x++] = "20080104 Torunn";
dA[x++] = "20080224 Boston Seafood Show, 24-27/2", dA[x++] = "20080305 North Atlantic Seafood Show (Norway), 4-5/3", dA[x++] = "20080325 Aqua Sur (Chile), 25-29", dA[x++] = "20080422 European Seafood Exposition (Brussels), 22-24/4", dA[x++] = "20080519 WAS 2008 (Korea), 19-23/5", dA[x++] = "20080521 Aquaculture UK 2008, 21-22/5", dA[x++] = "20080530 Re-opening Skretting ARC Fish Trials Station (Norway)", dA[x++] = "20080602 XIII International Symposium (Brasil), 2-5/6", dA[x++] = "20080617 Tunza 2008 (Norway), 17-21/6", dA[x++] = "20080630 Food for future & Bocuse \'Or Europe (Stavanger), 30/6-2/7", dA[x++] = "20080803 Australasian Aquaculture (Australia), 3-6/8", dA[x++] = "20080915 Aquaculture Europe (Polen), 15-18/9", dA[x++] = "20080923 World Food Moscow, 23-26/9", dA[x++] = "20080929 AquaVision (Stavanger, Norway), 29/10-1/10", dA[x++] = "20081019 SIAL (France), 19-23/10", dA[x++] = "20081023 Future Fish Eurasia (Turkey), 23-25/10", dA[x++] = "20081104 China Fisheries & Seafood, 4-6/11", dA[x++] = "20081111 Euro Tier (Germany), 11-14/11", dA[x++] = "20090201 Seafood Summit 2009 (California), 1-3/2", dA[x++] = "20090215 Aquaculture America (Seattle), 15-18/2", dA[x++] = "20090304 North Atlantic Seafood Forum (Norway), 4-5/3", dA[x++] = "20090315 Boston Seafood Show, 15-17/3", dA[x++] = "20090422 International Symposium Scottish Aquaculture, Edinburgh (Scotland), 21-22/4", dA[x++] = "20090427 European Seafood Exposition, Brussel, 27-29/4", dA[x++] = "20090511 Aquaculture CanadaOM 2009, Nanaimo, (10-13/5", dA[x++] = "20090521 Fishtech 09 - international exhibition for aquaculture and fish industry, Milano (Italy), 21-22/5", dA[x++] = "20090525 World Aquaculture 2009 (Mexico), 25-29/5", dA[x++] = "20090610 Global Food Alaska 2009, Soldotna (Alaska), 10-11/6", dA[x++] = "20090818 Aqua Nor (Norway), 17-21/8", dA[x++] = "20090914 14th Conference of European Assoc. of fish Pathologist (Praha), 14-19/9", dA[x++] = "20090915 World Seafood 2009 (Moskow), 15-18/9", dA[x++] = "20090918 AQA Conference (Spain)", dA[x++] = "20090925 World Aquaculture 2009 (Mexico), 25-29/9", dA[x++] = "20091012 3rd Seafood Expo 2009 and Seafood Processing Expo (Dubai), 12-14/10", dA[x++] = "20091103 China Fisheries & Seafood Expo 2009, 3-5/11", dA[x++] = "20091209 Shanghai International Fisheries & Seafood Expo, 9-12/12", dA[x++] = "20100221 12th Fish International - Seafood Exhibition and Marketplace, Bremen, 21-23/2", dA[x++] = "20100222 12th Fish International - Seafood Exhibition and Marketplace, Bremen, 21-23/2", dA[x++] = "20100223 12th Fish International - Seafood Exhibition and Marketplace, Bremen, 21-23/2", dA[x++] = "20100301 World Aquaculture 2010, San Diego, 1-5/3", dA[x++] = "20100302 International Aquaculture Exhibition (Spain), 2-4/3,", dA[x++] = "20100302 World Aquaculture 2010, San Diego, 1-5/3", dA[x++] = "20100303 North Atlantic Seafood Forum, Oslo, 3-4/3", dA[x++] = "20100303 World Aquaculture 2010, San Diego, 1-5/3", dA[x++] = "20100304 North Atlantic Seafood Forum, Oslo, 3-4/3", dA[x++] = "20100304 World Aquaculture 2010, San Diego, 1-5/3", dA[x++] = "20100305 Aqua-Fisch (Germany), 5-7/3", dA[x++] = "20100305 World Aquaculture 2010, San Diego, 1-5/3", dA[x++] = "20100309 2nd European Fish and Seafood Conference, Stavanger, 9-10/3", dA[x++] = "20100309 Oceanology International 2010, London, 9-11/3", dA[x++] = "20100310 2nd European Fish and Seafood Conference, Stavanger, 9-10/3", dA[x++] = "20100310 Oceanology International 2010, London, 9-11/3", dA[x++] = "20100311 Oceanology International 2010, London, 9-11/3", dA[x++] = "20100314 Boston International Seafood Show 2010, Boston, 14-16/3", dA[x++] = "20100314 Seafood Processing America 2010, Boston, 14-16/3", dA[x++] = "20100315 Boston International Seafood Show 2010, Boston, 14-16/3", dA[x++] = "20100315 Seafood Processing America 2010, Boston, 14-16/3", dA[x++] = "20100316 Boston International Seafood Show 2010, Boston, 14-16/3", dA[x++] = "20100316 Seafood Processing America 2010, Boston, 14-16/3", dA[x++] = "20100427 European Seafood Exposition 2010, Brüssel, 27-29/4", dA[x++] = "20100427 Seafood Processing Europe, Brüssel, 27-29/4", dA[x++] = "20100428 European Seafood Exposition 2010, Brüssel, 27-29/4", dA[x++] = "20100428 Seafood Processing Europe, Brüssel, 27-29/4", dA[x++] = "20100429 European Seafood Exposition 2010, Brüssel, 27-29/4", dA[x++] = "20100429 Seafood Processing Europe, Brüssel, 27-29/4", dA[x++] = "20100509 International Sea Lice Conference, Canada, 9-12/5", dA[x++] = "20100510 International Sea Lice Conference, Canada, 9-12/5", dA[x++] = "20100511 International Sea Lice Conference, Canada, 9-12/5", dA[x++] = "20100512 International Sea Lice Conference, Canada, 9-12/5", dA[x++] = "20100519 Aquaculture UK 2010, Aviemore, 19.-20/5", dA[x++] = "20100520 Aquaculture UK 2010, Aviemore, 19.-20/5", dA[x++] = "20100523 Australian Aquaculture, Tasmania, Hobart, 23-26/5", dA[x++] = "20100524 Australian Aquaculture, Tasmania, Hobart, 23-26/5", dA[x++] = "20100525 Australian Aquaculture, Tasmania, Hobart, 23-26/5", dA[x++] = "20100526 Australian Aquaculture, Tasmania, Hobart, 23-26/5", dA[x++] = "20100607 AquaVision, Stavanger, 7-9/6", dA[x++] = "20100608 AquaVision, Stavanger, 7-9/6", dA[x++] = "20100609 AquaVision, Stavanger, 7-9/6", dA[x++] = "20100616 Offshore Mariculture 2010, Dubrovnik", dA[x++] = "20101027 Aqua Sur Exhibition (Chile), 27-30/10", dA[x++] = "20101028 Aqua Sur Exhibition (Chile), 27-30/10", dA[x++] = "20101029 Aqua Sur Exhibition (Chile), 27-30/10", dA[x++] = "20101030 Aqua Sur Exhibition (Chile), 27-30/10"
var dList = new Array(); var y = 0;
dList[y++] = "09.03.2010¤2nd European Fish and Seafood Conference, Stavanger, 9-10/3¤http://www.nofima.no/mat/fagdag/2009/10/2nd-european-fish-and-seafood-conference¤_blank¤20100309", dList[y++] = "09.03.2010¤Oceanology International 2010, London, 9-11/3¤http://www.oceanologyinternational.com/¤_self¤20100309", dList[y++] = "10.03.2010¤2nd European Fish and Seafood Conference, Stavanger, 9-10/3¤http://www.nofima.no/mat/fagdag/2009/10/2nd-european-fish-and-seafood-conference¤_blank¤20100310", dList[y++] = "10.03.2010¤Oceanology International 2010, London, 9-11/3¤http://www.oceanologyinternational.com/¤_blank¤20100310", dList[y++] = "11.03.2010¤Oceanology International 2010, London, 9-11/3¤http://www.oceanologyinternational.com/¤_blank¤20100311", dList[y++] = "14.03.2010¤Boston International Seafood Show 2010, Boston, 14-16/3¤http://www.bostonseafood.com/10/public/Content20782.aspx¤_blank¤20100314", dList[y++] = "14.03.2010¤Seafood Processing America 2010, Boston, 14-16/3¤http://www.bostonseafood.com/10/public/Content20784.aspx¤_blank¤20100314", dList[y++] = "15.03.2010¤Boston International Seafood Show 2010, Boston, 14-16/3¤http://www.bostonseafood.com/10/public/Content20782.aspx¤_blank¤20100315", dList[y++] = "15.03.2010¤Seafood Processing America 2010, Boston, 14-16/3¤http://www.bostonseafood.com/10/public/Content20784.aspx¤_blank¤20100315", dList[y++] = "16.03.2010¤Boston International Seafood Show 2010, Boston, 14-16/3¤http://www.bostonseafood.com/10/public/Content20782.aspx¤_blank¤20100316", dList[y++] = "16.03.2010¤Seafood Processing America 2010, Boston, 14-16/3¤http://www.bostonseafood.com/10/public/Content20784.aspx¤_blank¤20100316", dList[y++] = "27.04.2010¤European Seafood Exposition 2010, Brüssel, 27-29/4¤http://www.euroseafood.com/10/public/enter.aspx¤_blank¤20100427", dList[y++] = "27.04.2010¤Seafood Processing Europe, Brüssel, 27-29/4¤http://www.europrocessing.com/10/public/enter.aspx¤_blank¤20100427", dList[y++] = "28.04.2010¤European Seafood Exposition 2010, Brüssel, 27-29/4¤http://www.euroseafood.com/10/public/enter.aspx¤_blank¤20100428", dList[y++] = "28.04.2010¤Seafood Processing Europe, Brüssel, 27-29/4¤http://www.europrocessing.com/10/public/enter.aspx¤_blank¤20100428", dList[y++] = "29.04.2010¤European Seafood Exposition 2010, Brüssel, 27-29/4¤http://www.euroseafood.com/10/public/enter.aspx¤_blank¤20100429", dList[y++] = "29.04.2010¤Seafood Processing Europe, Brüssel, 27-29/4¤http://www.europrocessing.com/10/public/enter.aspx¤_blank¤20100429", dList[y++] = "09.05.2010¤International Sea Lice Conference, Canada, 9-12/5¤http://www.sealice2010.com/main.php?site=home¤_blank¤20100509", dList[y++] = "10.05.2010¤International Sea Lice Conference, Canada, 9-12/5¤http://www.sealice2010.com/main.php?site=home¤_blank¤20100510", dList[y++] = "11.05.2010¤International Sea Lice Conference, Canada, 9-12/5¤http://www.sealice2010.com/main.php?site=home¤_blank¤20100511", dList[y++] = "12.05.2010¤International Sea Lice Conference, Canada, 9-12/5¤http://www.sealice2010.com/main.php?site=home¤_blank¤20100512", dList[y++] = "19.05.2010¤Aquaculture UK 2010, Aviemore, 19.-20/5¤http://www.aquacultureuk.com/¤_blank¤20100519", dList[y++] = "20.05.2010¤Aquaculture UK 2010, Aviemore, 19.-20/5¤http://www.aquacultureuk.com/¤_blank¤20100520", dList[y++] = "23.05.2010¤Australian Aquaculture, Tasmania, Hobart, 23-26/5¤http://www.australian-aquacultureportal.com/¤_blank¤20100523", dList[y++] = "24.05.2010¤Australian Aquaculture, Tasmania, Hobart, 23-26/5¤http://www.australian-aquacultureportal.com/¤_blank¤20100524", dList[y++] = "25.05.2010¤Australian Aquaculture, Tasmania, Hobart, 23-26/5¤http://www.australian-aquacultureportal.com/¤_blank¤20100525", dList[y++] = "26.05.2010¤Australian Aquaculture, Tasmania, Hobart, 23-26/5¤http://www.australian-aquacultureportal.com/¤_blank¤20100526", dList[y++] = "07.06.2010¤AquaVision, Stavanger, 7-9/6¤http://www.aquavision.org/¤_blank¤20100607", dList[y++] = "08.06.2010¤AquaVision, Stavanger, 7-9/6¤http://www.aquavision.org/¤_blank¤20100608", dList[y++] = "09.06.2010¤AquaVision, Stavanger, 7-9/6¤http://www.aquavision.org/¤_blank¤20100609", dList[y++] = "16.06.2010¤Offshore Mariculture 2010, Dubrovnik¤www.offshoremariculture.com¤_blank¤20100616", dList[y++] = "27.10.2010¤Aqua Sur Exhibition (Chile), 27-30/10¤http://www.aqua-sur.cl/2010/central.php¤_blank¤20101027", dList[y++] = "28.10.2010¤Aqua Sur Exhibition (Chile), 27-30/10¤http://www.aqua-sur.cl/2010/central.php¤_blank¤20101028", dList[y++] = "29.10.2010¤Aqua Sur Exhibition (Chile), 27-30/10¤http://www.aqua-sur.cl/2010/central.php¤_blank¤20101029", dList[y++] = "30.10.2010¤Aqua Sur Exhibition (Chile), 27-30/10¤http://www.aqua-sur.cl/2010/central.php¤_blank¤20101030"
// permission is granted to use this javascript provided that the below code is not altered
var pageLoaded = 0; window.onload = function() {pageLoaded = 1;}
function loaded(i,f) {if (document.getElementById && document.getElementById(i) != null) f(); else if (!pageLoaded) setTimeout('loaded(\''+i+'\','+f+')',100);
}
function monthlength(month,year) {var dd = new Date(year, month, 0);return dd.getDate();}
var moy = ['January','February','March','April','May','June','July','August','September','October','November','December'];var today = new Date();var selDate = today.getFullYear()+getmmdd(today.getMonth()+1,today.getDate());
function dispCal(yy,mm) {if (mm < 0 || mm > 12) {alert('month must be between 1 and 12'); return false;} if (yy != 0 && (yy < 1901 || yy > 2100)) {alert('year must be after 1900 and before 2101'); return false;} var dow = ['Mon','Tue','Wed','Thu','Fri','Sat','Sun']; var calendar = new Date(); var today = calendar.getDate(); calendar.setDate(1); if (yy > 1900) calendar.setFullYear(yy); if (mm > 0) calendar.setMonth(mm - 1); var yy = year = calendar.getFullYear(); var month = calendar.getMonth(); calendar.setDate(today); var weekday = (calendar.getDay() - 1) % 7;; var daysInMonth = monthlength(month+1,year); var hilite_start = '
'; var td_start = ' | '; var cal = '| ' + moy[month] + ' | ' + year + '<\/b> | <\/td><\/tr> | '; for(dex=0; dex < 7; dex++) {cal += td_start + dow[dex] + '';} cal += '<\/tr> '; var day2 = today; for (dex = today; dex > 6; dex -=7) day2 = dex; weekday -= day2 - 1; while (weekday < 0) weekday += 7; for(dex=0; dex < weekday; dex++) cal += td_start + ' <\/td>'; for(dex=1; dex <= daysInMonth; dex++) {if(weekday == 7) {cal += ' '; weekday = 0;} if(selDate==year+getmmdd(month+1,dex)) cal += hilite_start +''+ dex + '<\/span><\/b><\/td>'; else cal += td_start + '' + dex + '<\/span><\/td>'; weekday += 1;} for(dex=weekday; dex < 7; dex++) cal += td_start + ' <\/td>';if (document.getElementById) {var mmb = month; mm = month + 1; var yya = yyb = yy; if (mmb <1) {mmb += 12; yyb--;} var mma = month + 2; if (mma > 12) {mma -= 12; yya++;} var yb = yy -1; var ya = yy +1; cal += ' |  | <\/tr><\/table><\/div>';} else {cal += ' ';} cal += ''; return cal;}
function start() {
var x = '
<\/div>';
var y = '';
if (tb == 't') y = x + dispCal(0,0); else y = dispCal(0,0) + x;
document.getElementById('calendar').innerHTML = y;
ev();
}
loaded('calendar',start);
function clickDate(day, month, year) {
var ct = nextDate(year + getmmdd(month+1,day));
if (ct == '') ct = nextDate('0000' + getmmdd(month+1,day));
if (ct == '') return 'style="color:'+textclr+'"'; else return 'style="text-decoration: underline;cursor:pointer;color:'+linkclr+'" onclick="selDate = '+year+ getmmdd(month+1,day)+'; isDate(' + day + ',' + month + ',' + year + '); return false;"';
}
function isDate(dayVal,monthVal,yearVal) {
var ct = nextDate(yearVal + getmmdd(monthVal+1,dayVal));
var ctlist = nextDateMultipleList(yearVal + getmmdd(monthVal+1,dayVal));
//if (ct == '') ct = nextDate('0000' + getmmdd(monthVal+1,dayVal));
//if (ct == '') ct = noMessage;document.getElementById('calDate').innerHTML =' '+selDate.toString().substr(6,2)+"."+selDate.toString().substr(4,2)+"."+ //selDate.toString().substr(0,4) + ': ' +ct + ' '+nextEvent+'| 09.03.2010 | 2nd European Fish and Seafood Conference, Stavanger, 9-10/3 | |
| 09.03.2010 | Oceanology International 2010, London, 9-11/3 | |
| 10.03.2010 | 2nd European Fish and Seafood Conference, Stavanger, 9-10/3 | |
| 10.03.2010 | Oceanology International 2010, London, 9-11/3 | |
| 11.03.2010 | Oceanology International 2010, London, 9-11/3 | |
| 14.03.2010 | Boston International Seafood Show 2010, Boston, 14-16/3 | |
| 14.03.2010 | Seafood Processing America 2010, Boston, 14-16/3 | |
| 15.03.2010 | Boston International Seafood Show 2010, Boston, 14-16/3 | |
| 15.03.2010 | Seafood Processing America 2010, Boston, 14-16/3 | |
| 16.03.2010 | Boston International Seafood Show 2010, Boston, 14-16/3 | |
| 16.03.2010 | Seafood Processing America 2010, Boston, 14-16/3 | |
| 27.04.2010 | European Seafood Exposition 2010, Brüssel, 27-29/4 | |
| 27.04.2010 | Seafood Processing Europe, Brüssel, 27-29/4 | |
| 28.04.2010 | European Seafood Exposition 2010, Brüssel, 27-29/4 | |
| 28.04.2010 | Seafood Processing Europe, Brüssel, 27-29/4 | |
| 29.04.2010 | European Seafood Exposition 2010, Brüssel, 27-29/4 | |
| 29.04.2010 | Seafood Processing Europe, Brüssel, 27-29/4 | |
| 09.05.2010 | International Sea Lice Conference, Canada, 9-12/5 | |
| 10.05.2010 | International Sea Lice Conference, Canada, 9-12/5 | |
| 11.05.2010 | International Sea Lice Conference, Canada, 9-12/5 | |
| 12.05.2010 | International Sea Lice Conference, Canada, 9-12/5 | |
| 19.05.2010 | Aquaculture UK 2010, Aviemore, 19.-20/5 | |
| 20.05.2010 | Aquaculture UK 2010, Aviemore, 19.-20/5 | |
| 23.05.2010 | Australian Aquaculture, Tasmania, Hobart, 23-26/5 | |
| 24.05.2010 | Australian Aquaculture, Tasmania, Hobart, 23-26/5 | |
| 25.05.2010 | Australian Aquaculture, Tasmania, Hobart, 23-26/5 | |
| 26.05.2010 | Australian Aquaculture, Tasmania, Hobart, 23-26/5 | |
| 07.06.2010 | AquaVision, Stavanger, 7-9/6 | |
| 08.06.2010 | AquaVision, Stavanger, 7-9/6 | |
| 09.06.2010 | AquaVision, Stavanger, 7-9/6 | |
| 16.06.2010 | Offshore Mariculture 2010, Dubrovnik | |
| 27.10.2010 | Aqua Sur Exhibition (Chile), 27-30/10 | |
| 28.10.2010 | Aqua Sur Exhibition (Chile), 27-30/10 | |
| 29.10.2010 | Aqua Sur Exhibition (Chile), 27-30/10 | |
| 30.10.2010 | Aqua Sur Exhibition (Chile), 27-30/10 | |
'
;
if (ctlist == '') ct = nextDateMultipleList('0000' + getmmdd(monthVal+1,dayVal));
if (ctlist == '') ct = noMessage;document.getElementById('calDate').innerHTML =' '+ctlist+ ' '+nextEvent+'| 10.03.2010 | 2nd European Fish and Seafood Conference, Stavanger, 9-10/3 | |
| 10.03.2010 | Oceanology International 2010, London, 9-11/3 | |
| 11.03.2010 | Oceanology International 2010, London, 9-11/3 | |
| 14.03.2010 | Boston International Seafood Show 2010, Boston, 14-16/3 | |
| 14.03.2010 | Seafood Processing America 2010, Boston, 14-16/3 | |
| 15.03.2010 | Boston International Seafood Show 2010, Boston, 14-16/3 | |
| 15.03.2010 | Seafood Processing America 2010, Boston, 14-16/3 | |
| 16.03.2010 | Boston International Seafood Show 2010, Boston, 14-16/3 | |
| 16.03.2010 | Seafood Processing America 2010, Boston, 14-16/3 | |
| 27.04.2010 | European Seafood Exposition 2010, Brüssel, 27-29/4 | |
| 27.04.2010 | Seafood Processing Europe, Brüssel, 27-29/4 | |
| 28.04.2010 | European Seafood Exposition 2010, Brüssel, 27-29/4 | |
| 28.04.2010 | Seafood Processing Europe, Brüssel, 27-29/4 | |
| 29.04.2010 | European Seafood Exposition 2010, Brüssel, 27-29/4 | |
| 29.04.2010 | Seafood Processing Europe, Brüssel, 27-29/4 | |
| 09.05.2010 | International Sea Lice Conference, Canada, 9-12/5 | |
| 10.05.2010 | International Sea Lice Conference, Canada, 9-12/5 | |
| 11.05.2010 | International Sea Lice Conference, Canada, 9-12/5 | |
| 12.05.2010 | International Sea Lice Conference, Canada, 9-12/5 | |
| 19.05.2010 | Aquaculture UK 2010, Aviemore, 19.-20/5 | |
| 20.05.2010 | Aquaculture UK 2010, Aviemore, 19.-20/5 | |
| 23.05.2010 | Australian Aquaculture, Tasmania, Hobart, 23-26/5 | |
| 24.05.2010 | Australian Aquaculture, Tasmania, Hobart, 23-26/5 | |
| 25.05.2010 | Australian Aquaculture, Tasmania, Hobart, 23-26/5 | |
| 26.05.2010 | Australian Aquaculture, Tasmania, Hobart, 23-26/5 | |
| 07.06.2010 | AquaVision, Stavanger, 7-9/6 | |
| 08.06.2010 | AquaVision, Stavanger, 7-9/6 | |
| 09.06.2010 | AquaVision, Stavanger, 7-9/6 | |
| 16.06.2010 | Offshore Mariculture 2010, Dubrovnik | |
| 27.10.2010 | Aqua Sur Exhibition (Chile), 27-30/10 | |
| 28.10.2010 | Aqua Sur Exhibition (Chile), 27-30/10 | |
| 29.10.2010 | Aqua Sur Exhibition (Chile), 27-30/10 | |
| 30.10.2010 | Aqua Sur Exhibition (Chile), 27-30/10 | |
';
return false;}
function nextDate(yymmdd) {
var x = dA.length;
var output = '';
//output = output + " ";
for (var i = 0; i < x; i++) {
if (dA[i].substr(0,8) == yymmdd) {
output = output + dA[i].substr(8) + " ";
}
}
//output = output + " ";
return output;
}
function nextDateMultipleList(yymmdd) {
var x = dA.length;
var y = dList.length;
var output = '';
var check = false;
output = output + " ";
for (var t = 0; t < y; t++) {
if (dList[t] != '') {
//get current string
var currentString =dList[t];
var stringArray = currentString.split('¤');
var date = stringArray [4];
if(date == yymmdd && stringArray != null) {
var realdate = stringArray[0];
var title = stringArray[1];
var URL = stringArray[2];
var target = stringArray[3];
if(dateFormat == 2) {
var tempdate = new Array;
tempdate = realdate.split('.');
var dateFormatted = '';
dateFormatted = tempdate[1]+'/'+tempdate[0]+'/'+tempdate[2];
}
if(URL == '' || URL == null) {
//change date format
if(dateFormat == 2) {
output = output + "| " + dateFormatted+ " | "+title+" | ";
}
else {
output = output + "| " + realdate + " | "+title+" | ";
}
} else {
//change date format
if(dateFormat == 2) {
output = output + "| " + dateFormatted+ " | "+title+" | ";;
}
else {
output = output + "| " + realdate+ " | "+title+" | ";
}
}
check = "true";
}
}
}
output = output + " ";
return output;
}
function getmmdd(mm,dd) {return (mm > 9 ? '' + mm : '0' + mm) + (dd > 9 ? dd : '0' + dd);
}
function ev() {var ct = nextDate(selDate);var ct = nextDate(selDate);if (ct == '') ct = nextDate('0000' + selDate.substr(4));if (ct == '') ct = noMessage; document.getElementById('calDate').innerHTML =' '+ct+' ';
}
|