function GetTripleRow(D,C,B,A){return"<tr valign='top' align='left'><td>"+GetSmartImageHtml(D,A)+"</td><td>"+GetSmartImageHtml(C,A)+"</td><td>"+GetSmartImageHtml(B,A)+"</td></tr>"}function GetSmartImageHtml(B,A){Today=new Date();var C=(B+Today.getMilliseconds()).replace(/\/*\.*/gi,"");return"<img id='p"+C+"'   name='p"+C+"'  src='"+B+"'  onerror=\"image_error(this,"+A+')"  onload="preview_loaded(this)" style="display: none; height: 150px;cursor: hand;"  onclick="window.open(this.src)"/>'}function GetSmartImageHtmlNoError(B,A){Today=new Date();var C=(B+Today.getMilliseconds()).replace(/\/*\.*\:*\~*\&*/gi,"");if(A){return"<img id='p"+C+"'  ondragstart=\"InD()\" name='p"+C+"'  src='"+B+'\'  onload="preview_loaded(this)" style="display: none; height: 150px;cursor: hand;" onclick="window.open(this.src)"/>'}else{return"<img id='p"+C+"' name='p"+C+"'  src='"+B+'\'  onload="preview_loaded(this)" style="display: none; height: 150px;cursor: hand;" onclick="window.open(this.src)"/>'}}function GetSmartImageHtmlUniversal(E,C,B){Today=new Date();var F=(E+Today.getMilliseconds()).replace(/\/*\.*\:*\~*\&*/gi,"");var D="";if(C){D=' ondragstart="InD()" '}var A="";if(B!=""){A="  onerror=\"image_error2(this,'"+B+"')\" "}return"<img id='p"+F+"'  "+D+A+"  name='p"+F+"'  src='"+E+'\'  onload="preview_loaded(this)" style="display: none; height: 150px;cursor: hand;" onclick="window.open(this.src)"/>'}function GetSingleLine(A){return A+"<br/>"}function GetFieldAndFieldRow(A,C){var B=A;if(A!=""){B=B+":"}return"<tr><td align='left'><b>"+B+"</b></td><td align='left'>"+C+"</td></tr>"}function GetFieldInNCellsRow(A,B){return"<tr><td colspan='"+B+"' align='left'>"+A+"</td></tr>"}function GetHidden(A,B){return"<input type='hidden' name='"+A+"' value='"+B+"'/>"}function GetFieldAndTextboxRow(B,C,A){return"<tr><td align='right'>"+B+":</td><td align='left'><input name='"+C+"' type='text' style=\"border-style:Solid;width:350px;\" value='"+A+"'/></td></tr>"}function GetFieldAndTextareaRow(B,C,A){return"<tr><td align='right'>"+B+":</td><td align='left'><textarea rows='10' cols='40'  name='"+C+"' >"+A+"</textarea></td></tr>"}function GetLoginAndPasswordRow(){var A="<tr><td colspan='2'>If you have username and password, please enter them here. If you do not have username and password,<br/> but stll would like to suggest a correction or submit additional information, leave these fields blank</td></tr>";A+=GetFieldAndTextboxRow("<font color='#FF0000'>Username</font>","login","");A+=GetFieldAndFieldRow("<font color='#FF0000'>Password</font>","<INPUT TYPE='PASSWORD' id='pwd' NAME=\"pwd\">");return A}function LgnLnk(){return'<A HREF="javascript:ShowLoginInfo();">Login</a>'}function ShowLoginInfo(){alert("Please contact John to get your login and password.\nJohn's contact information is located on the 'Contact' Tab at the top of the page.\nIf you do have login and password, please enter them in the 'Settings' Tab, the 'Authorization' section, and press the 'Authorize' button. ")}function GetNWLink(A,B){return"<a target='_blank' href='"+B+"'>"+A+"</a>"}function GetUniqueId(){var A=new Date();return(A.getMilliseconds()+"").replace(/\/*\.*\:*\~*\&*/gi,"")}function GetCondoGoogleAd(){var A=GetUniqueId();return OutputFrame("condo"+A,"google/hawaiicondos.htm?id="+A,100)}function GetInfoGoogleAd(){var A=GetUniqueId();return OutputFrame("info"+A,"google/hawaiirealestateinformation.htm?id="+A,100)}function GetSFHGoogleAd(){var A=GetUniqueId();return OutputFrame("house"+A,"google/hawaiihouse.htm?id="+A,100)}function OutputFrame(C,B,A){return"<iframe id='frame"+C+"' src='"+B+"' height="+A+" marginheight='3' scrolling='no' marginwidth='3' height='0'  style='background-color:Transparent'   frameborder='0'  width='100%'></iframe>"};