// *********************
// *** used by index ***
// *********************
redirTime = "10000";
redirURL = "Home.htm";
function redirTimer() { self.setTimeout("self.location.href = redirURL;",redirTime); }

// ******************************
// *** used by MooCam Archive ***
// ******************************
var temp = new Array();
function addcomment(dir) {
	temp = frame_comment.location.search.split("=");
	popurl = dir + "/archives/addcomment.php?filename=" + temp[1];
	window.open(popurl, "Addcomment", "width=320, height=220, resizable=no,scrollbars=no,scrolling=no,location=no,toolbar=no");
}

// ***************************************
// *** used by: Funny Pictures, Attack on America, trip diaries, FAQ, galleries
// ***************************************
function PopupPic(sPicURL,sPicTEXT) {
	imagewindow = window.open("http://www.moosworld.com/Pictures_popup.htm?"+sPicURL+"?"+sPicTEXT, "imagewindowname", "resizable=1,left=25,top=25,status=no,titlebar=no");
 	imagewindow.focus();
}

// ************************************
// *** used by: gallery index pages ***
// *************************************
function showhide(id) {
	if (document.getElementById) {
		obj = document.getElementById(id);
		obj.style.display = (obj.style.display == "none") ? "" : "none";
	}
}

// *************************************
// *** used by Moo Sightings Contest ***
// *************************************
function OpenStatusWindow(filename) {
	window.open(filename,"","width=400,height=600,left=0,directories=no,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,titlebar=no,toolbar=no");
}

// *****************************************************
// *** used by Adventures of Wolverine and Spiderman ***
// *****************************************************
if (document.images) {
	ButtonPrevOff = new Image();
	ButtonPrevOff.src = "images/ButtonMetal_prev_dark.gif";
	ButtonPrevOn = new Image();
	ButtonPrevOn.src = "images/ButtonMetal_prev_lit.gif";
	ButtonNextOff = new Image();
	ButtonNextOff.src = "images/ButtonMetal_next_dark.gif";
	ButtonNextOn = new Image();
	ButtonNextOn.src = "images/ButtonMetal_next_lit.gif";
	ButtonHomeOff = new Image();
	ButtonHomeOff.src = "images/ButtonMetal_home_dark.gif";
	ButtonHomeOn = new Image();
	ButtonHomeOn.src = "images/ButtonMetal_home_lit.gif";
}
		
function ChangeImages() {
	if (document.images) {
		for (var i=0; i<ChangeImages.arguments.length; i+=2) {
			document[ChangeImages.arguments[i]].src = eval(ChangeImages.arguments[i+1] + ".src");
		}
	}
}

var Adventures01 = new Array() 
Adventures01[1] = "What is this strange device? It must be some sort of alien instrument of torture! I shall use it to my advantage in battle with the Furry Beasts of Doom!" 
Adventures01[2] = "I must use caution when sneaking into the lair of the Furry Beasts of Doom. Evil lives here and I am certain to face great peril." 
Adventures01[3] = "It is distracted! Now is my chance to strike. Perish, you foul beast!!!" 
Adventures01[4] = "Umm, excuse me! ((poke)) Do you think you could maybe pay a little bit of attention to me here? I am trying to slay you and do that whole superhero thing, you know. It's tough work, but someone's got to do it. Not that anyone really appreciates anything I do these days. It's always Storm this, Rogue that, and Jean Gray blahbity blah blah. I sometimes wonder lately why I even bothered getting into this business. Sigh... Hey! Are you listening to me?" 
Adventures01[5] = "With that much crud in your ears, it's no wonder you couldn't hear me! Good thing I had this alien device handy. Now hold still!" 
Adventures01[6] = "I. Said. Hold. STILL. Dang! You got some sort of earwax farm going on in there?" 
Adventures01[7] = "Now that I have your attention once again, let us resume our battle, Destroyer of Worlds! With this... Hold on a minute! What is that behind me?" 
Adventures01[8] = "You want a piece of me, too? Aight! Bring it on, sub-creature! Oh, look at you running away, ya big scaredy cat!" 
Adventures01[9] = "No! Wait! I was just kidding about the whole \"scaredy cat\" thing! ARRRRRRRRGH!!!" 
Adventures01[10] = "Hoo hoo! Ha ha! Hee hee! Stop! That tickles!<br><br>Okay. Seriously. Stop it or I will poke you in the eye with my alien death stick!" 
Adventures01[11] = "Not both of them at once! Arrrrrrrgh! Must. Not. Lose. Consciousness!" 
Adventures01[12] = "I now have but only one chance of escaping certain death by the Furry Beasts of Doom! I must feign death." 
Adventures01[13] = "A-ha! It worked! I faked you out and escaped, you fiends! You may have won this battle, but the war is far from over. Rest yourselves and regain your strength because you will need it upon my return. And I shall return. Oh, yes, I shall!" 
Adventures01[14] = "" 
var Adventures02 = new Array() 
Adventures02[1] = "Sing with me now... And I did it myyyyy waaaaaaaaaay!!!" 
Adventures02[2] = "Hmm. What a cleverly designed alien instrument of torture! It must have many uses besides fending off the Furry Beasts of Doom." 
Adventures02[3] = "I wonder if... Oh, yeah, baby!!!" 
Adventures02[4] = "I think I need to start cleaning my ears a bit more often." 
Adventures02[5] = "Here. Take a whiff and tell me what you think." 
Adventures02[6] = "Yeah, well, I bet your ear wax stinks, too, you mangey creatures of the underworld!" 
Adventures02[7] = "" 

