
function initAjaxBody(){Element.show('progressMsg');}
function resetAjaxBody(){Effect.SlideDown('ajaxBody');Effect.Fade('progressMsg');}
function initProgress(){Element.show('progressMsg');}
function resetProgress(){Effect.Fade('progressMsg');}
function reportError(){}
function printwin(filename,title){return overlib(OLiframeContent(filename,700,550,'if1',1,'auto'),WIDTH,510,TEXTPADDING,0,BORDER,0,STICKY,SCROLL,CLOSECLICK,CAPTIONPADDING,4,CAPTION,title,MIDX,0,RELY,0,STATUS,title);}
function popwin(filename,title){return overlib(OLiframeContent(filename,600,450,'if1',1,'auto'),WIDTH,510,TEXTPADDING,0,BORDER,0,STICKY,SCROLL,CLOSECLICK,CAPTIONPADDING,4,CAPTION,title,MIDX,0,RELY,0,STATUS,title);}
function tips(text){return overlib(text,BUBBLE,BUBBLETYPE,'quotation',STATUS,'quotation popup',TEXTSIZE,'x-small');}
function confirmDelete(text){if(confirm(text)){return true;}else{return false;}}
function viewImage(id,name,index,h1,w1){NewWindow=window.open("","NewOne","HEIGHT=440, WIDTH=470, scrollbars=yes, resizable=yes,top=5,left=5");NewWindow.document.write("<HTML><HEAD><TITLE>www.GulfProperty.net</TITLE></HEAD>");NewWindow.document.write("<BODY BGCOLOR='black'>");NewWindow.document.write("<P ALIGN=CENTER VALIGN=TOP>");NewWindow.document.write("<FONT FACE='Arial' SIZE='+2' COLOR='White'><B>");NewWindow.document.write(name);NewWindow.document.write("</B></FONT><br><br>");NewWindow.document.write("<IMG SRC=imageServlet?action=propertyObject&id=");NewWindow.document.write(id);NewWindow.document.write("&index=");NewWindow.document.write(index);NewWindow.document.write(" />");NewWindow.document.write("</P>");NewWindow.document.write("<center><FORM><INPUT TYPE='button' VALUE='Close This Window' onClick='self.close()'>");NewWindow.document.write("</FORM></CENTER></BODY></HTML>");NewWindow.document.write("</BODY></HTML>");NewWindow.document.close();NewWindow.focus();}
function noSubmit(){return false;}
function set(target){document.forms[0].action.value=target;document.forms[0].submit();}
function submit(target)
{document.getElementById('formDiv').style.display='none';document.getElementById('progressDiv').style.display='block';document.forms[0].action.value=target;document.forms[0].submit();}
function showProgress()
{document.getElementById('formDiv').style.display='none';document.getElementById('progressDiv').style.display='block';}
function confirmCancel(){if(confirm("To cancel press Ok?")){return true;}else{return false;}}
function confirmCancel(text){if(confirm(text)){return true;}else{return false;}}
function pause(numberMillis){var dialogScript='window.setTimeout('+' function () { window.close(); }, '+numberMillis+');';var result=window.showModalDialog('javascript:document.writeln('+'"<script>'+dialogScript+'<'+'/script>")');}