CINXE.COM

Compulsory hostel accommodation on the campuses

<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> <meta http-equiv="pragma" content="no-cache"> <meta name="robots" content="noarchive"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="canonical" href="https://www.universityworldnews.com/post.php?story=20151120170610380" /> <title>Compulsory hostel accommodation on the campuses</title> <meta property="twitter:site" content="@uniworldnews" /> <meta property="twitter:card" content="summary_large_image" /> <meta property="og:site_name" content="University World News"> <meta property="og:title" content="Compulsory hostel accommodation on the campuses"> <meta property="og:description" content="The Nigerian government is finalising plans to compel universities to provide student hostels on all campuses. Julius Okojie, executive secretary of t..."> <meta property="og:type" content="article"> <meta name="keywords" content="university, news, academic, higher education, education, transformative, leadership, academic freedom"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <link rel="search" href="https://www.universityworldnews.com/fullsearch.php" title="Advanced Search"> <link rel="stylesheet" href="https://www.universityworldnews.com/mobile/css_reset.css" /> <link rel="stylesheet" href="https://www.universityworldnews.com/mobile/css_main_desktop.css" /> <link rel="stylesheet" href="https://www.universityworldnews.com/mobile/bulma-uwn.css"> <link rel="stylesheet" href="https://www.universityworldnews.com/mobile/superfish.css"> <script src="https://www.universityworldnews.com/mobile/bankersbox.js"></script> <script src="https://www.universityworldnews.com/mobile/jquery-3.3.1.min.js"></script> <script defer data-domain="universityworldnews.com" src="https://plausible.io/js/plausible.file-downloads.outbound-links.pageview-props.js" event-pageid="article-africa"></script> <style> .container { max-width: 960px; width: 960px } .container.is-fluid { margin-left: 64px; margin-right: 64px; max-width: none; width: auto } .mobile-hidden { display: none; } .desktop-hidden { display: none; } .always-hidden { display: none; } .always-visible { display: block; } @media (min-width: 960px) { .mobile-hidden { display: block; } } @media (max-width: 960px) { .desktop-hidden { display: block; } } .navbar.has-shadow { box-shadow: 0 2px 0 0 #000; } </style> <meta property="og:image" content="https://www.universityworldnews.com/images/uwn-ball-320.png"> <script>dataLayer = [{ "page_type": "article", "device_type": "desktop", "pub": "africa", "publish_year": "2015", "publish_month": "2015-11", "authors": [ "Tunde Fatunde" ], "writers": "Tunde Fatunde", "pageCategory": [], "africa_edition": "163" }];</script><!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-MWC5B4F');</script> <!-- End Google Tag Manager --></head> <body class="layout-documentation page-layout"> <div id="wrapper"><div id="mainsection"> <div id="the-top"></div> <div id="ad1"> <div style="padding-top:12px;padding-bottom:6px;text-align:center;border-bottom:1px solid #999"><a href="https://ads.universityworldnews.com/bannerclick.php?id=nafsanov2024ldr" id="zone-leaderboard-1-link"><img src="https://ads.universityworldnews.com/bannerview.php?id=nafsanov2024ldr" alt="Leaderboard" id="zone-leaderboard-1-image" style="width:970px;height:90px"></a></div> </div> <div style="float:right;padding-top:36px;padding-right:12px"><form name="searchbox" action="fullsearch.php" method="get"><input style="width:190px" class="input is-rounded" type="text" placeholder="Search" name="query"><input type="submit" style="height: 0px; width: 0px; border: none; padding: 0px;" hidefocus="true" value="Search"/><input type="hidden" name="mode" value="search"></form></div> <div id="header" style="border-bottom:2px solid #000;padding-top:8px;height:112px"><a href="https://www.universityworldnews.com/page.php?page=UW_Main"><img src="https://www.universityworldnews.com/mobile/uwn_logo_oldAfrica_Edition.png" style="" alt=""></a> </div> <div style="border-bottom:2px solid #000;"> <ul class="sf-menu" id="main_menu" style="font-size:14.5px"> <li> <a href="page.php?page=UW_Main">Global</a> <ul> <li><a href="page.php?page=UW_Main">Home</a></li> <li><a href="topic-page.php?topic=News">News</a></li> <li><a href="page.php?page=Coronavirus_Hub">Coronavirus Crisis</a></li> <li><a href="topic-page.php?topic=WorldRoundup">World round-up</a></li> <li><a href="topic-page.php?topic=Commentary">Commentary</a></li> <li><a href="topic-page.php?topic=World_Blog">World Blog</a></li> <li><a href="topic-page.php?topic=Feature">Features</a></li> <li><a href="page.php?page=Trans_Lead">Transformative Leadership</a></li> <li><a href="topic-page.php?topic=Academic_Freedom">Academic Freedom</a></li> <li><a href="special-report.php?publication=global">Special Reports</a></li> <li><a href="topic-page.php?topic=StudentView">Student View</a></li> <li><a href="topic-page.php?topic=U-Say">Letters</a></li> <li><a href="page.php?page=subscribe">Subscribe Newsletter</a></li> </ul> </li> <li> <a href="page.php?page=Africa_Edition">Africa</a> <ul> <li><a href="page.php?page=Africa_Edition">Home</a></li> <li><a href="topic-page.php?topic=AfrNews">Africa News</a></li> <li><a href="page.php?page=Coronavirus_Africa_Hub">Coronavirus Africa</a></li> <li><a href="topic-page.php?topic=AfrCommentary">Africa Commentary</a></li> <li><a href="topic-page.php?topic=AfrFeatures">Africa Features</a></li> <li><a href="page.php?page=Student_Hub_Africa">Africa Student View</a></li> <li><a href="page.php?page=subscribe">Subscribe Newsletter</a></li> <li><a href="special-report.php?publication=africa">Special Reports</a></li> </ul> </li> <li><a href="page.php?page=Asia_Hub">Asia</a></li> <li><a href="page.php?page=SDGs_Hub">SDGs</a></li> <li><a href="page.php?page=Edtech_AI_Hub">Edtech/AI</a></li> <li><a href="page.php?page=Commentary_Hub">Commentary</a></li> <li> <a href="special-report.php?publication=global">Special Reports</a> <ul> <li><a href="special-report.php?publication=global">Global Special Reports</a></li> <li><a href="special-report.php?publication=africa">Africa Special Reports</a></li> <li><a href="page.php?page=Coronavirus_Hub">Coronavirus Crisis</a></li> <li><a href="page.php?page=Coronavirus_Africa_Hub">Coronavirus Africa</a></li> </ul> </li> <li> <a href="https://www.universityworldnews.com/page.php?page=sponsor-partner-profservices">Partnerships</a> <ul> <li><a href="https://www.universityworldnews.com/page.php?page=sponsor-partner-profservices">Creative Services</a></li> <li><a href="https://www.universityworldnews.com/page.php?page=Advertising">Advertising</a></li> </ul> </li> <li> <a href="fullsearch.php">Search</a> <ul> <li><a href="fullsearch.php">Advanced Search</a></li> <li><a href="fullsearch.php?mode=country_list">Articles by Country</a></li> <li><a href="newsletter-archives.php?pub=UWorld">Global Newsletter Archives</a></li> <li><a href="newsletter-archives.php?pub=Africa_Edition">Africa Newsletter Archives</a></li> </ul> </li> <li> <a href="page.php?page=About_Us">About Us</a> <ul> <li><a href="page.php?page=About_Us">About UWN</a></li> <li><a href="page.php?page=subscribe">Subscribe Newsletter</a></li> <li><a href="page.php?page=Advertising">Advertising</a></li> <li><a href="page.php?page=sponsor-partner-profservices">Sponsorship</a></li> <li><a href="page.php?page=Terms_Conditions">Terms & Conditions</a></li> <li><a href="page.php?page=Contact_Us_Intro">Contact Us</a></li> </ul> </li> </ul> </div> <div class="wdiv p8px" id="content"> <table><tr> <td style="width:235px;padding-right:10px;padding-top:6px" valign="top"><div style="border-top:2px solid #000;;border-bottom:2px solid #000;margin-top:20px;margin-bottom:18px;padding:8px;">Join us on <a href="https://www.facebook.com/UniversityWorldNews/" target="_fb"><b>Facebook</b></a><br>Follow us on <a href="https://twitter.com/uniworldnews" target="_tw"><b>Twitter</b></a></div><br><div class="section-head-white-on-dark botmar8">Featured Employers</div><div style="border:1px solid #fff; margin-bottom: 4px"><a href="https://ads.universityworldnews.com/bannerclick.php?id=uaeulogo223"><img src="https://ads.universityworldnews.com/bannerview.php?id=uaeulogo223" alt="UAEU Logo" width="223" height="74" border="0"></a></div> </td> <td style="width:489px;margin-left:10px;border-left:1px solid #999;padding-left:10px;padding-right:10px" valign="top"> <div><div class="article-body"><div class="story-country">NIGERIA</div> <img src="https://www.universityworldnews.com/mobile/bookmark_icon44.png" alt="bookmark" id="bmi" style="float:right" onclick="bookmark('20151120170610380','Compulsory hostel accommodation on the campuses');"> <h1 class="botmar4 biggerheading">Compulsory hostel accommodation on the campuses</h1> <div class="byline-country botmar12"><b><a href="https://www.universityworldnews.com/fullsearch.php?mode=search&writer=Tunde+Fatunde" style="white-space: nowrap">Tunde Fatunde</a></b>&nbsp;&nbsp;<span style="white-space: nowrap">21 November 2015</span></div> <div style="height:39px"><script src="https://platform.linkedin.com/in.js" type="text/javascript">lang: en_US</script> <div style="float:left;margin-right:8px"><script type="IN/Share" data-url="https://www.universityworldnews.com/post.php?story=20151120170610380"></script></div><div style="float:left;margin-right:8px"><a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button" data-show-count="true">Tweet</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script></div><iframe src="https://www.facebook.com/plugins/share_button.php?href=https%3A%2F%2Fwww.universityworldnews.com%2Fpost.php%3Fstory%3D20151120170610380&layout=button_count&size=small&mobile_iframe=true&width=106&height=28&appId" width="106" height="28" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allow="encrypted-media"></iframe></div> The Nigerian government is finalising plans to compel universities to provide student hostels on all campuses. Julius Okojie, executive secretary of the National Universities Commission, said the move was “aimed at ensuring better living conditions for students with a view to producing better graduates”.<br /> <br /> While some academics welcomed the development, others doubted the viability of such a laudable project in this period of economic recession.<br /> <br /> At a graduation ceremony at the federal University of Uyo in the Niger Delta, Nigerian President Muhammadu Buhari, represented by Okojie, announced that the government would soon pass a law mandating universities to provide accommodation for all students on all campuses.<br /> <br /> <B>Backdrop</B><br /> <br /> In an interview with <I>University World News</I> Professor Ibiyemi Olatunji-Bello, former acting vice-chancellor of Lagos State University, spoke her mind on the matter.<br /> <br /> Taking a stroll down memory lane, she said the Ashby Commission had recommended that the federal <a href="http://www.unilag.edu.ng" target="_new" class="bluelink">University of Lagos</a> start as non-residential campus when it was created in 1962. In 1984 the law setting up <a href="http://www.lasu.edu.ng" target="_new" class="bluelink">Lagos State University</a> also created a non-residential institution.<br /> <br /> There were two major reasons for this. First, university authorities felt that funds for building hostels should rather be spent on more faculties and equipping them. Second, houses around campuses were converted by private owners into student hostels. Thus the universities did not have to shoulder student accommodation responsibilities. .<br /> <br /> Olatunji-Bello, an alumni of the University of Lagos, recalled that the councils of the two universities had later reconsidered the need for student hostels. “Realities on the ground dictated that the non-residential status be abandoned or modified.” <br /> <br /> At the University of Lagos, most of the early students were from outside the city, “hence the urgent need to accommodate them on campus”.<br /> <br /> At Lagos State University, a growing student population and cult activities created tense relations between students and landlords. This necessitated building hostels for females on campus. In 2011, a government white paper directed the university to be fully residential.<br /> <br /> <B>Many advantages</B><br /> <br /> Olatunji-Bello supported Buhari’s initiative to gradually accommodate all students on campus, and elaborated its advantages.<br /> <br /> Students’ grades could improve because they would have designated study spaces in halls of residence, which would also encourage the emergence of role models and peer study groups in an environment conducive to academic excellence.<br /> <br /> For many students, university was the first taste of independence from parental control, and living on campus would create a supervised environment.<br /> <br /> Further, living on campus broadened social networking and connected a diversity of students, encouraging friendships, and provided students with opportunities to develop skills outside the classroom such as interpersonal relationships, critical thinking, conflict resolution and communication.<br /> <br /> Olatunji-Bello admitted that there were disadvantages, and they included the problems of bullying, of feeble-minded students who succumbed to peer pressure, and cults. But such matters could be prevented by strong security.<br /> <br /> <B>Challenges</B><br /> <br /> Many of her colleagues agree, but harbour concerns. “In the face of the country’s current dwindling economic fortunes, how can the government finance such a colossal project?” asked one of her colleagues.<br /> <br /> Given the enormous costs involved, Olatunji-Bello suggested public-private partnerships in which developers would be given a mandate to build and manage hostels for set periods in order to achieve investment returns and avoid students – who are mostly from poor homes – being charged high rentals.<br /> <br /> “The government needs only to provide the land and basic infrastructure like roads, water and security lights. This would immensely assist the management to focus on matters related strictly to academic excellence.”<br /> <br /> There is another pedagogical angle to the issue.<br /> <br /> “The notion of better and well-equipped graduates must be placed in its proper context,” said McNezer Fasehun, a Lagos lecturer, lawyer, journalist and poet, citing a character in Wole Soyinka’s play <I>The Interpreters</I> who declares that “a degree does not make a graduate”. <br /> <br /> Does a mechanical engineer have to depend on a roadside mechanic to fix his car? Would the hostel system ensure an interface between home backgrounds and university? Could a new curriculum encourage mentoring, character formation and a career path?<br /> <br /> Such questions must be considered, Fasehun argued, before talking of “better and well-equipped graduates”.<br /> </div><br><script src="https://www.universityworldnews.com/subscribe2.js"></script> <div style="background:#ffe57d;padding:8px" id="subform"> <span style="font-family:arial"><b>Receive email updates from UWN</b></span> <br> <input type="text" name="email" id="email" value="" style="width:65%;font-size:16px" placeholder="enter your email address"> &nbsp;&nbsp;<input type="submit" style="background:#000;color:#fff;padding:4px;font-size:20px; border:1px solid #000;font-weight:normal;border-radius:8px;font-family:arial" name="action" id="signupbutton" value="Sign Up" onclick="return formCheck();"> <br> <input type="checkbox" id="globalnl" name="globalnl" value="1"> Global newsletters &nbsp;&nbsp; <input type="checkbox" id="africanl" name="africanl" value="1"> Africa newsletters &nbsp;&nbsp; <input type="checkbox" id="otheremails" name="otheremails" value="1"> Other<br> &nbsp;&nbsp;&nbsp;&nbsp;<i>(other includes related events and webinars)</i> <br><br> <div id="formresponsearea">Data will be processed according to our standard <a style="color:#777;font-size:13px" href="https://www.universityworldnews.com/index.php?page=Terms_Conditions" target="_blank">terms&nbsp;&amp;&nbsp;conditions</a>.</div> </div> </div> <div></div> </td> <td style="width:261px;margin-left:10px;border-left:1px solid #999;padding-left:10px" valign="top"><div style="text-align:center;"><a href="https://ads.universityworldnews.com/bannerclick.php?id=uaeuoct2024"><img src="https://ads.universityworldnews.com/bannerview.php?id=uaeuoct2024" style="" alt="uaeuoct2024"></a></div><div style="text-align:center;"><a href="https://ads.universityworldnews.com/bannerclick.php?id=nafsanov2024"><img src="https://ads.universityworldnews.com/bannerview.php?id=nafsanov2024" style="" alt="nafsanov2024"></a></div><div style="text-align:center;"><a href="https://ads.universityworldnews.com/bannerclick.php?id=uukconfnov2024"><img src="https://ads.universityworldnews.com/bannerview.php?id=uukconfnov2024" style="" alt="uukconfnov2024"></a></div><div style="text-align:center;"><a href="https://ads.universityworldnews.com/bannerclick.php?id=abetsympoct2024"><img src="https://ads.universityworldnews.com/bannerview.php?id=abetsympoct2024" style="" alt="abetsympoct2024"></a></div><div style="text-align:center;"><a href="https://ads.universityworldnews.com/bannerclick.php?id=stelunijul2023"><img src="https://ads.universityworldnews.com/bannerview.php?id=stelunijul2023" style="width:250px;height:400px" alt="stelunijul2023"></a></div><div style="text-align:center;"><a href="https://ads.universityworldnews.com/bannerclick.php?id=gulfconftlfnov2024"><img src="https://ads.universityworldnews.com/bannerview.php?id=gulfconftlfnov2024" style="" alt="gulfconftlfnov2024"></a></div><div style="text-align:center;"><a href="https://ads.universityworldnews.com/bannerclick.php?id=hetl"><img src="https://ads.universityworldnews.com/bannerview.php?id=hetl" style="width:250px;height:250px" alt="hetl"></a></div><div style="" class="botmar12 botmar8"> <table><tbody><tr> <td style="width:100%" class="" valign="top"> <div class="section-head-white-on-dark botmar8">Sponsored Article</div> <div class="article-brief"> <div class=""> <img src="https://ads.universityworldnews.com/bannerview.php?id=20241122075114204spon" style="width:250px;padding-bottom:12px" alt="PHOTO"> <div class="botmar4"><h1><a href="https://ads.universityworldnews.com/bannerclick.php?id=20241122075114204spon" style="color:#000;" class="">Unlocking potential – Diversity initiatives in STEM education</a></h1></div> <div class="byline-country botmar12">Dr Jeffrey Fergus and Dr Rochelle Williams, ABET</div> </div> </div> </td> </tr></tbody></table> </div> <div style="" class="botmar12 botmar8"> <table><tbody><tr> <td style="width:100%" class="" valign="top"> <div class="section-head-white-on-dark botmar8">Sponsored Article</div> <div class="article-brief"> <div class=""> <img src="https://ads.universityworldnews.com/bannerview.php?id=2024111309583869spon" style="width:250px;padding-bottom:12px" alt="PHOTO"> <div class="botmar4"><h1><a href="https://ads.universityworldnews.com/bannerclick.php?id=2024111309583869spon" style="color:#000;" class="">How research can support cyber and data security and privacy</a></h1></div> <div class="byline-country botmar12">IEEE Computer Society</div> </div> </div> </td> </tr></tbody></table> </div> <div style="" class="botmar12 botmar8"> <table><tbody><tr> <td style="width:100%" class="" valign="top"> <div class="section-head-white-on-dark botmar8">Sponsored Article</div> <div class="article-brief"> <div class=""> <img src="https://ads.universityworldnews.com/bannerview.php?id=20240716155250119spon" style="width:250px;padding-bottom:12px" alt="PHOTO"> <div class="botmar4"><h1><a href="https://ads.universityworldnews.com/bannerclick.php?id=20240716155250119spon" style="color:#000;" class="">Patent of catalyst for natural gas reforming technologies</a></h1></div> <div class="byline-country botmar12">UAE University Staff</div> </div> </div> </td> </tr></tbody></table> </div> <div style="" class="botmar12 botmar8"> <table><tbody><tr> <td style="width:100%" class="" valign="top"> <div class="section-head-white-on-dark botmar8">Sponsored Article</div> <div class="article-brief"> <div class=""> <img src="https://ads.universityworldnews.com/bannerview.php?id=20240625145758878spon" style="width:250px;padding-bottom:12px" alt="PHOTO"> <div class="botmar4"><h1><a href="https://ads.universityworldnews.com/bannerclick.php?id=20240625145758878spon" style="color:#000;" class="">Sustainable solutions to rising residential energy consumption</a></h1></div> <div class="byline-country botmar12">UAE University staff</div> </div> </div> </td> </tr></tbody></table> </div> </td> </tr></table> </div> <div id="footer" class="wdiv p8px" style="font-size:16px;line-height:24px;background:#000;color:#fff"> <a href="page.php?page=UW_Main">Global</a> | <a href="page.php?page=Africa_Edition">Africa</a> | <a href="page.php?page=Asia_Hub">Asia</a> | <a href="page.php?page=SDGs_Hub">SDGs</a> | <a href="page.php?page=Edtech_AI_Hub">Edtech/AI</a> | <a href="page.php?page=Commentary_Hub">Commentary</a> | <a href="topic-page.php?topic=World_Blog">World Blog</a> | <a href="special-report.php?publication=global">Special Reports</a> | <a href="page.php?page=subscribe">Subscribe</a> | <a href="page.php?page=Careers_at_UWN">Careers at UWN</a> <br> <a href="bookmarks.php">Bookmarks</a> | <a href="page.php?page=About_Us">About Us</a> | <a href="page.php?page=Advertising">Advertise</a> | <a href="page.php?page=sponsor-partner-profservices">Sponsorship</a> | <a href="page.php?page=Terms_Conditions">Terms & Conditions</a> | <a href="page.php?page=Contact_Us_Intro">Contact</a> | <a href="https://www.universityworldnews.com/fb/">Facebook</a> | <a href="version-force.php?ver=mobile">Mobile Site</a> </div> <div id="footer" class="wdiv p8px" style="font-size:12px;background:#000;color:#fff;border-top:1px solid #444">Copyright 2024 University World News</div> </div> </div><!-- mainsection --> </div><!-- wrapper --> <script> </script> <script> var bb = new BankersBox(1); function bookmark(sid, stitle) { url = 'https://www.universityworldnews.com/post.php?story='+sid; bb.sadd("bookmark", sid+'|'+stitle); alert('Bookmark Saved'); document.getElementById("bmi").style.opacity = "0.5"; logbookmarkclick(sid); } function logbookmarkclick(sid) { ga('send', 'event', 'Bookmark', 'Clicked', 'Bookmark/'+sid); return true; } function logwhatsappclick(sid) { ga('send', 'event', 'Whatsapp', 'Shared', 'Whatsapp/'+sid); return true; } </script> </body> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-20469064-1', 'auto'); ga('set', 'page', '/post.php?story=20151120170610380'); ga('send', 'pageview'); </script><script> window.addEventListener('load', () => { ready2go(); }); var bviewnotrackurl = 'https://ads.universityworldnews.com/bannerview2.php?id='; var bviewtrackurl = 'https://ads.universityworldnews.com/bannerview.php?id='; var bclicktrackurl = 'https://ads.universityworldnews.com/bannerclick.php?id='; var tracked = new Set(); var ads = new Array(); ads[1] = new Array('nafsanov2024ldr', 'uaeuoct2024ldr'); ads[2] = new Array('uaeuoct2024', 'nafsanov2024', 'abetsympoct2024', 'stelunijul2023'); ads[3] = new Array('nafsanov2024', 'abetsympoct2024', 'stelunijul2023', 'uaeuoct2024'); ads[4] = new Array('uukconfnov2024', 'gulfconftlfnov2024'); ads[5] = new Array('gulfconftlfnov2024', 'uukconfnov2024'); ads[6] = new Array('abetsympoct2024', 'stelunijul2023', 'uaeuoct2024', 'nafsanov2024'); var zids = new Array(); zids[1] = 'leaderboard-1'; zids[2] = 'rsb1-1'; zids[3] = 'rsb1-2'; zids[4] = 'rsb2-1'; zids[5] = 'rsb2-2'; zids[6] = 'rsb1-3'; var adnos = new Array(); adnos[1] = 0; adnos[2] = 0; adnos[3] = 0; adnos[4] = 0; adnos[5] = 0; adnos[6] = 0; var adcounts = new Array(); adcounts[1] = 1; adcounts[2] = 3; adcounts[3] = 3; adcounts[4] = 2; adcounts[5] = 2; adcounts[6] = 3; var periods = new Array(); periods[1] = 15; periods[2] = 15; periods[3] = 15; periods[4] = 15; periods[5] = 15; periods[6] = 15; var firstperiods = new Array(); firstperiods[1] = 15; firstperiods[2] = 10; firstperiods[3] = 10; firstperiods[4] = 15; firstperiods[5] = 15; firstperiods[6] = 10; var isfirst = new Array(); isfirst[1] = true; isfirst[2] = true; isfirst[3] = true; isfirst[4] = true; isfirst[5] = true; isfirst[6] = true; var rolledover = new Array(); rolledover[1] = false; rolledover[2] = false; rolledover[3] = false; rolledover[4] = false; rolledover[5] = false; rolledover[6] = false; function ready2go() { if (document.getElementById("zone-"+zids[1]+"-image") != null) { console.log('1'); trackedid = ads[1][0]; tracked.add(trackedid); setTimeout(myAdTimer, firstperiods[1] * 1000, 1); } if (document.getElementById("zone-"+zids[2]+"-image") != null) { console.log('2'); trackedid = ads[2][0]; tracked.add(trackedid); setTimeout(myAdTimer, firstperiods[2] * 1000, 2); } if (document.getElementById("zone-"+zids[3]+"-image") != null) { console.log('3'); trackedid = ads[3][0]; tracked.add(trackedid); setTimeout(myAdTimer, firstperiods[3] * 1000, 3); } if (document.getElementById("zone-"+zids[4]+"-image") != null) { console.log('4'); trackedid = ads[4][0]; tracked.add(trackedid); setTimeout(myAdTimer, firstperiods[4] * 1000, 4); } if (document.getElementById("zone-"+zids[5]+"-image") != null) { console.log('5'); trackedid = ads[5][0]; tracked.add(trackedid); setTimeout(myAdTimer, firstperiods[5] * 1000, 5); } if (document.getElementById("zone-"+zids[6]+"-image") != null) { console.log('6'); trackedid = ads[6][0]; tracked.add(trackedid); setTimeout(myAdTimer, firstperiods[6] * 1000, 6); } console.log(tracked); } function myAdTimer(i) { adnos[i]++; if (adnos[i] == adcounts[i]) { adnos[i] = 0; rolledover[i] = true; } adno = adnos[i]; elimage = document.getElementById("zone-"+zids[i]+"-image"); ellink = document.getElementById("zone-"+zids[i]+"-link"); adcode = ads[i][adno]; if (tracked.has(adcode)) newbvurl = bviewnotrackurl + adcode; else newbvurl = bviewtrackurl + adcode; newbcurl = bclicktrackurl + adcode; elimage.src = newbvurl; ellink.href = newbcurl; tracked.add(adcode); if (isfirst[i] == true) { isfirst[i] = false; setInterval(myAdTimer, periods[i] * 1000, i); } } </script> </html>

Pages: 1 2 3 4 5 6 7 8 9 10