function tocomma(S) {
var S1,S2,re;
S1="~C~";
S2=",";
re=new RegExp(S1,"g");
S=S.replace(re,S2);
return S;
}
var flpickarr=new Array();
function fldailyactivitiesstr() {
var z,x,x2,L,L2,S,NC,NR,atcol,W1,URL,IMG,S1,S2,THEMESHTM,THEMESIMG,THEMESS1,THEMESS2;
THEMESHTM=new Array("dolch_sight_words.htm","English_themes_Bank.htm","English_themes_Jobs.htm","English_themes_Fruit.htm","English_themes_Money.htm","English_themes_Circus.htm"
,"English_themes_People.htm","English_themes_Shapes.htm","English_themes_Sports.htm","English_themes_Airport.htm","English_themes_Animals.htm"
,"English_themes_Clothes.htm","English_themes_Cooking.htm","English_themes_Emotions.htm","English_themes_Holidays.htm","English_themes_Shopping.htm"
,"English_themes_Community.htm","English_themes_BodyParts.htm","English_themes_Restaurant.htm","English_themes_Vegetables.htm","English_themes_AtThePark.htm"
,"English_themes_ColorWords.htm","English_themes_Instruments.htm","English_themes_PostOffice.htm","English_themes_Supermarket.htm","English_themes_ActionWords.htm"
,"English_themes_InTheHouse.htm","English_themes_UtilityRoom.htm","English_themes_TrafficSigns.htm","English_themes_WeatherWords.htm","English_themes_CalendarWords.htm"
,"English_themes_FamilyMembers.htm","English_themes_Transportation.htm","English_themes_DoctorsOffice.htm","English_themes_KitchenObjects.htm","English_themes_BathroomObjects.htm"
,"English_themes_TimeAndSeasons.htm","English_themes_ClassroomObjects.htm","English_themes_DescribingThings.htm","English_themes_SubjectsAtSchool.htm","English_themes_DiningRoomObjects.htm"
,"English_themes_EverydayActivities.htm","English_themes_HouseholdAppliances.htm");
THEMESIMG=new Array("sightwordstheme1.gif","flangthemes_bank2.jpg","flangthemes_jobs2.jpg","flangthemes_fruit2.jpg","flangthemes_money2.jpg","flangthemes_circus2.jpg"
,"flangthemes_people2.jpg","flangthemes_shapes2.jpg","flangthemes_sports2.jpg","flangthemes_airport2.jpg","flangthemes_animals2.jpg"
,"flangthemes_clothes2.jpg","flangthemes_cooking2.jpg","flangthemes_emotions2.jpg","flangthemes_holidays2.jpg","flangthemes_shopping2.jpg"
,"flangthemes_community2.jpg","flangthemes_bodyparts2.jpg","flangthemes_restaurant2.jpg","flangthemes_vegetables2.jpg","flangthemes_atthepark2.jpg"
,"flangthemes_colorwords2.jpg","flangthemes_instruments2.jpg","flangthemes_postoffice2.jpg","flangthemes_supermarket2.jpg","flangthemes_actionwords2.jpg"
,"flangthemes_inthehouse2.jpg","flangthemes_utilityroom2.jpg","flangthemes_trafficsigns2.jpg","flangthemes_weatherwords2.jpg","flangthemes_calendarwords2.jpg"
,"flangthemes_familymembers2.jpg","flangthemes_transportation2.jpg","flangthemes_doctorsoffice2.jpg","flangthemes_kitchenobjects2.jpg","flangthemes_bathroomobjects2.jpg"
,"flangthemes_timeandseasons2.jpg","flangthemes_classroomobjects2.jpg","flangthemes_describingthings2.jpg","flangthemes_subjectsatschool2.jpg","flangthemes_diningroomobjects2.jpg"
,"flangthemes_everydayactivities2.jpg","flangthemes_householdappliances2.jpg");
THEMESS1=new Array("Sight Words","Bank","Jobs","Fruit","Money","Circus"
,"People","Shapes","Sports","Airport","Animals"
,"Clothes","Cooking","Emotions","Holidays","Shopping"
,"Community","Body Parts","Restaurant","Vegetables","At The Park"
,"Color Words","Instruments","Post Office","Supermarket","Action Words"
,"In The House","Utility Room","Traffic Signs","Weather Words","Calendar Words"
,"Family Members","Transportation","Doctor's Office","Kitchen Objects","Bathroom Objects"
,"Time And Seasons","Classroom Objects","Describing Things","Subjects At School","Dining Room Objects"
,"Everyday Activities","Household Appliances");
THEMESS2=new Array("","","","","",""
,"","","","",""
,"","","","",""
,"","","","",""
,"","","","",""
,"","","","",""
,"","","","",""
,"","","","",""
,"","");
for (x=0;x<=42;x++) {
if (x>999) { return; }
flpickarr[x]=x;
}


NC=4;
NR=2;
L=(NC*NR)-1;
atcol=0;
W1="25%";
S="<TABLE width=100% border=1 cellpadding=0 cellspacing=0><TR valign=middle align=center>";
for (x=0;x<=L;x++) {
atcol++;
if (atcol>NC) {
S=S+"</TR><TR valign=middle align=center>";
atcol=1;
}
L2=flpickarr.length;
if (L2>0) {
z=Math.floor(Math.random()*(L2));
if ((z>=0)&&(z<L2)) {
} else {
z=0;
}
x2=flpickarr[z];
flpickarr.splice(z,1);

URL="http://www.edhelper.com/"+THEMESHTM[x2];
IMG="http://www.edhelperclipart.com/clipart/"+THEMESIMG[x2];
S1=THEMESS1[x2];
S2=THEMESS2[x2];

S=S+
"<TD width=\""+W1+"\"><BR>"+
"<TABLE>"+
"<TR valign=middle height=105><TD align=center><a href=\""+URL+"\"><img src=\""+IMG+"\" border=0></a></TD></TR>"+
"<TR valign=top><TD align=center><span class=\"engenglink\"><a href=\""+URL+"\">"+S1+"</a></span><BR>";
if (S2.length>0) {
S=S+"<span class=\"engfllink\"><a href=\""+URL+"\">"+S2+"</a></span><BR>";
}
S=S+"</TD></TR></TABLE><BR></TD>";
}
}
S=S+"</TR></TABLE>";

return S;
}
