function p_f(mI)
{ 
if(!mI) return;   
var strNewHTML = "<span id=" + mI.id + " style=\"" + "width:" + mI.width + "px; height:" + mI.height + "px;" + " display:inline-block; " + ";" 
strNewHTML += "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + mI.src + "\', sizingMethod='image');\"></span>";  
mI.outerHTML = strNewHTML; 
} 

function whichblog() {
if (location.href == 'http://www.louishkids.com/Joey_and_Angel.louish' || location.href == 'http://louishkids.com/Joey_and_Angel.louish') {
document.write ("<fieldset><legend><b>Clint, Erica, Joey and Angel's Blog</b></legend><iframe src=\"http://www.louishfamily.com/blog/display.cgi?t=v3_show&m=10\" name=\"blog\" id=\"blog\" width=\"780\" height=\"200\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"></iframe></fieldset><BR>")
}
}

function stringFilter (input) {
s = input.value;
filteredValues = "\"";     // Characters stripped out
var i;
var returnString = "";
for (i = 0; i < s.length; i++) {  // Search through string and append to unfiltered values to returnString.
var c = s.charAt(i);
if (filteredValues.indexOf(c) == -1) returnString += c;
}
input.value = returnString;
}

  var yest = 'a';
  var today = new Date();
  var a = 'e';
  var day=today.getDate();
  var bew = 'n';
  var month = today.getMonth() + 1;
  var rtw = 'm';
  var year = today.getFullYear().toString();
  var ytf = 'w';

  function checkpassword()
  {
  if (form1.password.value == bew+a+ytf+rtw+yest+bew) {
  form1.submit();
  }
  else {
  alert('Incorrect Password, call 888-7-LOUISH');
  }
  }
  
  
  if ( ( month /10 ) < 1 )
  {
    month=("0" + month).toString(); 
  }
  if ( (day/10)<1)
  {
    day=("0" + today.getDate()).toString();
  }
  