function UpdateAdventure(Adventure,CurrentPage,ButtonPress){

	if (Adventure == "Adventures01")
		{AdventuresArray = Adventures01;}
	else
		{AdventuresArray = Adventures02;}

	if (ButtonPress == 1)
		{GoingToPage = CurrentPage-1;}
	else if (ButtonPress == 2)
		{GoingToPage = 1;}
	else 
		{GoingToPage = CurrentPage+1;}

	document.getElementById("descriptionarea").innerHTML = AdventuresArray[GoingToPage];

	if (GoingToPage < 10)
		{ImageName = "images/funnies/" + Adventure + "_0" + GoingToPage + ".jpg";}
	else
		{ImageName = "images/funnies/" + Adventure + "_" + GoingToPage + ".jpg";}

	document.images.picturearea.src=ImageName;

	LastPage = (AdventuresArray.length-1);

	if (GoingToPage == 1) {
		document.getElementById("button1area").innerHTML = "<img name=\"Button1\" src=\"images/ButtonMetal_blank.gif\" border=\"0\">";
		document.getElementById("button2area").innerHTML = "<a href=\"javascript:UpdateAdventure('" + Adventure + "'," + GoingToPage + ",2)\" onMouseOver=\"ChangeImages('Button2','ButtonHomeOn')\" onMouseOut=\"ChangeImages('Button2','ButtonHomeOff')\"><img name=\"Button2\" src=\"images/ButtonMetal_home_dark.gif\" border=\"0\"></a>";
		document.getElementById("button3area").innerHTML = "<a href=\"javascript:UpdateAdventure('" + Adventure + "'," + GoingToPage + ",3)\" onMouseOver=\"ChangeImages('Button3','ButtonNextOn')\" onMouseOut=\"ChangeImages('Button3','ButtonNextOff')\"><img name=\"Button3\" src=\"images/ButtonMetal_next_dark.gif\" border=\"0\"></a>";
	}
	else if (GoingToPage == LastPage ) {
		document.getElementById("button1area").innerHTML = "<a href=\"javascript:UpdateAdventure('" + Adventure + "'," + GoingToPage + ",1)\" onMouseOver=\"ChangeImages('Button1','ButtonPrevOn')\" onMouseOut=\"ChangeImages('Button1','ButtonPrevOff')\"><img name=\"Button1\" src=\"images/ButtonMetal_prev_dark.gif\" border=\"0\"></a>";
		document.getElementById("button2area").innerHTML = "<a href=\"javascript:UpdateAdventure('" + Adventure + "'," + GoingToPage + ",2)\" onMouseOver=\"ChangeImages('Button2','ButtonHomeOn')\" onMouseOut=\"ChangeImages('Button2','ButtonHomeOff')\"><img name=\"Button2\" src=\"images/ButtonMetal_home_dark.gif\" border=\"0\"></a>";
		document.getElementById("button3area").innerHTML = "<img name=\"Button3\" src=\"images/ButtonMetal_blank.gif\" border=\"0\">";
	}
	else {
		document.getElementById("button1area").innerHTML = "<a href=\"javascript:UpdateAdventure('" + Adventure + "'," + GoingToPage + ",1)\" onMouseOver=\"ChangeImages('Button1','ButtonPrevOn')\" onMouseOut=\"ChangeImages('Button1','ButtonPrevOff')\"><img name=\"Button1\" src=\"images/ButtonMetal_prev_dark.gif\" border=\"0\"></a>";
		document.getElementById("button2area").innerHTML = "<a href=\"javascript:UpdateAdventure('" + Adventure + "'," + GoingToPage + ",2)\" onMouseOver=\"ChangeImages('Button2','ButtonHomeOn')\" onMouseOut=\"ChangeImages('Button2','ButtonHomeOff')\"><img name=\"Button2\" src=\"images/ButtonMetal_home_dark.gif\" border=\"0\"></a>";
		document.getElementById("button3area").innerHTML = "<a href=\"javascript:UpdateAdventure('" + Adventure + "'," + GoingToPage + ",3)\" onMouseOver=\"ChangeImages('Button3','ButtonNextOn')\" onMouseOut=\"ChangeImages('Button3','ButtonNextOff')\"><img name=\"Button3\" src=\"images/ButtonMetal_next_dark.gif\" border=\"0\"></a>";
	}
}

// ***************************
// *** used by all MooCams ***
// ***************************
function OpenArchiveSubmissionWindow(filename) {
	window.open(filename,"","width=360,height=470,left=375,directories=no,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,titlebar=no,toolbar=no");
}

// *****************************
// *** used by Still MooCams ***
// *****************************
function RefreshStillImage(camnumber) {
	if (!document.images) return;
	if (camnumber == 1) {
		document.images['campic'].src = 'images/MooCam_office.jpg?' + Math.random();
		setTimeout('RefreshStillImage(1)',30000);
	}
	else if (camnumber == 2) {
		document.images['campic'].src = 'images/MooCam_sewing.jpg?' + Math.random();
		setTimeout('RefreshStillImage(2)',30000);
	}
	else if (camnumber == 3) {
		document.images['campic'].src = 'images/MooCam_downstairs.jpg?' + Math.random();
		setTimeout('RefreshStillImage(3)',30000);
	}
	else {
		document.images['campic'].src = 'images/MooCam_random.jpg?' + Math.random();
		setTimeout('RefreshStillImage(4)',30000);
	}
}

nTime = 0;
gTime = 0;
tTime = 0;
count = 0;
eCount = 0;
height = 0;
iLoaded = false;
image = false;
imgURL = parent.url;
refresh = 1000;
Timeout = 250;
vid_playing = true;
width = 0;
lURL = "images/MooCams_Loading.gif";
eURL = "images/Off.jpg";
tURL = "images/Off_timeout.jpg";

// ************************************
// *** used by Streaming MooCams 02 ***
// ************************************
function RefreshStreamingImage() {
	nTime = new Date();
	gTime = nTime.getTime();
	if (vid_playing) {
		if(tTime < gTime) {
			if (iLoaded) {
				tTime = gTime + refresh;
				iLoaded = false;
				if (image)
					{ document.images.imagerefresh.src=imgURL; }
				else
					{ document.images.imagerefresh.src=imgURL+"&NUMBER="+count + "&time=" + gTime; }
				eCount = 0;
				count++;
			}
		}
	}
	// original value = 2000
	if (count >= 10000) {document.images.imagerefresh.src=tURL;}
	else {window.setTimeout("RefreshStreamingImage()", Timeout);}
}

// ************************************
// *** used by Streaming MooCams 02 ***
// ************************************
function imgError() {
	if (eCount > 5) { eCount = 0; vid_playing = false; document.images.imagerefresh.src=eURL; } 
	else { eCount++; iLoaded = true; }
}

// ************************************
// *** used by Streaming MooCams 02 ***
// ************************************
function imgLoaded() {
	iLoaded=true;
}

