
var popUpWin=0;function popUpWindow(URLStr,left,top,width,height)
{if(popUpWin)
{if(!popUpWin.closed)popUpWin.close();}
popUpWin=open(URLStr,'popUpWin','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');}
function trackLink(elLnk){var regLocal=new RegExp("^https?:\\/\\/"+window.location.hostname);var path=elLnk.href.replace(regLocal,'');if(path&&path.indexOf('/')===0){pageTracker._trackPageview(path);}}
function switchImage(imgName,imgSrc)
{if(document.images)
{if(imgSrc!="none")
{document.images[imgName].src=imgSrc;}}}
function validate_email(field,alerttxt)
{with(field)
{apos=value.indexOf("@");dotpos=value.lastIndexOf(".");if(apos<1||dotpos-apos<2)
{alert(alerttxt);return false;}
else{return true;}}}
function validate_form(thisform)
{with(thisform)
{if(validate_email(from,"please enter a valid e-mail address!")==false)
{from.focus();return false;}}}
function twitter(){if(typeof renderTwitters!='function')(function(){var browser=(function(){var b=navigator.userAgent.toLowerCase();return{safari:/webkit/.test(b),opera:/opera/.test(b),msie:/msie/.test(b)&&!(/opera/).test(b),mozilla:/mozilla/.test(b)&&!(/(compatible|webkit)/).test(b)};})();var guid=0;var readyList=[];var isReady=false;window.renderTwitters=function(obj,options){function node(e){return document.createElement(e);}
function text(t){return document.createTextNode(t);}
var target=document.getElementById(options.twitterTarget);var data=null;var ul=node('ul'),li,statusSpan,timeSpan,i,max=obj.length>options.count?options.count:obj.length;for(i=0;i<max&&obj[i];i++){data=getTwitterData(obj[i]);if(options.ignoreReplies&&obj[i].text.substr(0,1)=='@'){max++;continue;}
li=node('li');if(options.template){li.innerHTML=options.template.replace(/%([a-z_\-\.]*)%/ig,function(m,l){var r=data[l]+""||"";if(l=='text'&&options.enableLinks)r=linkify(r);return r;});}else{statusSpan=node('span');statusSpan.className='twitterStatus';timeSpan=node('span');timeSpan.className='twitterTime';statusSpan.innerHTML=obj[i].text;if(options.enableLinks==true){statusSpan.innerHTML=linkify(statusSpan.innerHTML);}
timeSpan.innerHTML=relative_time(obj[i].created_at);if(options.prefix){var s=node('span');s.className='twitterPrefix';s.innerHTML=options.prefix.replace(/%(.*?)%/g,function(m,l){return obj[i].user[l];});li.appendChild(s);li.appendChild(text(' '));}
li.appendChild(statusSpan);li.appendChild(text(' '));li.appendChild(timeSpan);}
ul.appendChild(li);}
if(options.clearContents){while(target.firstChild){target.removeChild(target.firstChild);}}
target.appendChild(ul);};window.getTwitters=function(target,id,count,options){guid++;if(typeof id=='object'){options=id;id=options.id;count=options.count;}
if(!count)count=1;if(options){options.count=count;}else{options={};}
if(!options.timeout&&typeof options.onTimeout=='function'){options.timeout=10;}
if(typeof options.clearContents=='undefined'){options.clearContents=true;}
if(options.withFriends)options.withFriends=false;options['twitterTarget']=target;if(typeof options.enableLinks=='undefined')options.enableLinks=true;window['twitterCallback'+guid]=function(obj){if(options.timeout){clearTimeout(window['twitterTimeout'+guid]);}
renderTwitters(obj,options);};ready((function(options,guid){return function(){if(!document.getElementById(options.twitterTarget)){return;}
var url='http://www.twitter.com/statuses/'+(options.withFriends?'friends_timeline':'user_timeline')+'/'+id+'.json?callback=twitterCallback'+guid+'&count=20&cb='+Math.random();if(options.timeout){window['twitterTimeout'+guid]=setTimeout(function(){if(options.onTimeoutCancel)window['twitterCallback'+guid]=function(){};options.onTimeout.call(document.getElementById(options.twitterTarget));},options.timeout*1000);}
var script=document.createElement('script');script.setAttribute('src',url);document.getElementsByTagName('head')[0].appendChild(script);};})(options,guid));};DOMReady();function getTwitterData(orig){var data=orig,i;for(i in orig.user){data['user_'+i]=orig.user[i];}
data.time=relative_time(orig.created_at);return data;}
function ready(callback){if(!isReady){readyList.push(callback);}else{callback.call();}}
function fireReady(){isReady=true;var fn;while(fn=readyList.shift()){fn.call();}}
function DOMReady(){if(browser.mozilla||browser.opera){document.addEventListener("DOMContentLoaded",fireReady,false);}else if(browser.msie){document.write("<scr"+"ipt id=__ie_init defer=true src=//:><\/script>");var script=document.getElementById("__ie_init");if(script){script.onreadystatechange=function(){if(this.readyState!="complete")return;this.parentNode.removeChild(this);fireReady.call();};}
script=null;}else if(browser.safari){var safariTimer=setInterval(function(){if(document.readyState=="loaded"||document.readyState=="complete"){clearInterval(safariTimer);safariTimer=null;fireReady.call();}},10);}}
function relative_time(time_value){var values=time_value.split(" "),parsed_date=Date.parse(values[1]+" "+values[2]+", "+values[5]+" "+values[3]),date=new Date(parsed_date),relative_to=(arguments.length>1)?arguments[1]:new Date(),delta=parseInt((relative_to.getTime()-parsed_date)/1000),r='';function formatTime(date){var hour=date.getHours(),min=date.getMinutes()+"",ampm='AM';if(hour==0){hour=12;}else if(hour>12){hour-=12;ampm='PM';}
if(min.length==1){min='0'+min;}
return hour+':'+min+' '+ampm;}
function formatDate(date){var ds=date.toDateString().split(/ /),mon=ds[1],day=ds[2],dayi=parseInt(day),year=date.getFullYear(),thisyear=(new Date()).getFullYear(),th='th';if((dayi%10)==1&&day.substr(0,1)!='1'){th='st';}else if((dayi%10)==2&&day.substr(0,1)!='1'){th='nd';}else if((dayi%10)==3&&day.substr(0,1)!='1'){th='rd';}
if(day.substr(0,1)=='0'){day=day.substr(1);}
return mon+' '+day+th+(thisyear!=year?', '+year:'');}
delta=delta+(relative_to.getTimezoneOffset()*60);if(delta<5){r='less than 5 seconds ago';}else if(delta<30){r='half a minute ago';}else if(delta<60){r='less than a minute ago';}else if(delta<120){r='1 minute ago';}else if(delta<(45*60)){r=(parseInt(delta/60)).toString()+' minutes ago';}else if(delta<(2*90*60)){r='about 1 hour ago';}else if(delta<(24*60*60)){r='about '+(parseInt(delta/3600)).toString()+' hours ago';}else{if(delta<(48*60*60)){r=formatTime(date)+' yesterday';}else{r=formatTime(date)+' '+formatDate(date);}}
return r;}
function linkify(s){var entities={'"':'&quot;','&':'&amp;','<':'&lt;','>':'&gt;'};return s.replace(/[A-Za-z]+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&\?\/.=]+/g,function(m){return m.link(m);}).replace(/(^|[^\w])(@[\d\w\-]+)/g,function(d,m1,m2){return m1+'@<a href="http://twitter.com/'+m2.substr(1)+'">'+m2.substr(1)+'</a>';}).replace(/"&<>/,function(m){return entities[m];});}})();}
function squotes(){r=Math.floor(Math.random()*7);;if(r==1)
{document.write('<em>&ldquo;On average every property we manage is tenanted for at least 50 weeks a year&rdquo;</em>');}
else if(r==2)
{document.write('<em>&ldquo;4 out of 5 of the tenants we source renew their contracts&rdquo;</em>');}
else if(r==3)
{document.write('<em>&ldquo;80% of our AST tenants stay in the property for longer than 12 months&rdquo;</em>');}
else if(r==4)
{document.write('<em>&ldquo;Over 95% of the properties we source tenants for are also managed by Young London&rdquo;</em>');}
else if(r==5)
{document.write('<em>&ldquo;Young London manages hundreds of properties – NONE are in rent arrears dispute&rdquo;</em>');}
else if(r==6)
{document.write('<em>&ldquo;YoungLondon.co.uk receives 400%+ more traffic than Google&rsquo;s benchmark for the property industry&rdquo;</em>');}
else if(r==7)
{document.write('<em>&ldquo;Young London let 90 brand new units at the myBASE1 development, whilst maintaining market leading rents for the area&rdquo;</em>');}
else
{document.write('<em>&ldquo;1 in 10 of Young London’s properties are let to corporate tenants&rdquo;</em>');}}
function servicequotes(){r=Math.floor(Math.random()*6);;if(r==1)
{document.write('<em>&ldquo;We insist that tenants have insurance cover for landlords&lsquo; appliances, fixtures and fittings&rdquo;</em><br /><br /><div style="font-size: 0.8em;">Just one of the things that makes us different - ask us about the rest on +44(0)845 356 1000</div>');}
else if(r==2)
{document.write('<em>&ldquo;If a prospective tenant doesn&lsquo;t pass our rigorous credit scoring and referencing, they&lsquo;ll be rejected, asked to provide a guarantor or required to pay rent in advance&rdquo;</em><br /><br /><div style="font-size: 0.8em;">Just one of the things that makes us different - ask us about the rest on +44(0)845 356 1000</div>');}
else if(r==3)
{document.write('<em>&ldquo;We can use lucrative short term lets to change the renewal date of landlords&lsquo; ASTs to optimise rental income&rdquo;</em><br /><br /><div style="font-size: 0.8em;">Just one of the things that makes us different - ask us about the rest on +44(0)845 356 1000</div>');}
else if(r==4)
{document.write('<em>&ldquo;We can hold landlords&lsquo; property insurance details, enabling us to act immediately in the event of an emergency and reassure tenants of a swift resolution&rdquo;</em><br /><br /><div style="font-size: 0.8em;">Just one of the things that makes us different - ask us about the rest on +44(0)845 356 1000</div>');}
else if(r==5)
{document.write('<em>&ldquo;Every inventory includes a photographic record and exhaustive room by room condition report; that&lsquo;s why we&lsquo;ve had only 4 deposit disputes since 2003&rdquo;</em><br /><br /><div style="font-size: 0.8em;">Just one of the things that makes us different - ask us about the rest on +44(0)845 356 1000</div>');}
else if(r==6)
{document.write('<em>&ldquo;At the start of every tenancy, a walkthrough is carried out and copies of appliance instruction manuals are provided to minimise accidental damage through misuse&rdquo;</em><br /><br /><div style="font-size: 0.8em;">Just one of the things that makes us different - ask us about the rest on +44(0)845 356 1000</div>');}
else
{document.write('<em>&ldquo;Proactively managing renewals avoids properties falling empty when demand is low, minimising voids.  Eg. Over Christmas only 2 tenancies ended; in both cases new tenants moved in the same day&rdquo;</em><br /><br /><div style="font-size: 0.8em;">Just one of the things that makes us different - ask us about the rest on +44(0)845 356 1000</div>');}}
function rightpic(){r=Math.floor(Math.random()*6);;if(r==1)
{document.write('<img src="http://www.younggroup.co.uk/images/right_pic_1.jpg" width="354px" height="561px" />');}
else if(r==2)
{document.write('<img src="http://www.younggroup.co.uk/images/right_pic_2.jpg" width="354px" height="561px" />');}
else if(r==3)
{document.write('<img src="http://www.younggroup.co.uk/images/right_pic_3.jpg" width="354px" height="561px" />');}
else if(r==4)
{document.write('<img src="http://www.younggroup.co.uk/images/right_pic_4.jpg" width="354px" height="561px" />');}
else if(r==5)
{document.write('<img src="http://www.younggroup.co.uk/images/right_pic_5.jpg" width="354px" height="561px" />');}
else
{document.write('<img src="http://www.younggroup.co.uk/images/right_pic_6.jpg" width="354px" height="561px" />');}}
function rtest(){r=Math.floor(Math.random()*6);;if(r==1)
{document.write('<a href="http://www.younggroup.co.uk/about/testimonial.htm" title="link to testimonials"><em>&ldquo;Young Group has excellent local knowledge, and the staff have professional backgrounds in accountancy and surveying.  It really sets them apart from other companies offering advice to landlords.&rdquo;</em></a>');}
else if(r==2)
{document.write('<a href="http://www.younggroup.co.uk/about/testimonial.htm" title="link to testimonials"><em>&ldquo;I was impressed that Young Group took time to explain every step of the process to me.  They really assessed my specific needs, and made me feel like I was their only client.&rdquo;</em></a>');}
else if(r==3)
{document.write('<a href="http://www.younggroup.co.uk/about/testimonial.htm" title="link to testimonials"><em>&ldquo;We took full advantage of the range of services that Young Group offer - finance, furnishings and lettings - and were extremely impressed by the level of service. They look after all of or rental properties in London and everything is done exactly when it needs to be.&rdquo;</em></a>');}
else if(r==4)
{document.write('<a href="http://www.younggroup.co.uk/about/testimonial.htm" title="link to testimonials"><em>&ldquo;I&rsquo;m a lazy investor; I wanted to get into the property market, but without the hassle and groundwork involved. A portfolio manager was the ideal way of doing this, and Young Group were extremely thorough in their research.&rdquo;</em></a>');}
else if(r==5)
{document.write('<a href="http://www.younggroup.co.uk/about/testimonial.htm" title="link to testimonials"><em>&ldquo;You get a high level of service from companies that are family-owned, and this is certainly true of Young Group. Neil and Sylvana&rsquo;s company provides an excellent service, and I have already recommended them to friends and family.&rdquo;</em></a>');}
else if(r==6)
{document.write('<a href="http://www.younggroup.co.uk/about/testimonial.htm" title="link to testimonials"><em>&ldquo;As I&rsquo;m not local, this is a great hassle-free solution, which allows me to benefit from the investment, without the headache of being a landlord.&rdquo;</em></a>');}
else
{document.write('<a href="http://www.younggroup.co.uk/about/testimonial.htm" title="link to testimonials"><em>&ldquo;I&lsquo;m considering investing with Young Group again in the next few months. It&rsquo;s a long-term strategy, and I am already reaping the benefits.&rdquo;</em></a>');}}