<!--

function show_hide_div(state,object) {
//alert(object);
if(state) { object.style.display="block"; }
else { object.style.display="none"; }
}


function open_new_window(url,w,h,scrollbars) {
winLeft = (screen.width-800)/2; 
winTop = (screen.height-720)/2; 
new_window = window.open(url,'my_window','scrollbars='+scrollbars+',toolbar=0,menubar=0,resizable=0,dependent=0,status=0,width='+w+',height='+h+',left='+winLeft+',top='+winTop);
}

function go_to_delete(text,url) { if (confirm(text)) { location = url; } }

function checkAll(formId,cName,check) { for (i=0,n=formId.elements.length;i<n;i++) if (formId.elements[i].className.indexOf(cName) !=-1) formId.elements[i].checked = check; }

function preview_window(url)
{ newwindow=window.open(url,'preview_window','width='+(screen.availWidth-150)+',height='+(screen.availHeight-150)+',left=10,right=10,resizable=yes,scrollbars=yes,toolbar=yes,status=yes,location=yes');
  newwindow.focus();
}

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;
}


-->