// ************************************
// *** used by Streaming MooCams 02 ***
// ************************************
function createImage(imageURL,rfrsh,wdth,hght) {
	if (imageURL) imgURL=imageURL;
	if (isNaN(rfrsh)) 
		{ refresh=1000; }
	else 
		{ refresh=rfrsh; }
	if (isNaN(wdth)) 
		{ width=320; }
	else 
		{ width=wdth; }
	if (isNaN(hght))
		{ height=240; }
	else
		{ height=hght; }
	var tmp_len = imgURL.length;
	var tmp_str = imgURL.substr(tmp_len-3, tmp_len);
	if ((tmp_str == "jpg") || (tmp_str == "jpg")) { image = true; }
	document.write("<img src=\""+lURL+"\" name=\"imagerefresh\" width=\""+width+"\" height=\""+height+"\" border=\"0\" onload=\"imgLoaded();\" onerror=\"imgError()\">");
}

// *************************
// *** used by Calendars ***
// *************************
var Calendar01 = new Array() 
Calendar01[1] = "<div style=\"text-align:center;font-weight:bold\">Charbroilemagne</div>The year was 800 AD. The Charred Ages were at their most blackened. Desperate peoples were reduced to eating burgers to survive, and chronic chickenlessness held sway over the land. When, from out of the mists of history, emerged Charbroilemagne, King of the All-Beef Franks. He did unite all the warring herds, including the rebellious Northern Shorthorns. 'Twas he who restored order to the land. And that order was: \"Two chicken sandwiches and waffle fries, to go!\"" 
Calendar01[2] = "<div style=\"text-align:center;font-weight:bold\">Reuben Hood</div>The environs of Sherwood Pasture still echo with tales of this beloved bandit. He and his Band of Merry Meat - including stout-hearts Friar Chuck and Little Jerky - prowled the hills and hollows of Dairy Olde England, robbing burgers from the rich and giving them chicken in their stead. Expert with a bow and arrow despite his lack of opposable thumbs, he was the bane of the evil Sheriff of Nottinghamburger." 
Calendar01[3] = "<div style=\"text-align:center;font-weight:bold\">Agrilles</div>Agrilles, hero of Homer's \"The Grilliad\", brought chicken sandwiches down from Mount Cowlympus. He was rendered all but invincible when he was dipped in an enchanted vat of barbecue sauce. Only one hoof was left unprotected - the one by which his mother, Heiferestis, held him. No weapon could harm him: not grinder, slicer, nor tenderizing mallet. Until one fateful morn, when a branding iron pierced his most vulnerable spot. To this day, someone's weakest area is called the Agrilles Hoof." 
Calendar01[4] = "<div style=\"text-align:center;font-weight:bold\">Boldhoof</div>A descendant of the great MacCowans, proudest of the Highland Herds, Bullion \"Boldhoof\" Wallace did fight at the side of Rocert the Brisket, rightful heir to the throne of Scotland. Many an enemy Burger Eater would tremble at the merest mention of Steak Tartan, as Wallace came to be known. Untippable he remained in his support of the eating of chicken, even when his enemies Lord Bacon and the Earl of Cheddar did try to top him." 
Calendar01[5] = "<div style=\"text-align:center;font-weight:bold\">Moolius Caesar</div>First emperor of the Bovine Empire, this roamin' Roman strove to rid the Mooditerranean world of burgers forever. He often staged spectacular chicken barbecues in the Cowliseum for weeks on end as both entertainment and displays of his catering prowess. But his ambitious attempts to name the Chicken Caesar Salad after himself did stir his rivals to jealous anger. After betrayal by one of his closest compatriots, Mootus Cudicus Maximus, his last words were, \"Et tu, Mooté?\"" 
Calendar01[6] = "<div style=\"text-align:center;font-weight:bold\">Joan of Alfalfa</div>Known affectionately throughout France as the Milkmaid of Orleans, young Joan did rise from her peasant barnyard to lead the forces of chicken against the Burger Eaters. Her struggle was an act in the great drama known throughout the ages as the Hundred Years' Barbecue. She grazed the countryside looking for volunteers, and untold thousands flocked - actually, herded - to her moo. Fearless in battle, she was captured by the enemy at Cordon Bleu and was (literally) braded a Hereford." 
Calendar01[7] = "<div style=\"text-align:center;font-weight:bold\">King Art-Herd</div>Much myth and legend surroundeth the tale (and tail) of King Art-Herd, defender of Graze Britain against the barnbarian burger hordes. With his Lady Guineveal by his flank, he and his Knights of the Round Stable did bring hope, stability and, yea, chicken sandwiches to a troubled and hungy land. Legend sayeth that Moolin the Magician proclaimed him king when, as a calf, 'twas he alone that could withdraw the sword Excowibur from a particularly tight-packed hay bale." 
Calendar01[8] = "<div style=\"text-align:center;font-weight:bold\">Kobe Kowsumoto</div>Tough in battle yet tender in the rump and flank, Kobe Kowsumoto lived by the tenets of mooshido, the code of honor revered by all samoorai: Protect the weak, moo only when mooed at, and always encourage others to eat more chicken. But time stands still for no cow, and the traditional ways were done away with by the corrupt Burger Eaters. Rather than submit, Kowsumoto led a revolt of the other samoorai, known to posterity as the Kobe Beef." 
Calendar01[9] = "<div style=\"text-align:center;font-weight:bold\">Lady Guineveal</div>Behind every great cow is a tail. And behind that is a strong heifer. King Art-Herd's heifer was Guineveal, the most beautiful, most tender creature in Cowmoolot. She was captured by Moodred, treacherous ally of the Burger Eaters. One night while Moodred slept (standing up), Lady Guineveal escaped with the help of Sir Lunchalot. As a token of her gratitude, she gave him her scarf woven of the finest clovers, alfalfas, and grasses. He promptly ate it." 
Calendar01[10] = "<div style=\"text-align:center;font-weight:bold\">Beif Eriksson</div>Most famous of the Bovikings, Beif and his warriors did prowl the seas in sleek longbarns, moorauding through unsuspecting village barbecues. Their horned helmets (in truth just regular helmets with holes for their real horns to poke through) filled Burger Eaters with fear, as they were quite pointy. Beif spent his later years grazing new lands, founding a colony at Moofoundland. In traditional Boviking fashion, he was finally \"put out to pasture\" by being set adrift in a burning food trough." 
Calendar01[11] = "<div style=\"text-align:center;font-weight:bold\">El Cud</div>One of Spain's most celebrated of heroes (second in renown only to Herdinand and Isabulla), El Cud doth be famed in both song and story. A passionate believer in eating more chicken, he didst prevent Europe from being overrun by the burger-eating Mooers. His greatest victory was at the fortress city of Toledo, where his mighty cowtapults knocked holes in the walls. The people of \"Hole-y Toledo\", as it became known, coined the phrase \"Holy Cow\" in El Cud's honor. We use it still." 
Calendar01[12] = "<div style=\"text-align:center;font-weight:bold\">Angus Khan</div>Few cows were more feared than the great Angus Khan, overlord of the nomadic Moongols. At its height, his empire stretched from the steppes of Outer Moongolia, past the Great Wire of China, and as far west as the Cowspian Sea. In his relentless quest to end the burger eating forever, no one was spared - men, women, and children were equally encouraged to eat more chicken. Entire villages were often put to the drive-thru." 
Calendar01[13] = "" 
var Calendar02 = new Array() 
Calendar02[1] = "<div style=\"text-align:center;font-weight:bold\">The Salisbury Calf</div>Known simply as \"THE CALF\", this sneaky lil' blanky-totin' buckaroo was wanted for killin' the appetite o' over 350 men by the age o' 4 by sabotagin' their beef dinners (so they'd start hankerin' for chicken instead). Wearin' his trademark ONE-GALLON HAT, The Calf would tip-hoof into boardin' houses and change the recipes and cookin' instructions, then escape aboard his trusty steed, NUGGET. Ever tried raw sirloin tips atop butter pecan ice cream? YUCK." 
Calendar02[2] = "<div style=\"text-align:center;font-weight:bold\">Marshal Marseilles Marsala</div>The entire bovine revolution mushroomed once the great Marshal Marseilles (said mar-SAY) Marsala took up the cause. Though he was part French, he was no petit filet. Ya see, his great-great-uncle was the one and only NAPOLEON \"T-BONE\" APARTE, so leadin' the pro-chicken charge was in his blood. Fact is, many a steer eater steered plumb clear o' the Marshal as he decreed his hometown o' Salt Lick City, Utah: CHIKIN ONLEE." 
Calendar02[3] = "<div style=\"text-align:center;font-weight:bold\">Sloppy Joe</div>Oprhaned at the TENDERIZED age o' 6 months, ol' Sloppy Joe was wanted throughout Kansas for bein' a loiterer, interloper, and general public moosance. 'Bout the only thing he did was cattle drive local butchers PLUMB LOCO. Ya see, he'd hide hisself in the back o' the shop so while payin' customers'd watch their steaks bein' cut, he'd let out one painful moo after another, causin' the womenfolk to SKEDADDLE, never to return. Bad for business, good for cows." 
Calendar02[4] = "<div style=\"text-align:center;font-weight:bold\">Annie Jokely</div>The Great Burger Rush saw ranchers, rustlers, butchers, and the like come from far 'n wide to see the FIRST FEMALE COWMIC. Every Saturday night at THE CACKLIN' FIRE, Annie'd mix in her strange brand o' OFF-BEEF HUMOR with her wild chicken dance. She was such a laugh riot, she'd start one. These cowboys would whack each other so SENSELESS, they wouldn't be much good for workin' the next day." 
Calendar02[5] = "<div style=\"text-align:center;font-weight:bold\">The Chicken Dumplin' Gang</div>Plenty o' dime novels and picture books was written about the legendary Chicken Dumplin' Gang, led by BUFFALO BILL COATING, a.k.a. \"The Fastest Skillet in the West\". This lightnin'-quick mess wagon cook and his POLLO POSSE o' Carne Asada and \"Flap\" Jack Makak would convert foul-mouthed cattlemen into fowl-mouthed cattlemen in no time flat. Ya see, once they got to a-breadin' and a-seasonin', the Gang could make anythin' taste \"JUST LIKE CHIKIN\"." 
Calendar02[6] = "<div style=\"text-align:center;font-weight:bold\">Bessie James</div>Cowboy-cut from the same cloth as her pappy and her pappy's pappy. Bessie come from a long line o' stage 'n train bandits. She was credited for HAMBUSHIN' a total o' 34 red-meat-servin' dinin' cars from Missoura to New Mexico. With tongue a-waggin' and blonde hair a-flyin', Bessie'd hop aboard and hold up dinner. She'd PILFER all red meat: from passengers' steaks to their - not gold, but BEEF BULLION." 
Calendar02[7] = "<div style=\"text-align:center;font-weight:bold\">The Porterhouse Boys</div>Branded as inbred MISCREANTS from birth, the infamous Porterhouse Boys was so lackin' even one ounce o' grace or refinement that a whole new term, \"rawhide\", was introduced to describe 'em. But these crude CATTLE-THIEVIN' BROTHERS saved nearly 2,000 head o' steer from butchers' meat cleavers. Here, under the cover o' night, the Boys free another herd o' longhorn cattle. The one thing Pa Porterhouse did learn 'em: An EMPTY CORRAL is an OK CORRAL, indeed." 
Calendar02[8] = "<div style=\"text-align:center;font-weight:bold\">Big Nose Ellie</div>Due to the heap o' schoolhouse teasin' she took for her ABNORMALLY LARGE SCHNOZ, the trick-ridin' Big Nose Ellie figur'd early on that she best learn to defend herself. So she took up lassoin', ropin' and o' course, bullwhippin'. Back in her HAYDAY, beef eaters had best beware. Fancy ol' Big Nose was liable to swat swipe, or hogtie burger sympathizers faster 'n a JACKRABBIT CHASIN' A STINKBUG. (She knew strikin' first was way better than endin' up home, home on the range top.)" 
Calendar02[9] = "<div style=\"text-align:center;font-weight:bold\">Gristley Adams</div>The Indians called this famous mountain cow LONESOME HOOF. The locals just called the crazy coot a bit tetched in the head. But rarely to medium-rarely had anyone even laid eyes on the gnarly ol' free-range spirit till the Great Burger Rush. That's when Gristley's legend was born. Why, he and his only friend, his ever faithful (and ever fragrant) companion P.U. THE SKUNK, would just moosey into campsites and send hundreds o' brisket-eatin' bullies a-packin'." 
Calendar02[10] = "<div style=\"text-align:center;font-weight:bold\">Blackened Bart</div>After a campfire flare-up done CHARRED his whole dadburn face, the masked Bartholemoo Winchestershire instantly became known as Blackened Bart. Portrayed in spaghetti 'n meatball Westerns (like <i>A Fistful o' Flank Steak</i> and <i>True Gristle</i>) as a heartless bunslinger, Bart was rightly quite tame - unless provoked by non-chicken-lovers. Here, Bart HAMBUSHES the weekly steak sauce shipment. Bart often drove deliveries like this here into a crevasse (that thar's French for \"big honkin' ditch\")." 
Calendar02[11] = "<div style=\"text-align:center;font-weight:bold\">Sacowgewea</div>This here Native American Holstein from the NOSTEAKFORYEWA Herd didn't cotton to fightin'. Like her famous grandpappy, Standing Bull, Sacowgewea learnt her herd the delicate art o' smoke signalin'. Real nice and PEACEFUL like, this'd win over many a beef-jerky-chewin' bunslinger and PER-SUEDE 'em toward a diet rich in white meat. (Also referred to as Sacowjawea, Sakowkajea, and Stands-With-A-Chicken.)" 
Calendar02[12] = "<div style=\"text-align:center;font-weight:bold\">Davy Briquette</div>Seldom was heard a discouragin' word about one o' the most praised (not braised) cow cowpokes o' the Old West. Davy was an EXPERT big game hunter 'n trapper, and TRAPPIN' CATTLE RUSTLERS was one big game to him. Wearin' his signature coonskin cap and usin' crude cow decoys, Davy would snare hisself a few red meat wranglers and string 'em up. An' he wouldn't turn 'em loose neither - till they'd pledge by Davy's famous sayin', \"BURGERS? WE DON'T NEED NO STINKIN' BURGERS!\"" 
Calendar02[13] = "It was known as the GREAT BURGER RUSH. In the late 1800's, wagon trains fill o' red-meat-lovin' settlers began floodin' the West lookin' to put down roots (and plenty o' burgers). But a few brave cowpokes, branded THE GROUND CHUCKWAGON 12, stood in the way. Their one undyin' message: \"Y'ALL EAT MORE CHICKEN!\"" 
var Calendar03 = new Array() 
Calendar03[1] = "Known more for their dance moves than their vocals, these high-pitched disco dynamos were all about stayin' alive. And though it didn't get much airplay, their dance ditty <i>Shake Your Chicken Thang</i> inspired a nationwide dance craze known as \"The Not-So-Funky Chicken\"." 
Calendar03[2] = "In his prime, this beefy baritone was known as the corooner with a cause. Easily recognizable with his cow-chop sideburns and the evert-present hairy chest, Veal had no problem getting his \"burgers are't for you, babe\" message through to his female fans. Not only with his music but also through the endless buffet of chicken sandwiches he offered them backstage." 
Calendar03[3] = "Thanks to a successful factory outlet food court tour, her first single shot straight to the top of the charts. But because she was unable to lip-sync and chew gum at the same time, her lack of talent became painfully obvious to her teenybopper fans. Lucky for cows, the catchy chorus about ordering chicken over and over again is impossible for people to get out of their heads." 
Calendar03[4] = "These spandex-and-pleather-clad rockers were known for putting on the wildest live shows in the West. But due to the inordinate amount of hairspray, they did it without pyrotechnics. One night, lead guitarist Ron Von Bovine attempted to take out some burger eaters in the front row. He is now credited with pioneering the stage dive." 
Calendar03[5] = "For nearly four months, there was nobody bigger than these smooth-toned steers. But the frosted hair tips, choreographed dance routines, and flashy matching outfits couldn't hide the fact that they were pushing 35 - in cow years. One of the Boyz is now pursuing a solo career, while the rest pretend they were never in the band. But we all remember the summer they serenaded the nation about the tender side of chicken." 
Calendar03[6] = "This tie-dyed trio made people believe that eating chicken meant sticking it to the Man. They staged sit-ins. They organized burger protests. They stampeded on Washington. But the Herd was best known for their performance at the legendary music festival Livestock. It was there that they coined the phrase, \"Make chicken, not war, man.\"" 
Calendar03[7] = "Following in the hoofsteps of his father, Junior Sr., turned out to be a hard row to hoe. After years of being shunned by the Nashville machine, Junior Jr. recorded his only hit - an upbeat country-crossover tune about the guilty pleasure of boot scootin' while eating chicken." 
Calendar03[8] = "Burger consumption is a global problem, and these animated hombres did their part to put it to rest. They played only the best venues south of the border, but American promoters feared that their bilingual hit wouldn't translate in the States. So these mariachi musicians of the midway proved once again that everyone speaks the international language of chicken." 
Calendar03[9] = "What he lacked in talent, he made up for in hair. Ladies loved Mulletcut for his role as Dr. Chaz Navarro on a daytime soap opera. Guys related to his passion for chicken - and pants with 57 zippers. Even after his soap was canceled and his hairline receded, Bobby continued to sell out stadiums. In Germany." 
Calendar03[10] = "These rambunctious rawhides from across the pond weren't afraid to ruffle feathers. Their anti-burger-establishment message struck a chord with the feedlot generation; however, after the band scored a hit, their fans considered them sellouts. But to these porterhouses of punk, it was well worth it, because restaurants throughout the kingdom were selling out of chicken." 
Calendar03[11] = "With the overnight success of her first and only hit, Lady Marinade became known as the Material Heifer. Soaking up the newfound fame, this diamond-clad diva's ego was off the charts - much like every other song she ever recorded. Still starved for attention, Lady Marinade now hosts a chicken-cooking reality TV show called <i>Filet Factor</i>." 
Calendar03[12] = "For one long summer, everything in a cow's world was irie, mon. Medium Rasta's happy lyrics and steel drums were infectious, and tourists all over the Caribbean were skipping their beef entrees in favor of jerk chicken. If it weren't for a tragic beach bonfire accident, their music would still be inspiring chicken eating and limbo lines today." 
Calendar03[13] = "Even though their careers burned out, their pro-chicken message will never fade away. And while these washed-up bovines had different styles, there's one thing they all agreed on: 15 minutes of fame is better than 15 minutes of flame." 
var Calendar04 = new Array() 
Calendar04[1] = "<div style=\"text-align:center;font-weight:bold\">The Filet Team</div>After escaping from a maximum-security stockade, this renegade herd of Holsteins has taken burger enforcement into their own hooves.  Led by Mr. T-Bone, with his signature phrase, \"I pity da' fowl!\" the Filet Team practices a red-hot brand of justice, tracking down burger eaters and making them spit it out for chicken." 
Calendar04[2] = "<div style=\"text-align:center;font-weight:bold\">Grill Street Blues</div>Notorius for his flame-grilled temper and unorthodox methods, Sgt. Randy Steakowitz of the Special Grilling Unit often finds himself embroiled in controversy.  The well-seasoned sergeant's interrogations usually employ his patented \"good sandwich/bad sandwich\" technique, squeezing confessions fromt he most determined of criminals.  Under Sgt. Steakowitz, the meat scales of justice have never been the same." 
Calendar04[3] = "<div style=\"text-align:center;font-weight:bold\">Charsky & Hoof</div>On the mean streets of San Francisco, you're either fast, or you're fast food.  Not a problem for undercover cops Ken Charsky and Manuel \"Manny\" Hoof.  Whether they're breaking up burger rings or foiling beef extortion plots, their 1969 Cowvette is Grade A greased lightning." 
Calendar04[4] = "<div style=\"text-align:center;font-weight:bold\">Angus, PI</div>Expensive cars and gorgeous heifers are just some of the benefits of working for eccentric millionaire Chuck Porterhouse III.  Sporting shades and a stockpile of floral shirts, studly private investigator Ross Angus leads a life of seemingly endless car chases and hoof-fights.  Anything to keep the island of Mooui safe for chicken lovers." 
Calendar04[5] = "<div style=\"text-align:center;font-weight:bold\">CHaPs</div>As members of the California Hamburger Patrol, Officer Frank \"Munch\" Muncherello and his straitlaced partner, Jon Beefcaker, are all too familiar with the recent rash of burger smuggling that has plagued the highways of southern California.  Patrolling the beat in aviator shades and rump-hugging pants, Munch and Jon have busted everyone from common jerky-heads to international beef lords." 
Calendar04[6] = "<div style=\"text-align:center;font-weight:bold\">Cowlumbo</div>Don't be fooled by his slovenly appearance and slow-witted ramblings.  Lt. Cowlumbo leaves no bun unturned, solving the most gristly cases before the ketchup even dries.  Beef eaters, beware!  Cowlumbo will be all over you like a bad horsefly." 
Calendar04[7] = "<div style=\"text-align:center;font-weight:bold\">Judge Phyllis Cheesesteak</div>Forget trial by jury.  This saucy heifer serves up justice faster than a drive-thru.  With the help of her baliff, \"Bull,\" Judge Phyllis has presided over hundreds of cases ranging from voluntary cowslaughter to illegal bun laundering.  She's even butted heads with notorious crime boss Timmy \"The Spatula\" Zambrano." 
Calendar04[8] = "<div style=\"text-align:center;font-weight:bold\">Hoofer, Texas Wrangler</div>The Lone Star State has been home to some legendary characters, but none more so than Hoofer, Texas Wrangler.  With a black belt in moo-jitsu, Hoofer greets criminals with a swift round-roast kick to the face.  But beneath his leathery hide he has a heart of gold, reaching out with open hooves and encouraging misguided children to stay away from beef." 
Calendar04[9] = "<div style=\"text-align:center;font-weight:bold\">Baloney Vice</div>In the high-stakes game of international beef trafficking, all roads lead through Baloney Beach.  But thanks to mulleted mooers Ronny Brisquet and Rafael de Vaca, those days are coming to an end.  Wearing an array of pastels and polyester, these undercover cows will do anything to bust crime chef Fatty Empanada." 
Calendar04[10] = "<div style=\"text-align:center;font-weight:bold\">Chuckie's Heifers</div>If you're packing heat - the heat that makes burgers - you'd better hope these hot-tempered heifers don't find you.  With their alluring beauty, special agents Bearnaise, Hollandaise and Mayonnaise may look like angels, but they hurt like a Charlie horse.  There's no tougher meat on the Special Chicken Task Force." 
Calendar04[11] = "<div style=\"text-align:center;font-weight:bold\">BSI: Bovine Special Investigators</div>In the often messy field of lunch scene investigation, it takes a special breed to crack the case.  Led by Gus McGristle, chief beef examiner and an expert in greasy fingerprint identification, the BSI team reconstructs elaborate lunch scenes using fork trajectories, ketchup splatter patterns and the latest in sesame seed analysis." 
Calendar04[12] = "<div style=\"text-align:center;font-weight:bold\">MooGyver</div>Working for a top-secret foundation called the Feedlot, Agent MooGyver has an uncanny ability to escape even the greasiest situations.  Whether he's fashioning a zip-line from a piece of bailing wire or disarming a barbeque grill with a paper clip, the resourceful MooGyver has guided countless villains toward the ways of chicken-eating." 
Calendar04[13] = "" 

