function get_obj(name,document,formonly){var obj=getele(name,document,formonly);if(obj===null)js_error("Object could not be found on this page.",name);return obj;};function is_obj(name,document,formonly){if(getele(name,document,formonly)===null){return false;}else{return true;};};function getele(n,d,f){var p,i,x;if(!d)d=document;if((p=n.indexOf("?"))>0&&parent.frames.length){d=parent.frames[n.substring(p+1)].document;n=n.substring(0,p);};if(!f&&!(x=d[n])&&d.all)x=d.all[n];for(i=0;!x&&i<d.forms.length;i++)x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++)x=getele(n,d.layers[i].document);if(!f&&!x&&d.getElementById)x=d.getElementById(n);if(typeof x=="undefined")x=null;return x;};function count_props(o){var c=0;for(var k in o){if(o.hasOwnProperty(k)){++c;};};return c;};function set_text(object,text,append){if(!append){getele(object).innerHTML=text;}else{theobject=getele(object);theobject.innerHTML=theobject.innerHTML+text;};};function get_text(object){return getele(object).innerHTML;};function isinteger(val){if(val===null||typeof val=="undefined"||val.length==0)return false;if(isNaN(val))return false;return(setinteger(val)===parseFloat(val)?true:false);};function setinteger(val){return parseInt(val,10);};function js_error(msg,errcode,flags){if(!flags)flags=new String("");flag_silent=(flags.indexOf("SILENT")==-1?false:true);flag_continue=(flags.indexOf("CONTINUE")==-1?false:true);if(!flag_silent){msg="Sorry, there was a problem...\n\n- "+msg;if(errcode)msg+="  (CODE: "+errcode+")";remove_url=location.protocol+"//"+location.host+jsglobals.pathprefix;url=document.location.href.substr(remove_url.length+1);if(url.length>150)url="(copy it from the browser's address line)";msg+="\n\nPlease contact the website developer if this is a persistent problem."+"\nWhen reporting errors please always provide:\n"+"\n- the address: "+url+"\n- date and time: "+jsglobals.servertime+"\n- as detailed an error description as possible"+"\n- the steps you went through to get the error";alert(msg);};if(!flag_continue){window.onerror=function(msg,url,line){if(!flag_silent){alert("Extended error information:\n\nAddress: "+url+"\nLine: "+line);};return true;};throw"Further execution has been cancelled on purpose.";};};function check_support(obj,obj_ref,continue_on_fail){if(obj)return true;if(continue_on_fail){return false;}else{js_error("Sorry, your browser does not seem to comply with the technical standards used by this website. Please upgrade to newer version.",obj_ref);};};function stop_execution(){js_error("-SILENT ERROR TO STOP EXECUTION-","-none-","SILENT");}
/*** Powered by phpJSO -- http://www.comrax.com/phpJSO ***/
/*** Copyright © 2006 WinterNet Studio, Allan Jensen (www.winternet.no). All rights reserved. (Except on code not produced by WinterNet Studio) ***/