<!--

MM_reloadPage(true);

function openImage(imgW, imgH, imgSRC) { //v3.0

wnd =  window.open('','','width=' + imgW + ',height=' + imgH);
wnd.window.moveTo((screen.availWidth - imgW)/2, screen.availHeight/2 - (imgH/2));
//wnd.window.moveTo((, 0);

wnd.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">');
wnd.document.write('<HTML>');
wnd.document.write('<HEAD>');
wnd.document.write('<TITLE>Click Here to Close</TITLE>');
wnd.document.write('<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">');
wnd.document.write('</HEAD>');

wnd.document.write('<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><A style="  cursor: default;" HREF="#" ONCLICK="javascript: window.close();"><IMG width=' + imgW + ' height=' + imgH + ' border="0" SRC="' + imgSRC + '" alt="Click Here to Close"></A></BODY>');
wnd.document.write('</HTML>');

return false;

}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

function edit2(object) {
    var edit={}
    edit.src = object.value;
    edit.object = object;
    edit.styledata=document.styleSheets
    window.showModalDialog("rte/popup_editor.html", edit,"dialogWidth:800px;dialogHeight:600px;help:no;status:no;scroll:no;resizable:yes;")
}


function confirmDel () {
    if (confirm('Please confirm'))
        {
            return true;
        }
    else
        {
            return false;
        }
}


function image_preview(url,width_image,height_image)
{
	demobetroom = window.open(url, "Image_Preview", "scrollbars=no,menubar=no,resizable=0,location=no,width="+width_image+",height="+height_image);
	demobetroom.focus() ;
}
//-->