function DisplayImageComment(PageName,ImageNumber,ImageType){
	if (PageName == "Calendar01") {
		document.getElementById("descriptionarea").innerHTML = Calendar01[ImageNumber];
		ImageName="images/funnies/";
	}
	if (PageName == "Calendar02") {
		document.getElementById("descriptionarea").innerHTML = Calendar02[ImageNumber];
		ImageName="images/funnies/";
	}
	if (PageName == "Calendar03") {
		document.getElementById("descriptionarea").innerHTML = Calendar03[ImageNumber];
		ImageName="images/funnies/";
	}
	if (PageName == "Calendar04") {
		document.getElementById("descriptionarea").innerHTML = Calendar04[ImageNumber];
		ImageName="images/funnies/";
	}

	if (ImageNumber < 10) {
		ImageName += PageName + "_0" + ImageNumber + "." + ImageType;
	}
	else {
		ImageName += PageName + "_" + ImageNumber + "." + ImageType;
	}
	document.images.picturearea.src=ImageName;
}

// *****************************
// ***  Disable Right Click  ***
// *****************************
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")

days = new Array();
days[1] = "Sunday"; days[2] = "Monday"; days[3] = "Tuesday"; days[4] = "Wednesday"; days[5] = "Thursday"; days[6] = "Friday"; days[7] = "Saturday";
months = new Array();
months[1] = "January"; months[2] = "February"; months[3] = "March"; months[4] = "April"; months[5] = "May"; months[6] = "June"; months[7] = "July"; months[8] = "August"; months[9] = "September"; months[10] = "October"; months[11] = "November"; months[12] = "December";
todaysdate = new Date();
day  = todaysdate.getDay() + 1;
month = todaysdate.getMonth() + 1;
date  = todaysdate.getDate();
year = todaysdate.getFullYear();

