';
}
setContent('q4c', internalCode);
}
function openWindow (url,name,widgets) {
popupWin = window.open (url,name,widgets);
popupWin.opener.top.name="opener";
popupWin.focus();
}
function enableField(flag) {
if (flag) {
this.document.rj_form.width_field.disabled=false;
this.document.rj_form.width_field.focus();
}
else {
this.document.rj_form.width_field.disabled=true;
this.document.rj_form.width_field.value="";
}
}
function IsNumeric(sText) {
var ValidChars = "0123456789";
var IsNumber=true;
var Char;
for (i = 0; i < sText.length && IsNumber == true; i++) {
Char = sText.charAt(i);
if (ValidChars.indexOf(Char) == -1) {
IsNumber = false;
}
}
return IsNumber;
}
function checkBounds(sText) {
var IsNumber=true;
if ((sText < 75) || (sText > 550)) IsNumber = false;
return IsNumber;
}
function validateForm() {
if (this.document.rj_form.width_choice[1].checked) {
if(this.document.rj_form.width_field.value.length == 0) {
alert('You have not entered the width of the image.\n(If you don\'t want to specify width, check the "Original Size" radio button) ');
this.document.rj_form.width_field.focus();
return false;
}
if (!IsNumeric(this.document.rj_form.width_field.value)) {
alert(' Please enter only numbers in the width field. ');
this.document.rj_form.width_field.focus();
return false;
}
if (!checkBounds(this.document.rj_form.width_field.value)) {
alert(' The width must be between 75 and 550 pixels. ');
this.document.rj_form.width_field.focus();
return false;
}
outputCode(this.document.rj_form.width_field.value);
return true;
}
else outputCode(0);
}
function setContent(name, value) {
var d;
if (ie4) {
d = document.all[name];
} else {
d = document.getElementById(name);
}
d.innerHTML = value;
}
Add content to your site by displaying a random funny image on it, a new one every hour! The image on your page will be updated automatically. It's free and easy. Click on the button below to grab the code.
Dogs Playing Poker refers collectively to a series of sixteen paintings created by C. M. Coolidge. They were commissioned in 1903 by Brown & Bigelow to advertise cigars. All the paintings in the series feature dogs, famously seated around various poker sites smoking the finest cigars and playing texas holdem.