// JavaScript Document

<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->


//files/dafei-ezer/chazura-achas
		//xmlURL:"calendar.xml"
		var flashvars = {xmlURL:"http://www.hilchusadyoma.org/files/dafei-ezer/chazura-achas/calendar.xml"};
		var params = { allowScriptAccess:"always" };
		var attributes = { id:"calendar", name:"calendar" };

		function initflash() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars, params, attributes);
		}
		
		function gotoDay(i) {

			var obj = document.getElementById("calendar");
				if (obj && typeof obj.gotoDay != "undefined") {
					obj.gotoDay(i);
				}			
		}
		
		function gotoToday() {
			var obj = document.getElementById("calendar");
			if (obj && typeof obj.gotoDay != "undefined") {
				obj.gotoToday();
			}
		}
		
		
//files/dafei-ezer/ChazuraShenosyimA/
		var flashvars2 = {xmlURL:"http://www.hilchusadyoma.org/files/dafei-ezer/ChazuraShenosyimA/calendar.xml"};
		var params2 = { allowScriptAccess:"always" };
		var attributes2 = { id:"calendar2", name:"calendar2" };

		function initflash2() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent2", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars2, params2, attributes2);
		}
		
		function gotoDay2(i) {

			var obj = document.getElementById("calendar2");
				if (obj && typeof obj.gotoDay2 != "undefined") {
					obj.gotoDay2(i);
				}			
		}
		
		function gotoToday2() {
			var obj = document.getElementById("calendar2");
			if (obj && typeof obj.gotoDay2 != "undefined") {
				obj.gotoToday2();
			}
		}
		
//files/dafei-ezer/ChazuraShenosyimB/	
		var flashvars3 = {xmlURL:"http://www.hilchusadyoma.org/files/dafei-ezer/ChazuraShenosyimB/calendar.xml"};
		var params3 = { allowScriptAccess:"always" };
		var attributes3 = { id:"calendar3", name:"calendar3" };

		function initflash3() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent3", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars3, params3, attributes3);
		}
		
		function gotoDay3(i) {

			var obj = document.getElementById("calendar3");
				if (obj && typeof obj.gotoDay3 != "undefined") {
					obj.gotoDay3(i);
				}			
		}
		
		function gotoToday3() {
			var obj = document.getElementById("calendar3");
			if (obj && typeof obj.gotoDay3 != "undefined") {
				obj.gotoToday3();
			}
		}
		
		
//files/tziurim/TziurimAchas  -  4	
		var flashvars4 = {xmlURL:"http://www.hilchusadyoma.org/files/tziurim/TziurimAchas/calendar.xml"};
		var params4 = { allowScriptAccess:"always" };
		var attributes4 = { id:"calendar4", name:"calendar4" };

		function initflash4() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent4", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars4, params4, attributes4);
		}
		
		function gotoDay4(i) {

			var obj = document.getElementById("calendar4");
				if (obj && typeof obj.gotoDay4 != "undefined") {
					obj.gotoDay4(i);
				}			
		}
		
		function gotoToday4() {
			var obj = document.getElementById("calendar4");
			if (obj && typeof obj.gotoDay4 != "undefined") {
				obj.gotoToday4();
			}
		}
		
		
//files/tziurim/TziurimShenosyimA - 5	
		var flashvars5 = {xmlURL:"http://www.hilchusadyoma.org/files/tziurim/TziurimShenosyimA/calendar.xml"};
		var params5 = { allowScriptAccess:"always" };
		var attributes5 = { id:"calendar5", name:"calendar5" };

		function initflash5() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent5", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars5, params5, attributes5);
		}
		
		function gotoDay5(i) {

			var obj = document.getElementById("calendar5");
				if (obj && typeof obj.gotoDay5 != "undefined") {
					obj.gotoDay5(i);
				}			
		}
		
		function gotoToday5() {
			var obj = document.getElementById("calendar5");
			if (obj && typeof obj.gotoDay5 != "undefined") {
				obj.gotoToday5();
			}
		}		
		
		