// ******************************
// ***  Display Today's Date  ***
// ******************************
function DisplayTodaysDate() {
	document.write("<b>" + days[day] + " <br> " + months[month] + " " + date + ", " + year + "</b>");
}

var spacer='<br><img src="images/Spacer.gif" height="5" width="1"><br>';
var messages = new Array(12)
for (i=1; i<=12; i++)
messages[i] = new Array(31)
messages[01][01] = "Happy Birthday, Rory";
messages[01][06] = "Happy Birthday, David"+spacer+"Happy Birthday, Ralph";
messages[01][08] = "Happy Birthday, Jon";
messages[01][12] = "Happy Birthday, UR";
messages[01][14] = "Happy Birthday, Matthew";
messages[01][15] = "Happy Birthday, Kris";
messages[01][17] = "Happy Birthday, Lois";
messages[01][19] = "Happy Birthday, Kay";
messages[01][28] = "Happy Birthday, Sawyer";

messages[02][05] = "Happy Anniversary, Laura & Doug";
messages[02][10] = "Happy Birthday, Alicia"+spacer+"Happy Birthday, Jennifer";
messages[02][11] = "Happy Birthday, Hannah";
messages[02][12] = "Happy Birthday, Rebecca";
messages[02][13] = "Happy Birthday to my sister"+spacer+"Happy Birthday, Jonathan";
messages[02][14] = "Happy AA Birthday, Phickle";
messages[02][18] = "Happy Anniversary, Patty & Washington";
messages[02][20] = "Happy Anniversary, Sandra & Steve";
messages[02][21] = "Happy Birthday, Jerry";
messages[02][23] = "Happy Anniversary, Shirley & Ron"+spacer+"Happy Birthday, Regan";
messages[02][28] = "Happy Birthday, Jesse";

