<!--

function Pop(name){
	self.name = "comment";
	var sizX	= 495;
	var sizY	= 575;
	var posX	= 80;
	var posY	= 80;
	var popwin = window.open(name,'popwin','width='+sizX+',height='+sizY+',directories=no,resizable=no,resize=no,menubar=no,scrollbars=yes,toolbar=no,status=no,screenX=' + posX + ',screenY=' + posY +',left=' + posX + ',top=' + posY);
	popwin.focus();
	}

function focusThis(){
window.focus();
timer = setTimeout('focusThis()', 500);
}
		
		
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Steve | http://jsmadeeasy.com/ 
Static elements reworked for XHTML compliance by J. Martin | http://www.polyamor.de/  */
function getObject(obj) {
  var theObj;
  if(document.all) {
    if(typeof obj=="string") {
      return document.all(obj);
    } else {
      return obj.style;
    }
  }
  if(document.getElementById) {
    if(typeof obj=="string") {
      return document.getElementById(obj);
    } else {
      return obj.style;
    }
  }
  return null;
}

function toCount(entrance,exit,text,characters) {
  var entranceObj=getObject(entrance);
  var exitObj=getObject(exit);
  var length=characters - entranceObj.value.length;
  if(length <= 0) {
    length=0;
    text='<span class="charalert"> '+text+' </span>';
    entranceObj.value=entranceObj.value.substr(0,characters);
  }
  exitObj.innerHTML = text.replace("{CHAR}",length);
}

			
// -->


