/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

              _   _  ___  ____          ___  _____ 
             | | | ||_ _||  _ \        |_ _||_   _|
             | |_| | | | | |_) | _____  | |   | |
             |  _  | | | |  __/ |_____| | |   | |
             |_| |_||___||_|           |___|  |_|
 
   
        (c) Concept, vormgeving, ontwerp en uitvoering
         ~~ HIP-IT BV (Media Laboratory) Amsterdam ~~
           Tel. +31-(0)20-617 02 82, info@hip-it.nl
                        www.hip-it.nl

(c) 1999-2008 HIP-IT Media Produkties BV
(c) Redouan Salmoun

All rights reserved! Alle rechten voorbehouden. Niets uit deze uitgave
mag zonder voorafgaande schriftelijke toestemming van HIP-IT
verveelvoudigd en/of openbaar worden gemaakt!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
AttachEvent(document,'keydown',checkEsc,false);var rubrieken;var cs=ts='';var gogoblogdiv=mvcth=thid=1;mvcthobjc=0;mvcthobj={1:{1:'ffffff',2:'122F7E',3:'ffffff',4:'bg-leiden.gif',5:'main-1-1.jpg',6:'Sahara'}};function initHome(){getTheme(sthid,2);if(MSIE){temp=navigator.appVersion.split('MSIE');version=parseFloat(temp[1]);if(version<7){writer('toppng','');document.getElementById('toppng').style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://stcm.nl/home/img/top.png')";writer('png1','');document.getElementById('png1').style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://stcm.nl/home/img/play1.png')";writer('png4','');document.getElementById('png4').style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://stcm.nl/home/img/play2.png')";writer('png5','');document.getElementById('png5').style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://stcm.nl/home/img/play2.png')";writer('png6','');document.getElementById('png6').style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://stcm.nl/home/img/play2.png')"}}wbds_ads.load();setTimeout('location.reload()',305000)}for(a in mvcthobj){cs+=mvcthobj[a][1]+',';ts+=mvcthobj[a][6]+',';++mvcthobjc}function setTheme(thid){mvcsetcookie('thid',thid);getTheme(thid)}function getTheme(thid,firstload){sthid=thid?thid:mvcgetcookie('thid');firstload=firstload?firstload:false;if((!sthid||sthid==false)||(typeof mvcthobj[sthid]=='undefined')){sthid=Math.ceil(Math.random()*mvcthobjc)}mvcth=mvcthobj[sthid];if(firstload==false||firstload==1){document.body.style.backgroundColor='#'+mvcth[1];document.body.style.backgroundImage='url("'+media['static']+'/home/img/th/'+mvcth[4]+'")'}if(firstload==false||firstload==2){document.getElementById('footer').style.backgroundColor='#'+mvcth[2];document.getElementById('footer').style.color='#'+mvcth[3]}if(firstload==false){document.getElementById('headerfl').changePic(mvcth[5]);document.getElementById('userstatusfl').setBg(mvcth[2],mvcth[3]);for(i=1;i<=3;++i){if(document.getElementById('tbh'+i+'fl')){document.getElementById('tbh'+i+'fl').setBg(mvcth[2],mvcth[3])}}}}function FL_logout(sHASH,lHASH){if(log_uit()==true){ganaar('http://mijn.marokko.nl/login.php?'+sHASH+'nav=logout&logouthash='+lHASH+'&redirect=home.marokko.nl')}}function FL_focus(){document.body.focus()}function tbh(d,c,tc,t){toonFlash(184,26,media['static']+'/home/img/tbh',d,{vars:{c:c,tc:tc,t:t},attr:{id:d+'fl'}})}function checkEsc(){if(window.event.keyCode==27){if(document.getElementById('dialog')){sluitDivPop()}}}function toonBlogInfo(bid){if(MSIE){var version=0;if(navigator.appVersion.indexOf('MSIE')!=-1){temp=navigator.appVersion.split('MSIE');version=parseFloat(temp[1]);if(version<7){gogoblogdiv=false}}}if(gogoblogdiv==true){var positie=haalPositie(document.getElementById('blogs'+bid));positie[0]=positie[0]-20;positie[1]=positie[1]+35-document.documentElement.scrollTop;document.getElementById('blogh'+bid).style.left=positie[0]+'px';document.getElementById('blogh'+bid).style.top=positie[1]+'px';document.getElementById('blogs'+bid).style.border='1px solid #FF0000';expand('blogh'+bid)}}function verbergBlogInfo(bid){contract('blogh'+bid);document.getElementById('blogs'+bid).style.border='1px solid #BFC5D1'}