messages[03][04] = "Happy Birthday, Diane";
messages[03][06] = "Happy Birthday, Mom";
messages[03][14] = "Happy Birthday, Brent";
messages[03][16] = "Happy Birthday, Juliana";
messages[03][28] = "Happy Birthday, Joseph";
messages[03][29] = "Happy Birthday, Ron";
messages[03][30] = "Happy Birthday, Tim";

messages[04][01] = "Happy Birthday, Chris";
messages[04][05] = "Happy Birthday, Liz";
messages[04][09] = "Happy Birthday, Marc";
messages[04][10] = "Happy Birthday, Phickle";
messages[04][15] = "Happy Anniversary, Kara & Scott";
messages[04][16] = "Happy Birthday, Rene";
messages[04][17] = "Happy Birthday, Sadie";
messages[04][19] = "Happy Birthday to my brother";
messages[04][20] = "Happy Anniversary, Neloa & Dan";
messages[04][26] = "Happy Birthday, UB";
messages[04][27] = "Happy Birthday, Tatiana";
messages[04][30] = "Happy Anniversary, AJ & UR";

messages[05][01] = "Happy Birthday to my precious Josie"+spacer+"Happy Birthday, Lisa"+spacer+"Happy Birthday, Rowan";
messages[05][02] = "Happy Birthday, Ken";
messages[05][03] = "Happy Birthday, Ashley";
messages[05][07] = "Happy Birthday, Isaac";
messages[05][11] = "Happy Birthday, Olivia";
messages[05][12] = "Happy Birthday, Shirley";
messages[05][18] = "Happy Birthday, Kara";
messages[05][21] = "Happy Birthday, Dave"+spacer+"Happy Anniversary, Christine & Jerry"+spacer+"Happy Birthday, Melinda";
messages[05][25] = "Happy Anniversary, Christine & Jon";
messages[05][30] = "Happy Birthday, Nicholas";

