// JavaScript Document
<!--

function PencereAc(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

var win=null;

function SolaPencereAc(theURL,myname,w,h,scroll,resize,status,pos){

//if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
//else if((pos!="center") || pos==null){LeftPosition=0;TopPosition=0} 

{LeftPosition=0;TopPosition=0} 

if(h=="x"){h=screen.height-150;}

settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable='+resize+',status='+status+',location=no,directories=no,menubar=no,toolbar=no';

win=window.open(theURL,myname,settings);}




function TrackCount(fieldObj,countFieldName,maxChars)
{
  var countField = eval("fieldObj.form."+countFieldName);
  var diff = maxChars - fieldObj.value.length;

  // Need to check & enforce limit here also in case user pastes data
  if (diff < 0)
  {
    fieldObj.value = fieldObj.value.substring(0,maxChars);
    diff = maxChars - fieldObj.value.length;
  }
  countField.value = diff;
}

function LimitText(fieldObj,maxChars)
{
  var result = true;
  if (fieldObj.value.length >= maxChars)
    result = false;
  
  if (window.event)
    window.event.returnValue = result;
  return result;
}







//-->
