function test() {
alert('ok')
} 
function notEmpty (s) {
if (s != '')
return true;
alert ('Alan bos birakilamaz!');
 return false;
}
function inRange (s,l,u) {
if (s >= l && s<=u)
return true;
alert ('Alanin degeri ' +l+ ' ile ' +u+ ' arasinda olmalidir!');
return false;
}
function hasLen (s,l,u) {
if (s.length >= l && s.length<=u)
return true;
alert ('Alanin uzunlugu ' +l+ ' ile ' +u+ ' arasinda olabilir!');
return false;
}
function isNumeric (s) {
var i;
for (i=0;i<s.length;i++) {
if ((s.charCodeAt(i)<48 || s.charCodeAt(i)>57) && s.charCodeAt(i)!=46) {
alert('Alana sadece nümerik karakterler yazilabilir!')
return false;
};
};
return true;
}
function validation (obj, ctrls, chars) {
if (obj) {
for (c=0;c<ctrls.length;c++) {
if (!eval(ctrls[c].replace(/#/gi,"'" + obj.value + "'"))) {
obj.focus ();
return false;
}
}
}
return true;
}
function validate_form (frm) {
if (frm) {
for (e=0;e<frm.elements.length;e++){
if (eval('typeof (frm.validate_' + frm.elements[e].name + ')') == 'object') {
if (!eval(eval('frm.validate_' + frm.elements[e].name + '.value'))){
return false;
};
};
};
};
return true;
}
  

 function fncBreakOutOfFrames() {
   if (top.document.location.href != document.location.href) {
     top.document.location.href = document.location.href;
	 //parent.window.location.href  = document.location.href;
   }
 }