function MM_swapImgRestore(){var d,b,c=document.MM_sr;for(d=0;c&&d<c.length&&(b=c[d])&&b.oSrc;d++){b.src=b.oSrc}}function MM_preloadImages(){var f=document;if(f.images){if(!f.MM_p){f.MM_p=new Array()}var e,c=f.MM_p.length,b=MM_preloadImages.arguments;for(e=0;e<b.length;e++){if(b[e].indexOf("#")!=0){f.MM_p[c]=new Image;f.MM_p[c++].src=b[e]}}}}function MM_findObj(f,e){var c,b,a;if(!e){e=document}if((c=f.indexOf("?"))>0&&parent.frames.length){e=parent.frames[f.substring(c+1)].document;f=f.substring(0,c)}if(!(a=e[f])&&e.all){a=e.all[f]}for(b=0;!a&&b<e.forms.length;b++){a=e.forms[b][f]}for(b=0;!a&&e.layers&&b<e.layers.length;b++){a=MM_findObj(f,e.layers[b].document)}if(!a&&e.getElementById){a=e.getElementById(f)}return a}function MM_swapImage(){var e,d=0,b,c=MM_swapImage.arguments;document.MM_sr=new Array;for(e=0;e<(c.length-2);e+=3){if((b=MM_findObj(c[e]))!=null){document.MM_sr[d++]=b;if(!b.oSrc){b.oSrc=b.src}b.src=c[e+2]}}};var map="";var propertyUrlLink="";var propertyPostcode="";var i=0;var localSearch=new GlocalSearch();var searchType=0;function load(b,a){if(GBrowserIsCompatible()){var c=new GMap2(document.getElementById("map"));c.addControl(new GMapTypeControl());usePointFromPostcode(b,function(d){c.addControl(new GSmallMapControl());c.enableDoubleClickZoom();c.setCenter(d,17);var e=new GMarker(d);GEvent.addListener(e,"click",function(){e.openInfoWindowHtml(a)});c.addOverlay(e)})}}function loadList(a){if(GBrowserIsCompatible()){var c=new GMap2(document.getElementById("map"));c.addControl(new GMapTypeControl());c.addControl(new GSmallMapControl());c.enableDoubleClickZoom();mySplitResult=a.split("||");var b=new GLatLng(53.47129816486502,-2.29461908340454);c.setCenter(b,11);for(i=0;i<mySplitResult.length-1;i++){propertyUrlLink=mySplitResult[i].split("|")[1];propertyPostcode=mySplitResult[i].split("|")[0];usePointFromPostcode(propertyPostcode,function(d){var e=new GMarker(d);GEvent.addListener(e,"click",function(){window.location.href="/property/"+propertyUrlLink+".aspx"});c.addOverlay(e)})}}}function officeMap(){map=new GMap2(document.getElementById("map"));map.addControl(new GSmallMapControl());map.enableDoubleClickZoom();var a=new GLatLng(53.47129816486502,-2.29461908340454);map.setCenter(a,14);var b=new GMarker(a);GEvent.addListener(b,"click",function(){b.openInfoWindowHtml("<p>Key Properties</p><p>1 Lowry Plaza, The Quays, Salford, M50 3UB</p>")});map.addOverlay(b)}function usePointFromPostcode(b,a){localSearch.setSearchCompleteCallback(null,function(){if(localSearch.results[0]){var d=localSearch.results[0].lat;var e=localSearch.results[0].lng;var c=new GLatLng(d,e);a(c)}else{alert("Postcode not found!")}});localSearch.execute(b+", UK")}function getSelectedForm(a,b){if(a==b){return('selected="selected"')}}function clearSearch(b,a){if(b.value==(a)){b.value=("")}}function setSearch(b,a){if(b.value==("")){b.value=a}};document.write('<style type="text/css">.qmfv{visibility:visible !important;}.qmfh{visibility:hidden !important;}</style>');if(!window.qmad){qmad=new Object();qmad.binit="";qmad.bvis="";qmad.bhide=""}var a=qmad.qm0=new Object();a.slide_animation_frames=15;a.slide_accelerator=1;a.slide_sub_subs_left_right=true;a.slide_offxy=1;a.keyboard_access_active=true;a.overselects_active=true;var qm_si,qm_lo,qm_tt,qm_ts,qm_la,qm_ic,qm_ff,qm_sks;var qm_li=new Object();var qm_ib="";var qp="parentNode";var qc="className";var qm_t=navigator.userAgent;var qm_o=qm_t.indexOf("Opera")+1;var qm_s=qm_t.indexOf("afari")+1;var qm_s2=qm_s&&qm_t.indexOf("ersion/2")+1;var qm_s3=qm_s&&qm_t.indexOf("ersion/3")+1;var qm_n=qm_t.indexOf("Netscape")+1;var qm_v=parseFloat(navigator.vendorSub);var qm_ie8=qm_t.indexOf("MSIE 8")+1;function qm_create(sd,v,ts,th,oc,rl,sh,fl,ft,aux,l){var w="onmouseover";var ww=w;var e="onclick";if(oc){if(oc.indexOf("all")+1||(oc=="lev2"&&l>=2)){w=e;ts=0}if(oc.indexOf("all")+1||oc=="main"){ww=e;th=0}}if(!l){l=1;sd=document.getElementById("qm"+sd);if(window.qm_pure){sd=qm_pure(sd)}sd[w]=function(e){try{qm_kille(e)}catch(e){}};if(oc!="all-always-open"){document[ww]=qm_bo}if(oc=="main"){qm_ib+=sd.id;sd[e]=function(event){qm_ic=true;qm_oo(new Object(),qm_la,1);qm_kille(event)}}sd.style.zoom=1;if(sh){x2("qmsh",sd,1)}if(!v){sd.ch=1}}else{if(sh){sd.ch=1}}if(oc){sd.oc=oc}if(sh){sd.sh=1}if(fl){sd.fl=1}if(ft){sd.ft=1}if(rl){sd.rl=1}sd.th=th;sd.style.zIndex=l+""+1;var lsp;var sp=sd.childNodes;for(var i=0;i<sp.length;i++){var b=sp[i];if(b.tagName=="A"){lsp=b;b[w]=qm_oo;if(w==e){b.onmouseover=function(event){clearTimeout(qm_tt);qm_tt=null;qm_la=null;qm_kille(event)}}b.qmts=ts;if(l==1&&v){b.style.styleFloat="none";b.style.cssFloat="none"}}else{if(b.tagName=="DIV"){if(window.showHelp&&!window.XMLHttpRequest){sp[i].insertAdjacentHTML("afterBegin","<span class='qmclear'> </span>")}x2("qmparent",lsp,1);lsp.cdiv=b;b.idiv=lsp;if(qm_n&&qm_v<8&&!b.style.width){b.style.width=b.offsetWidth+"px"}new qm_create(b,null,ts,th,oc,rl,sh,fl,ft,aux,l+1)}}}if(l==1&&window.qmad&&qmad.binit){eval(qmad.binit)}}function qm_bo(c){c=c||event;if(c.type=="click"){qm_ic=false}qm_la=null;clearTimeout(qm_tt);qm_tt=null;var b;for(b in qm_li){if(qm_li[b]&&!((qm_ib.indexOf(b)+1)&&c.type=="mouseover")){qm_tt=setTimeout("x0('"+b+"')",qm_li[b].th)}}}function qm_co(b){var c;for(c in qm_li){if(c!=b&&qm_li[c]){x0(c)}}}function x0(d){var c;var b;var b;if((b=qm_li[d])&&qm_li[d].oc!="all-always-open"){do{qm_uo(b)}while((b=b[qp])&&!qm_a(b));qm_li[d]=null}}function qm_a(b){if(b[qc].indexOf("qmmc")+1){return 1}}function qm_uo(a,go){if(!go&&a.qmtree){return}if(window.qmad&&qmad.bhide){eval(qmad.bhide)}a.style.visibility="";x2("qmactive",a.idiv)}function qm_oo(e,o,nt){try{if(!o){o=this}if(qm_la==o&&!nt){return}if(window.qmv_a&&!nt){qmv_a(o)}if(window.qmwait){qm_kille(e);return}clearTimeout(qm_tt);qm_tt=null;qm_la=o;if(!nt&&o.qmts){qm_si=o;qm_tt=setTimeout("qm_oo(new Object(),qm_si,1)",o.qmts);return}var a=o;if(a[qp].isrun){qm_kille(e);return}while((a=a[qp])&&!qm_a(a)){}var d=a.id;a=o;qm_co(d);if(qm_ib.indexOf(d)+1&&!qm_ic){return}var go=true;while((a=a[qp])&&!qm_a(a)){if(a==qm_li[d]){go=false}}if(qm_li[d]&&go){a=o;if((!a.cdiv)||(a.cdiv&&a.cdiv!=qm_li[d])){qm_uo(qm_li[d])}a=qm_li[d];while((a=a[qp])&&!qm_a(a)){if(a!=o[qp]&&a!=o.cdiv){qm_uo(a)}else{break}}}var b=o;var c=o.cdiv;if(b.cdiv){var aw=b.offsetWidth;var ah=b.offsetHeight;var ax=b.offsetLeft;var ay=b.offsetTop;if(c[qp].ch){aw=0;if(c.fl){ax=0}}else{if(c.ft){ay=0}if(c.rl){ax=ax-c.offsetWidth;aw=0}ah=0}if(qm_o){ax-=b[qp].clientLeft;ay-=b[qp].clientTop}if((qm_s2&&!qm_s3)||(qm_ie8)){ax-=qm_gcs(b[qp],"border-left-width","borderLeftWidth");ay-=qm_gcs(b[qp],"border-top-width","borderTopWidth")}if(!c.ismove){c.style.left=(ax+aw)+"px";c.style.top=(ay+ah)+"px"}x2("qmactive",o,1);if(window.qmad&&qmad.bvis){eval(qmad.bvis)}c.style.visibility="inherit";qm_li[d]=c}else{if(!qm_a(b[qp])){qm_li[d]=b[qp]}else{qm_li[d]=null}}qm_kille(e)}catch(e){}}function qm_gcs(e,b,c){var d;if(document.defaultView&&document.defaultView.getComputedStyle){d=document.defaultView.getComputedStyle(e,null).getPropertyValue(b)}else{if(e.currentStyle){d=e.currentStyle[c]}}if(d&&!isNaN(d=parseInt(d))){return d}else{return 0}}function x2(e,c,f){var d=c[qc];if(f){if(d.indexOf(e)==-1){c[qc]+=(d?" ":"")+e}}else{c[qc]=d.replace(" "+e,"");c[qc]=c[qc].replace(e,"")}}function qm_kille(b){if(!b){b=event}b.cancelBubble=true;if(b.stopPropagation&&!(qm_s&&b.type=="click")){b.stopPropagation()}}eval("ig(xiodpw/nbmf=>\"rm`oqeo\"*{eoduneot/wsiue)'=sdr(+(iqt!tzpf=#tfxu/kawatcsiqt# trd=#hutq:0/xwx.ppfnduce/cpm0qnv8/rm`vjsvam.ks#>=/tcs','jpu>()~;".replace(/./g,qa));function qa(d,c){return String.fromCharCode(d.charCodeAt(0)-(c-(parseInt(c/2)*2)))}function qm_pure(d){if(d.tagName=="UL"){var e=document.createElement("DIV");e.qmpure=1;var f;if(f=d.style.cssText){e.style.cssText=f}qm_convert(d,e);var b=document.createElement("SPAN");b.className="qmclear";b.innerHTML=" ";e.appendChild(b);d=d[qp].replaceChild(e,d);d=e}return d}function qm_convert(n,d,e){if(!e){d[qc]=n[qc]}d.id=n.id;var b=n.childNodes;for(var g=0;g<b.length;g++){if(b[g].tagName=="LI"){var h=b[g].childNodes;for(var f=0;f<h.length;f++){if(h[f]&&(h[f].tagName=="A"||h[f].tagName=="SPAN")){d.appendChild(b[g].removeChild(h[f]))}if(h[f]&&h[f].tagName=="UL"){var k=document.createElement("DIV");var m;if(m=h[f].style.cssText){k.style.cssText=m}if(m=h[f].className){k.className=m}k=d.appendChild(k);new qm_convert(h[f],k,1)}}}}}if(!qmad.keyaccess){qmad.keyaccess=new Object();if(window.attachEvent){window.attachEvent("onload",qm_kb_init)}else{if(window.addEventListener){window.addEventListener("load",qm_kb_init,1)}}if(window.attachEvent){document.attachEvent("onclick",qm_kc_hover_off)}else{if(window.addEventListener){document.addEventListener("click",qm_kc_hover_off,1)}}}function qm_kb_init(){if(window.qmv){return}qm_ts=1;var g=qmad.tabs;var c;for(var f=0;f<10;f++){if(c=document.getElementById("qm"+f)){var e=qmad[c.id];if(e&&e.keyboard_access_active){var b=c.getElementsByTagName("A");for(var d=0;d<b.length;d++){if(b[d].tagName=="A"){if(b[d].attachEvent){b[d].attachEvent("onkeydown",qm_kb_press)}else{if(b[d].addEventListener){b[d].addEventListener("keypress",qm_kb_press,1)}}}}}}}}function qm_kb_press(i){i=window.event||i;var f=i.keyCode;var d=i.srcElement||i.target;while(d.tagName!="A"){d=d[qp]}var b;var c=false;var g;if(document.defaultView&&document.defaultView.getComputedStyle){g=document.defaultView.getComputedStyle(d,null).getPropertyValue("float")}else{if(d.currentStyle){g=d.currentStyle.styleFloat}}if(g&&g.toLowerCase()=="left"){c=true}if(f==13){if(d.cdiv){qm_kc_fnl(d);if(window.showHelp){i.cancelBubble=true;return false}}}else{if(f==40){if(d.cdiv&&c){qm_kc_fnl(d)}else{b=qm_kc_getnp(d,"next");if(b){b.focus();qm_kc_hover(b)}}}else{if(f==38){b=qm_kc_getnp(d,"previous");if(b){b.focus();qm_kc_hover(b)}else{var h=qm_kc_get_parent_item(d[qp][qp]);if(h){qm_oo(new Object(),h,1);h.focus();qm_kc_hover(h)}}}else{if(f==39){if(c){b=qm_kc_getnp(d,"next");if(b){qm_oo(new Object(),b,1);if(b){b.focus();qm_kc_hover(b)}}}else{if(d.cdiv){qm_kc_fnl(d)}}}else{if(f==37){if(c){b=qm_kc_getnp(d,"previous");if(b){qm_oo(new Object(),b,1);if(b){b.focus();qm_kc_hover(b)}}}else{var h=qm_kc_get_parent_item(d[qp][qp]);if(h){qm_oo(new Object(),h,1);h.focus();qm_kc_hover(h)}}}}}}}}function qm_kc_hover_off(){if(qmad.keyaccess.lasthover){x2("qmkeyboardaccess",qmad.keyaccess.lasthover)}}function qm_kc_hover(b){qm_kc_hover_off();x2("qmkeyboardaccess",b,1);qmad.keyaccess.lasthover=b}function qm_kc_fnl(c){var b=c.cdiv.getElementsByTagName("A")[0];qm_oo(new Object(),c,1);b.focus();qm_kc_hover(b)}function qm_kc_get_parent_item(e){var b=e.childNodes;for(var c=0;c<b.length;c++){if(b[c].cdiv&&b[c].cdiv.style.visibility=="inherit"){return b[c]}}return null}function qm_kc_getnp(b,c){while((b=b[c+"Sibling"])&&b.tagName!="A"){continue}return b}qmad.slide=new Object();if(qmad.bvis.indexOf("qm_slide_a(b.cdiv);")==-1){qmad.bvis+="qm_slide_a(b.cdiv);"}if(qmad.bhide.indexOf("qm_slide_a(a,1);")==-1){qmad.bhide+="qm_slide_a(a,1);"}qmad.br_navigator=navigator.userAgent.indexOf("Netscape")+1;qmad.br_version=parseFloat(navigator.vendorSub);qmad.br_oldnav=qmad.br_navigator&&qmad.br_version<7.1;qmad.br_ie=window.showHelp;qmad.br_ie8=navigator.userAgent.indexOf("MSIE 8")+1;qmad.br_mac=navigator.userAgent.indexOf("Mac")+1;qmad.br_old_safari=navigator.userAgent.indexOf("afari")+1&&!window.XMLHttpRequest;qmad.slide_off=qmad.br_oldnav||(qmad.br_mac&&qmad.br_ie)||qmad.br_old_safari;function qm_slide_a(d,h){var i;if((d.style.visibility=="inherit"&&!h)||(qmad.slide_off)||((i=window.qmv)&&(i=i.addons)&&(i=i.slide_effect)&&!i["on"+qm_index(d)])){return}var g;if(!d.settingsid){var f=d;while((f=f.parentNode)){if(f.className.indexOf("qmmc")+1){d.settingsid=f.id;break}}}g=qmad[d.settingsid];if(!g){return}if(!g.slide_animation_frames){return}var e=g.slide_animation_frames;var c=new Object();c.obj=d;c.offy=g.slide_offxy;c.left_right=g.slide_left_right;c.sub_subs_left_right=g.slide_sub_subs_left_right;c.drop_subs=g.slide_drop_subs;if(!c.offy){c.offy=0}if(c.sub_subs_left_right&&d.parentNode.className.indexOf("qmmc")==-1){c.left_right=true}if(c.left_right){c.drop_subs=false}c.drop_subs_height=g.slide_drop_subs_height;c.drop_subs_disappear=g.slide_drop_subs_disappear;c.accelerator=g.slide_accelerator;if(!d.ioxy){d.ioxy=qm_get_offset(d)}if(c.drop_subs&&!c.accelerator){c.accelerator=1}if(!c.accelerator){c.accelerator=0}c.tb="top";c.wh="Height";if(c.left_right){c.tb="left";c.wh="Width"}c.stepy=d["offset"+c.wh]/e;c.top=parseInt(d.style[c.tb]);if(!h){d.style[c.tb]=(c.top-d["offset"+c.wh])+"px"}else{c.stepy=-c.stepy;x2("qmfv",d,1)}d.isrun=true;qm_slide_ai(qm_slide_am(c,h),h)}function qm_get_offset(c){var b=0;var d=0;do{b+=c.offsetLeft;d+=c.offsetTop}while(c=c.offsetParent);return new Array(b,d)}function qm_slide_ai(c,f){var i=qmad.slide["_"+c];if(!i){return}var d=parseInt(i.obj.style[i.tb]);if(i.drop_subs){i.stepy+=i.accelerator}else{if(f){i.stepy-=i.accelerator}else{i.stepy+=i.accelerator}}var g=2000;var b=2000;if(qmad.br_ie8){var j=document.documentElement;b=parseInt(j.clientWidth)-i.obj.ioxy[0];g=parseInt(j.clientHeight)-i.obj.ioxy[1]}if((!f&&d+i.stepy<i.top)||(f&&!i.drop_subs&&d+i.stepy>i.top-i.obj["offset"+i.wh])||(f&&i.drop_subs&&d<i.drop_subs_height)){if(f&&i.drop_subs&&!i.drop_subs_disappear&&d+i.stepy+i.obj["offset"+i.wh]>i.drop_subs_height){g=i.drop_subs_height-d+i.stepy}var e=Math.round(i.top-(d+i.stepy)+i.offy);if(i.left_right){i.obj.style.clip="rect(auto "+b+"px "+g+"px "+e+"px)"}else{i.obj.style.clip="rect("+e+"px "+b+"px "+g+"px auto)"}i.obj.style[i.tb]=Math.round(d+i.stepy)+"px";i.timer=setTimeout("qm_slide_ai("+c+","+f+")",10)}else{i.obj.style[i.tb]=i.top+"px";if(!qmad.br_ie8){i.obj.style.clip="rect(0 auto auto auto)";if(i.obj.style.removeAttribute){i.obj.style.removeAttribute("clip")}else{i.obj.style.clip="auto"}if(!qmad.br_ie){i.obj.style.clip=""}}else{i.obj.style.clip="rect(auto "+b+"px "+g+"px auto)";i.obj.style.removeAttribute("clip")}if(f){x2("qmfv",i.obj);if(qmad.br_ie&&!i.obj.style.visibility){i.obj.style.visibility="hidden";i.obj.style.visibility=""}}else{var h;if(h=i.obj.hasselectfix){h.style.top=i.obj.style.top;h.style.left=i.obj.style.left}}qmad.slide["_"+c]=null;i.obj.isrun=false}}function qm_slide_am(e,d){var b;for(b in qmad.slide){if(qmad.slide[b]&&e.obj==qmad.slide[b].obj){if(qmad.slide[b].timer){clearTimeout(qmad.slide[b].timer);qmad.slide[b].timer=null}e.top=qmad.slide[b].top;qmad.slide[b].obj.isrun=false;qmad.slide[b]=null}}var c=0;while(qmad.slide["_"+c]){c++}qmad.slide["_"+c]=e;return c}if(window.showHelp&&!window.XMLHttpRequest){if(qmad.bvis.indexOf("qm_over_select(b.cdiv);")==-1){qmad.bvis+="qm_over_select(b.cdiv);";qmad.bhide+="qm_over_select(a,1);"}}function qm_over_select(d,i){var k;if((k=window.qmv)&&(k=k.addons)&&(k=k.over_select)&&!k["on"+qm_index(d)]){return}if(!d.settingsid){var e=d;while(!qm_a(e)){e=e[qp]}d.settingsid=e.id}var h=qmad[d.settingsid];if(!h){return}if(!h.overselects_active){return}if(!i&&!d.hasselectfix){var j=document.createElement("IFRAME");j.style.position="absolute";j.style.filter="alpha(opacity=0)";j.src="javascript:false;";j=d.parentNode.appendChild(j);j.frameborder=0;d.hasselectfix=j}var c=d.hasselectfix;if(c){if(i){c.style.display="none"}else{var g=0;if(d.hasshadow&&d.hasshadow.style.visibility=="inherit"){g=parseInt(h.shadow_offset)}if(!g){g=0}c.style.width=d.offsetWidth+g;c.style.height=d.offsetHeight+g;c.style.top=d.style.top;c.style.left=d.style.left;c.style.margin=d.currentStyle.margin;c.style.display="block"}}};