//files/tziurim/TziurimShenosyimB - 6
		var flashvars6 = {xmlURL:"http://www.hilchusadyoma.org/files/tziurim/TziurimShenosyimB/calendar.xml"};
		var params6 = { allowScriptAccess:"always" };
		var attributes6 = { id:"calendar6", name:"calendar6" };

		function initflash6() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent6", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars6, params6, attributes6);
		}
		
		function gotoDay6(i) {

			var obj = document.getElementById("calendar6");
				if (obj && typeof obj.gotoDay6 != "undefined") {
					obj.gotoDay6(i);
				}			
		}
		
		function gotoToday6() {
			var obj = document.getElementById("calendar6");
			if (obj && typeof obj.gotoDay6 != "undefined") {
				obj.gotoToday6();
			}
		}		
//files/sikum/SikumAchas - 7
		var flashvars7 = {xmlURL:"http://www.hilchusadyoma.org/files/sikum/SikumAchas/calendar.xml"};
		var params7 = { allowScriptAccess:"always" };
		var attributes7 = { id:"calendar7", name:"calendar7" };

		function initflash7() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent7", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars7, params7, attributes7);
		}
		
		function gotoDay7(i) {

			var obj = document.getElementById("calendar7");
				if (obj && typeof obj.gotoDay7 != "undefined") {
					obj.gotoDay7(i);
				}			
		}
		
		function gotoToday7() {
			var obj = document.getElementById("calendar7");
			if (obj && typeof obj.gotoDay7 != "undefined") {
				obj.gotoToday7();
			}
		}		
//files/sikum/SikumShenosyimA - 8	
		var flashvars8 = {xmlURL:"http://www.hilchusadyoma.org/files/sikum/SikumShenosyimA/calendar.xml"};
		var params8 = { allowScriptAccess:"always" };
		var attributes8 = { id:"calendar8", name:"calendar8" };

		function initflash8() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent8", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars8, params8, attributes8);
		}
		
		function gotoDay8(i) {

			var obj = document.getElementById("calendar8");
				if (obj && typeof obj.gotoDay8 != "undefined") {
					obj.gotoDay8(i);
				}			
		}
		
		function gotoToday8() {
			var obj = document.getElementById("calendar8");
			if (obj && typeof obj.gotoDay8 != "undefined") {
				obj.gotoToday8();
			}
		}		
//files/sikum/SikumShenosyimB - 9
		var flashvars9 = {xmlURL:"http://www.hilchusadyoma.org/files/sikum/SikumShenosyimB/calendar.xml"};
		var params9 = { allowScriptAccess:"always" };
		var attributes9 = { id:"calendar9", name:"calendar9" };

		function initflash9() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent9", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars9, params9, attributes9);
		}
		
		function gotoDay9(i) {

			var obj = document.getElementById("calendar9");
				if (obj && typeof obj.gotoDay9 != "undefined") {
					obj.gotoDay9(i);
				}			
		}
		
		function gotoToday9() {
			var obj = document.getElementById("calendar9");
			if (obj && typeof obj.gotoDay9 != "undefined") {
				obj.gotoToday9();
			}
		}
		
		
//DailyLimud/DailyLimud/DailyAchas - 10
		var flashvars10 = {xmlURL:"http://www.hilchusadyoma.org/DailyLimud/DailyLimud/DailyAchas/calendar.xml"};
		var params10 = { allowScriptAccess:"always" };
		var attributes10 = { id:"calendar10", name:"calendar10" };

		function initflash10() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent10", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars10, params10, attributes10);
		}
		
		function gotoDay10(i) {

			var obj = document.getElementById("calendar10");
				if (obj && typeof obj.gotoDay10 != "undefined") {
					obj.gotoDay10(i);
				}			
		}
		
		function gotoToday10() {
			var obj = document.getElementById("calendar10");
			if (obj && typeof obj.gotoDay10 != "undefined") {
				obj.gotoToday10();
			}
		}
		
		