messages[06][01] = "Happy Birthday, Kathy"+spacer+"Happy Birthday, Mark";
messages[06][02] = "Happy Birthday, Bill"+spacer+"Happy Birthday, Daniel";
messages[06][04] = "Happy Birthday, Sean";
messages[06][06] = "Happy Birthday, Matt";
messages[06][07] = "Happy Birthday, Nicolaus";
messages[06][10] = "Happy Birthday, Cathy";
messages[06][13] = "Happy Birthday, Sara";
messages[06][18] = "Happy Anniversary, Andrea & Chris";
messages[06][22] = "Happy Anniversary, Lynn & Jim";
messages[06][24] = "Happy Birthday, AJ";
messages[06][25] = "Happy Birthday, Sarah";
messages[06][26] = "Happy Birthday, Neloa";
messages[06][27] = "Happy Birthday, AC";
messages[06][28] = "Happy Birthday, Mr Moo";

messages[07][02] = "Happy Birthday, Conrad";
messages[07][03] = "Happy Birthday, Dad";
messages[07][04] = "Happy Birthday, Annie";
messages[07][09] = "Happy Birthday, Patty";
messages[07][10] = "Happy Birthday, Lorraine"+spacer+"Happy Anniversary, Jennifer & Jesse";
messages[07][13] = "Happy Birthday, Danielle";
messages[07][16] = "Happy Birthday, Chris";
messages[07][17] = "Happy Birthday, Jenny";
messages[07][27] = "Happy Anniversary, Inge & Paul";
messages[07][29] = "Happy Birthday, Paul"+spacer+"Happy Birthday, Katelyn";
messages[07][30] = "Happy Birthday, Helen"+spacer+"Happy Birthday, Jason";
messages[07][31] = "Happy Birthday, Jim";

