var GDC_OVERLAY={};GDC_OVERLAY.box=function(){var p,m,b,x,fn,ic,iu,iw,ih,ia,f=0;return{show:function(c,w,h,a){if(!f){p=document.createElement('div');p.id='overlaybox';m=document.createElement('div');m.id='overlaymask';b=document.createElement('div');b.id='overlaycontent';x=document.createElement('div');x.id='overlayclose';document.body.appendChild(m);document.body.appendChild(p);p.appendChild(b);document.body.appendChild(x);x.onclick=GDC_OVERLAY.box.hide;m.onclick=GDC_OVERLAY.box.hide;window.onresize=GDC_OVERLAY.box.resize;f=1;}
b.style.display='none';p.style.width=p.style.height='100px';m.style.position='absolute';m.style.display='none';m.style.top='0';m.style.left='0';m.style.height='100%';m.style.width='100%';m.style.backgroundColor='#000';m.style.zIndex='1500';p.style.position='absolute';p.style.display='none';p.style.background='#FFF url(http://media.groupdc.be/folder/gdc.showfolder-preload.gif) no-repeat 50% 50%';p.style.border='10px solid #FFF';p.style.zIndex='2000';x.style.position='absolute';x.style.top='0';x.style.left='0';x.style.height='30px';x.style.width='30px';x.style.background='url(http://media.groupdc.be/folder/gdc.showfolder-close.gif) no-repeat 50% 50%';x.style.zIndex='2010';x.style.cursor='pointer';this.mask();ic=c;iw=w;ih=h;ia=a;this.alpha(m,1,55,3);},fill:function(c,w,h,a){this.psh(c,w,h,a);},psh:function(c,w,h,a){if(a){if(!w||!h){var x=p.style.width,y=p.style.height;b.innerHTML=c;p.style.width=w?w+'px':'';p.style.height=h?h+'px':'';b.style.display='';w=parseInt(b.offsetWidth);h=parseInt(b.offsetHeight);b.style.display='none';p.style.width=x;p.style.height=y;}else{b.innerHTML=c;}
this.size(p,w,h);}else{p.style.backgroundImage='none';}},hide:function(){GDC_OVERLAY.box.alpha(p,-1,0,3);GDC_OVERLAY.box.alpha(x,-1,0,3);},resize:function(){GDC_OVERLAY.box.pos();GDC_OVERLAY.box.mask();},mask:function(){m.style.height=GDC_OVERLAY.page.total(1)+'px';m.style.width='';m.style.width=GDC_OVERLAY.page.total(0)+'px';},pos:function(){var t=(GDC_OVERLAY.page.height()/2)-(p.offsetHeight/2);t=t<10?10:t;p.style.top=(t+GDC_OVERLAY.page.top())+'px';p.style.left=(GDC_OVERLAY.page.width()/2)-(p.offsetWidth/2)+'px';x.style.top=(t+GDC_OVERLAY.page.top())-(15)+'px';x.style.left=(GDC_OVERLAY.page.width()/2)+(p.offsetWidth/2)-(15)+'px';},alpha:function(e,d,a){clearInterval(e.ai);if(d==1){e.style.opacity=0;e.style.filter='alpha(opacity=0)';e.style.display='block';this.pos();}
e.ai=setInterval(function(){GDC_OVERLAY.box.ta(e,a,d)},20);},ta:function(e,a,d){var o=Math.round(e.style.opacity*100);if(o==a){clearInterval(e.ai);if(d==-1){e.style.display='none';e==p?GDC_OVERLAY.box.alpha(m,-1,0,2):b.innerHTML=p.style.backgroundImage='';}else{if(e==m){this.alpha(p,1,100);this.alpha(x,1,100);}else{GDC_OVERLAY.box.fill(ic,iw,ih,ia);}}}else{var n=Math.ceil((o+((a-o)*.5)));n=n==1?0:n;e.style.opacity=n/100;e.style.filter='alpha(opacity='+n+')';}},size:function(e,w,h){e=typeof e=='object'?e:T$(e);clearInterval(e.si);var ow=e.offsetWidth,oh=e.offsetHeight,wo=ow-parseInt(e.style.width),ho=oh-parseInt(e.style.height);var wd=ow-wo>w?0:1,hd=(oh-ho>h)?0:1;e.si=setInterval(function(){GDC_OVERLAY.box.ts(e,w,wo,wd,h,ho,hd)},20);},ts:function(e,w,wo,wd,h,ho,hd){var ow=e.offsetWidth-wo,oh=e.offsetHeight-ho;if(ow==w&&oh==h){clearInterval(e.si);p.style.backgroundImage='none';b.style.display='block';}else{if(ow!=w){var n=ow+((w-ow)*.5);e.style.width=wd?Math.ceil(n)+'px':Math.floor(n)+'px'}
if(oh!=h){var n=oh+((h-oh)*.5);e.style.height=hd?Math.ceil(n)+'px':Math.floor(n)+'px'}
this.pos();}}}}();GDC_OVERLAY.page=function(){return{top:function(){return document.documentElement.scrollTop||document.body.scrollTop},width:function(){return self.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},height:function(){return self.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},total:function(d){var b=document.body,e=document.documentElement;return d?Math.max(Math.max(b.scrollHeight,e.scrollHeight),Math.max(b.clientHeight,e.clientHeight)):Math.max(Math.max(b.scrollWidth,e.scrollWidth),Math.max(b.clientWidth,e.clientWidth))}}}();var GDC_ALLELEMENTS=new Array();function GDC_GETELEMENTS(){var allElements=document.body.getElementsByTagName('a');for(var i=0;i<allElements.length;i++){if(allElements[i].className=="gdcfolder"){allElements[i].onclick=function(){GDC_OVERLAY.box.show('<iframe src="'+this.getAttribute("href")+'" width="960" height="600" frameborder="0" scrolling="no"></iframe>',0,0,1);return false;}}}}
window.onload=function(){GDC_GETELEMENTS();}