//DailyLimud/DailyLimud/DailyShenosyimA - 11
		var flashvars11 = {xmlURL:"http://www.hilchusadyoma.org/DailyLimud/DailyLimud/DailyShenosyimA/calendar.xml"};
		var params11 = { allowScriptAccess:"always" };
		var attributes11 = { id:"calendar11", name:"calendar11" };

		function initflash11() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent11", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars11, params11, attributes11);
		}
		
		function gotoDay11(i) {

			var obj = document.getElementById("calendar11");
				if (obj && typeof obj.gotoDay11 != "undefined") {
					obj.gotoDay11(i);
				}			
		}
		
		function gotoToday11() {
			var obj = document.getElementById("calendar11");
			if (obj && typeof obj.gotoDay11 != "undefined") {
				obj.gotoToday11();
			}
		}
		
		
//DailyLimud/DailyLimud/DailyShenosyimB - 12
		var flashvars12 = {xmlURL:"http://www.hilchusadyoma.org/DailyLimud/DailyLimud/DailyShenosyimB/calendar.xml"};
		var params12 = { allowScriptAccess:"always" };
		var attributes12 = { id:"calendar12", name:"calendar12" };

		function initflash12() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent12", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars12, params12, attributes12);
		}
		
		function gotoDay12(i) {

			var obj = document.getElementById("calendar12");
				if (obj && typeof obj.gotoDay12 != "undefined") {
					obj.gotoDay12(i);
				}			
		}
		
		function gotoToday12() {
			var obj = document.getElementById("calendar12");
			if (obj && typeof obj.gotoDay12 != "undefined") {
				obj.gotoToday12();
			}
		}
	
		
//DailyLimud/DailyLimud/MP3/DailyAchas/ - 13
		var flashvars13 = {xmlURL:"http://www.hilchusadyoma.org/DailyLimud/DailyLimud/MP3/DailyAchas/calendar.xml"};
		var params13 = { allowScriptAccess:"always" };
		var attributes13 = { id:"calendar13", name:"calendar13" };

		function initflash13() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent13", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars13, params13, attributes13);
		}
		
		function gotoDay13(i) {

			var obj = document.getElementById("calendar13");
				if (obj && typeof obj.gotoDay13 != "undefined") {
					obj.gotoDay13(i);
				}			
		}
		
		function gotoToday13() {
			var obj = document.getElementById("calendar13");
			if (obj && typeof obj.gotoDay13 != "undefined") {
				obj.gotoToday13();
			}
		}
	
		
//DailyLimud/DailyLimud/MP3/DailyShenosyimA - 14
		var flashvars14 = {xmlURL:"http://www.hilchusadyoma.org/DailyLimud/DailyLimud/MP3/DailyShenosyimA/calendar.xml"};
		var params14 = { allowScriptAccess:"always" };
		var attributes14 = { id:"calendar14", name:"calendar14" };

		function initflash14() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent14", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars14, params14, attributes14);
		}
		
		function gotoDay14(i) {

			var obj = document.getElementById("calendar14");
				if (obj && typeof obj.gotoDay14 != "undefined") {
					obj.gotoDay14(i);
				}			
		}
		
		function gotoToday14() {
			var obj = document.getElementById("calendar14");
			if (obj && typeof obj.gotoDay14 != "undefined") {
				obj.gotoToday14();
			}
		}
	
		
//DailyLimud/DailyLimud/MP3/DailyShenosyimB - 15
		var flashvars15 = {xmlURL:"http://www.hilchusadyoma.org/DailyLimud/DailyLimud/MP3/DailyShenosyimB/calendar.xml"};
		var params15 = { allowScriptAccess:"always" };
		var attributes15 = { id:"calendar15", name:"calendar15" };

		function initflash15() {
			swfobject.embedSWF("http://www.hilchusadyoma.org/calendar/main_1.swf", "myContent15", "570", "240", "9.0.0", "http://www.hilchusadyoma.org/Scripts/expressInstall.swf", flashvars15, params15, attributes15);
		}
		
		function gotoDay15(i) {

			var obj = document.getElementById("calendar15");
				if (obj && typeof obj.gotoDay15 != "undefined") {
					obj.gotoDay15(i);
				}			
		}
		
		function gotoToday15() {
			var obj = document.getElementById("calendar15");
			if (obj && typeof obj.gotoDay15 != "undefined") {
				obj.gotoToday15();
			}
		}
		
		
		
		
