if(typeof jQuery!='undefined'){$(document).ready(function(){$(document).keyup(function(e){if(e.which==113)
window.open('http://'+document.URL.split('/')[2]+'/typo3/');});});$(document).ready(function(){$('a[rel~=external], a.external').click(function(){relation=$(this).attr('rel');if($(this).attr('href')){options='';address=$(this).attr('href');if(relation.match(/\[([0-9]{2,4})\,([0-9]{2,4})\]/)){options+='';size=relation.split('[');size=size[1].replace(/\]/,'');size=size.split(',');options+='width='+size[0]+', height='+size[1]+',left=200,top=200';}
window.open($(this).attr('href'),'',options);return false;}});});$(document).ready(function(){var size;var ratio;var orientation;var properties=new Array;resize=function(){w=$(window).width();h=$(window).height();r=w/h;o=r;if(w<=1024){size='size_tiny';}else if(w<=1280){size='size_small';}else if(w<=1440){size='size_medium';}else if(w<=1600){size='size_large';}else{size='size_huge';}
if(r<1.6){ratio='ratio_normal';}else{ratio='ratio_wide';}
if(o<1){orientation='orientation_portrait';}else{orientation='orientation_landscape';}
if(properties.length>0){$.each(properties,function(i,property){$('html').removeClass(property);});}
properties=new Array;properties.push(size);properties.push(ratio);properties.push(orientation);$.each(properties,function(i,property){$('html').addClass(property);});}
$(window).resize(function(){resize();});resize();});}