messages[08][03] = "Happy Birthday, Dean";
messages[08][09] = "Happy Birthday, Andrea";
messages[08][10] = "Happy Anniversary, AC & UB"+spacer+"Happy Birthday, Rob"+spacer+"Happy Birthday, Michael";
messages[08][14] = "Happy Birthday, Cindy";
messages[08][15] = "Happy Anniversary, Niki & Brian";
messages[08][16] = "Happy Anniversary, Tam & Khoa";
messages[08][17] = "Happy Birthday, Dan"+spacer+"Happy Birthday, Andrew";
messages[08][18] = "Happy Birthday, Elizabeth";
messages[08][20] = "Happy Anniversary, Carmen & Peter";
messages[08][22] = "Happy Birthday, Laura";
messages[08][24] = "Happy Birthday, Kelly"+spacer+"Happy Birthday, Ann";
messages[08][26] = "Happy Anniversary, Mr Moo!  I love you!  :-)";
messages[08][27] = "Happy Anniversary, Anne & Dave";
messages[08][29] = "Happy Anniversary, Sara & Chris";
messages[08][30] = "Happy Birthday, Ken";

messages[09][03] = "Happy Birthday, Sue";
messages[09][04] = "Happy Birthday, Kevin";
messages[09][06] = "Happy Birthday, Macy";
messages[09][08] = "Happy Birthday, Andrew";
messages[09][09] = "Happy Anniversary to my sister and BIL!"+spacer+"Happy Birthday, Rob";
messages[09][14] = "Happy Birthday, Maureen";
messages[09][17] = "Happy Anniversary, G & Mrs G"+spacer+"Happy Birthday, Lucy";
messages[09][20] = "Happy Anniversary, Helen & Ken";
messages[09][23] = "Happy Anniversary, Cindy & Matt"+spacer+"Happy Birthday, George";
messages[09][24] = "Happy Birthday, Steven";

messages[10][02] = "Happy Anniversary, Tatiana & David"+spacer+"Happy Birthday, Alex"+spacer+"Happy Birthday, Jan";
messages[10][04] = "Happy Birthday, Maddy";
messages[10][05] = "Happy Birthday, Christine";
messages[10][06] = "Happy Anniversary, Justine & Paul";
messages[10][07] = "Happy Birthday, Jennifer";
messages[10][08] = "Happy Birthday, Grant";
messages[10][09] = "Happy Birthday, Paul"+spacer+"Happy Anniversary, Marsha & Mark";
messages[10][12] = "Happy Anniversary, Danielle & Jeff";
messages[10][13] = "Happy Birthday, Carmen";
messages[10][15] = "Happy Birthday, Kayla";
messages[10][22] = "Happy Birthday, David";
messages[10][25] = "Happy Birthday, Raymonde";
messages[10][26] = "Happy Birthday, Gerald";

messages[11][01] = "Happy Anniversary, Kris & Brian"+spacer+"Happy Birthday, Buzz"+spacer+"Happy Birthday, David";
messages[11][04] = "Happy Anniversary, Jennifer & Matt";
messages[11][05] = "Happy Anniversary, Liz & Mark";
messages[11][08] = "Happy Anniversary, Mom & Dad";

messages[11][15] = "Happy Birthday, Robyn";
messages[11][18] = "Happy Birthday, Sandra";
messages[11][24] = "Happy Birthday, Doug";
messages[11][28] = "Happy Birthday, Jim";
messages[11][30] = "Happy Birthday, Steve";

messages[12][04] = "Happy Birthday, Anne"+spacer+"Happy Birthday, John";
messages[12][05] = "Happy Anniversary, April & Kevin";
messages[12][07] = "Happy Birthday, Lucy";
messages[12][11] = "Happy Birthday, Gordo";
messages[12][12] = "Happy Birthday, Kevin"+spacer+"Happy Birthday, Owen"+spacer+"Happy Birthday, Jeff";
messages[12][20] = "Happy Birthday, Melissa";
messages[12][24] = "Happy Birthday, Niki";
messages[12][25] = "Happy Birthday, John";
messages[12][26] = "Happy Birthday, Jovian";

var holidays = new Array(12)
for (i=1; i<=12; i++)
holidays[i] = new Array(31)
holidays[01][01] = "Happy New Year!";
holidays[01][18] = "Martin Luther King Jr Day";
holidays[02][02] = "Groundhog Day";
holidays[02][14] = "Happy Valentine's Day!";
holidays[02][15] = "Presidents' Day";
holidays[02][17] = "Ash Wednesday";
holidays[03][14] = "Daylight Savings begins";
holidays[03][17] = "Happy St Patrick's Day!";
holidays[03][20] = "First Day of Spring";
holidays[03][28] = "Palm Sunday";
holidays[04][01] = "April Fools Day";
holidays[04][02] = "Good Friday";
holidays[04][04] = "Easter Sunday";
holidays[04][22] = "Earth Day";
holidays[05][09] = "Happy Mother's Day!";
holidays[05][31] = "Memorial Day";
holidays[06][14] = "Flag Day";
holidays[06][20] = "Happy Father's Day!";
holidays[06][21] = "First Day of Summer";
holidays[07][04] = "Independence Day";
holidays[09][06] = "Labor Day";
holidays[09][11] = "Patriot Day";
holidays[09][23] = "First Day of Autumn";
holidays[10][11] = "Happy Thanksgiving, Canada!";
holidays[10][31] = "Happy Halloween!";
holidays[11][02] = "Election Day";
holidays[11][07] = "Daylight Savings ends";
holidays[11][11] = "Veterans Day";
holidays[11][25] = "Happy Thanksgiving!";
holidays[12][07] = "Pearl Harbor Rememberance Day";
holidays[12][21] = "First Day of Winter";
holidays[12][25] = "Merry Christmas!";

// **********************************
// ***  Display Today's Messages  ***
// **********************************
function DisplayTodaysMessages() {
	if (messages[month][date] == null)
		{y = 0;}
	else
		{y = messages[month][date].length;}
	if (holidays[month][date] == null)
		{z = 0;}
	else
		{z = holidays[month][date].length;}
	if (y==0 && z==0)
		{DisplayTodaysDate();}
	else {
		DisplayTodaysDate();
		document.write(spacer);
		if (z==0) {document.write(messages[month][date]);}
		else if (y==0) {document.write(holidays[month][date]);}
		else {document.write(holidays[month][date] + spacer + messages[month][date]);}
	}
}
