function jsValidate(f) { if (f.__name.value == '' || f.__email.value == '') { alert('Before we can process your enquiry, you will need to fill in the required fields so we have enough information to contact you. Please fill out all fields with an asterix (*) next to them.'); return false; } return true; } function MM_findObj(n, d) { 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(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } function changeSlide(direction,img,sld){ imgArr = eval(img); if(direction == "up" && sld < (imgArr.length-1)){ sld++; eval("MM_swapImage(img,'','"+imgArr[sld]+"',1)"); return sld; } else if (direction == "down" && sld > 0){ sld--; eval("MM_swapImage(img,'','"+imgArr[sld]+"',1)"); return sld; } return 0; } function jsEnlarge(pi_groupid) { eval ('gs_photo = gs_photo_' + pi_groupid); eval ('gs_width = gi_width_' + pi_groupid); eval ('gs_height = gi_height_' + pi_groupid); eval ('gs_caption = gs_caption_' + pi_groupid); if (gs_photo == '') return; oWin = window.open("","newWindow","width=" + gs_width + ",height=" + (gs_height + 0) + ",resizable=1,scrollbars=no,left=100,top=100"); oWin.document.open(); oWin.document.write(' Duncan Realty'); oWin.document.write('
\"'
'); oWin.document.write('

' + gs_caption + '
'); oWin.document.write(''); oWin.document.close(); oWin.focus(); }

Related Links

Partner Links