// Footer

document.write(' <div id="footer-container"> ');

document.write(' <div class="footer-element"> ');
document.write(' <div class="floatbox">&raquo;</div> ');
document.write(' <p><a href="/index.asp">Home</a>  &nbsp;|&nbsp;  <strong><a href="/channels/index.asp">Marketing Channels:</a></strong> <a href="/websites/index.asp">Websites</a>, <a href="/email/index.asp">Email</a>, <a href="/wireless/index.asp">Wireless</a>, <a href="/desktopapps/index.asp">Desktop Apps</a>, <a href="/itv/index.asp">Video</a>, <a href="/emerging/index.asp">Emerging Platforms</a>  &nbsp;|&nbsp;  <strong><a href="/strategies/index.asp">Media Strategies:</a></strong> <a href="/planning/index.asp">Media Planning & Buying</a>, <a href="/directmarketing/index.asp">Direct Marketing</a>, <a href="/integrated/index.asp">Integrated Marketing</a>, <a href="/local/index.asp">Local</a>, <a href="/adnetworks/index.asp">Ad Networks</a>, <a href="/adserving/index.asp">Ad Serving</a>  &nbsp;|&nbsp;  <strong><a href="/consumer/index.asp">Consumer Strategies:</a></strong>  <a href="/socialmedia/index.asp">Social Media</a>, <a href="/behavioral/index.asp">Targeting</a>, <a href="/wom/index.asp">Word of Mouth</a>, <a href="/verticals/index.asp">Verticals</a>, <a href="/demographics/index.asp">Demographics</a>  &nbsp;|&nbsp;  <strong><a href="/search/index.asp">Search:</a></strong> <a href="/paidsearch/index.asp">Paid Search</a>, <a href="/seo/index.asp">SEO</a>, <a href="/searchengines/index.asp">Search Engines</a>  &nbsp;|&nbsp;  <strong><a href="/creative/index.asp">Creative:</a></strong> <a href="/showcase/index.asp">Creative Showcase</a>, <a href="/bestpractices/5859.asp">Best Practices</a>, <a href="/casestudies/index.asp">Case Studies</a>  &nbsp;|&nbsp;  <strong><a href="/research/index.asp">Research & Metrics:</a></strong> <a href="/branding/index.asp">Branding</a>, <a href="/consumeraction/index.asp">Consumer Action</a>, <a href="/multichannel/index.asp">Multi-Channel</a>, <a href="/webanalytics/index.asp">Web Analytics</a><!-- , <a href="/reports/index.asp">iMedia Reports</a>-->  &nbsp;|&nbsp;  <strong><a href="/issues/index.asp">Industry Issues</a></strong>  &nbsp;|&nbsp;  <strong><a href="/people/index.asp">People:</a></strong> <a href="/interviews/index.asp">Interviews</a>, <a href="/opinions/index.asp">Opinions</a>, <a href="/bookclub/index.asp">Book Club</a>, <a href="/bios/index.asp">Bios</a> &nbsp;|&nbsp; <a href="/asia/index.asp">iMedia Asia</a> &nbsp;|&nbsp; <strong><a href="/profiles">People Connection</a></strong> &nbsp;|&nbsp; <strong><a href="http://blogs.imediaconnection.com/">iMedia Blog</a></strong> &nbsp;|&nbsp; <strong><a href="http://ad-tech.blogs.imediaconnection.com/">ad:tech Blog</a></strong> &nbsp;|&nbsp; <strong><a href="/infocus/">In Focus</a></strong> &nbsp;|&nbsp; <strong><a href="/podcasthub/">Podcasts</a></strong> &nbsp;|&nbsp; <strong><a href="/video/">Video</a></strong> &nbsp;|&nbsp; <strong><a href="http://m.imediaconnection.com/">Mobile</a></strong></p>');
document.write(' </div>         ');

document.write(' <div class="footer-element"> ');
document.write(' <div class="floatbox">&raquo;</div> ');
document.write(' <p><a href="/summits/index.asp">Summits</a>  &nbsp;|&nbsp;  <a href="/news/index.asp">News</a>  &nbsp;|&nbsp;  <a href="/jobs/default.aspx">Find / Post a Job</a>  &nbsp;|&nbsp;  <a href="/resourceconnection/index.asp">Resource Connection</a>  &nbsp;|&nbsp;  <a href="http://www.imediaconnection.com/spot/iMediaSpotMain.aspx">iMedia Spot</a>: <a href="http://www.imediaconnection.com/spot/VMemberLogIn.aspx">Sign In</a>  &nbsp;|&nbsp;  <a href="/global/feedback.aspx">Give us Feedback</a>  &nbsp;|&nbsp;  <a href="/newsletter/newslettersubscribe.aspx">Free Newsletters</a>  &nbsp;|&nbsp; <a href="/global/rss.asp" class="rss"> RSS Feeds</a></p> ');
document.write(' </div>         ');

document.write(' <div class="footer-element"> ');
document.write(' <div class="floatbox">&raquo;</div> ');
document.write(' <p>Copyright &copy 2010 iMedia Communications, Inc. &nbsp; All Rights Reserved. &nbsp; <a href="/global/5882.asp">Privacy Policy</a>  &nbsp;|&nbsp;  <a href="/global/5884.asp">How to Advertise</a>  &nbsp;|&nbsp;  <a href="/global/aboutus.asp">About Us</a></p> ');
document.write(' </div>     ');

document.write(' <div class="footer-element"> ');
document.write('    <p><a href="http://www.zedo.com/home.htm" target="new"><img src="/content/wp/ads-powered-by-zedo.png" border="0" /></a></p> ');
document.write(' </div>     ');

document.write(' </div> ');

        var xmlHttpp = false;
        function UpdateViewCount(articleID, type) { 
   
          try{
                xmlHttpp = new XMLHttpRequest();
           }
           catch(trymicrosoft){
                try{
                    xmlHttpp = new ActiveXObject("Msxml2.XMLHTTP");
                }
                catch(othermicrosoft){
                    try{
                        xmlHttpp = new ActiveXObject("Microsoft.XMLHTTP");
                    }
                    catch(failed){
                        xmlHttpp = false;
                    }
                }
           }
        
   
           if(!xmlHttpp) {
              alert('Browser does not support HTTP Request')
              return      
           }   
           var url="http://www.imediaconnection.com/PageViewUpdate.aspx"
           url=url+"?PageID=" + articleID + "&Type=" + type 
           //url=url+"&sid="+Math.random()
           xmlHttpp.onreadystatechange=stateChangeds 
           xmlHttpp.open("GET",url,true)
           xmlHttpp.send(null)
        }
    
    function stateChangeds() { 
       if (xmlHttpp.readyState==4 || xmlHttpp.readyState=="complete") { 
       
       } 
        }

// Code for LightBox Promo Begins

// Check Cookie for 30 Day Session on Lightbox.
var expDays = 30; // number of days the cookie should last
var page = "only-popup-once.html"; // not used for our Summit Promo because we’re using LlightBox
var windowprops = "width=300,height=200,location=no,toolbar=no,menubar=no,scrollbars=no,resizable=yes"; // not used
function GetCookie (name) {
  var arg = name + "=";
  var alen = arg.length;
  var clen = document.cookie.length;
  var i = 0;
  while (i < clen) {
    var j = i + alen;
    if (document.cookie.substring(i, j) == arg)
    return getCookieVal (j);
    i = document.cookie.indexOf(" ", i) + 1;
    if (i == 0) break;
  }
  return null;
}
function SetCookie (name, value) {
  var argv = SetCookie.arguments;
  var argc = SetCookie.arguments.length;
  var expires = (argc > 2) ? argv[2] : null;
  var path = (argc > 3) ? argv[3] : null;
  var domain = (argc > 4) ? argv[4] : null;
  var secure = (argc > 5) ? argv[5] : false;
  document.cookie = name + "=" + escape (value) +
    ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
    ((path == null) ? "" : ("; path=" + path)) +
    ((domain == null) ? "" : ("; domain=" + domain)) +
    ((secure == true) ? "; secure" : "");
}
function DeleteCookie (name) {
  var exp = new Date();
  exp.setTime (exp.getTime() - 1);
  var cval = GetCookie (name);
  document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
function amt(){
  var count = GetCookie('promoLBcount')
  if(count == null) {
    SetCookie('promoLBcount','1')
    return 1
  } else {
    var newcount = parseInt(count) + 1;
    DeleteCookie('promoLBcount')
    SetCookie('promoLBcount',newcount,exp)
    return count
  }
  
}
function getCookieVal(offset) {
  var endstr = document.cookie.indexOf (";", offset);
  if (endstr == -1)
  endstr = document.cookie.length;
  return unescape(document.cookie.substring(offset, endstr));
}
function checkCount() {
    // alert(GetCookie('promoLBcount'));
  var count = GetCookie('promoLBcount');
  if (count == null) {
    count=1;
    SetCookie('promoLBcount', count, exp);
    
    try{
    xmlHttp = new XMLHttpRequest();
    }
    catch(trymicrosoft){
        try{
            xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
            }
            catch(othermicrosoft){
            try{
                    xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
            }
                catch(failed){
                xmlHttp = false;
                }
            }
    }
   
    if(!xmlHttp) {
        alert('Browser does not support HTTP Request')
        return      
    }   
    
    var url="/admin/RightColumnTrack.aspx";
    url=url+"?TrackTypeID=11";
    xmlHttp.onreadystatechange=statesChanged; 
    xmlHttp.open("GET",url,true)
    xmlHttp.send(null)
        
    TB_show("", "/cpf.html?height=365&width=602", ""); // this is where you’d call the LightBox activiate method
    
  } else {
    count++;
    SetCookie('promoLBcount', count, exp);
  }
}
        
// Code for Lightbox onLoad.        
function addLoadEvent(func) {
    var oldonload = window.onload;
    if (typeof window.onload != 'function') {
        window.onload = func;
    } else {
        window.onload = function() {
            if (oldonload) {
                oldonload();
            }
            func();
        }
    }
}
addLoadEvent(function() {
    // TB_show("", "http://www.imediaconnection.com/cpf.html?height=365&width=602", "");
    checkCount();
})

// Code for LightBox Promo Ends

//var pageTracker = _gat._getTracker("UA-4077114-1");
//pageTracker._initData();
//pageTracker._trackPageview();

// social notes widget
document.write('<div id="socialnote" style="display:none">');
document.write('    <script src= "http://www.share-server.com/share/widget/602" type="text/javascript"></script>');
document.write('</div>');

    function displaypanel()
    {
        if ( typeof(pmi_displayPanel) != 'undefined' ) 
            { pmi_displayPanel(); } 
        
        return false;
    }

// <script type="text/javascript" src="/includes/trackcookie.js"></script>

// <!-- Start Quantcast tag -->
document.write('<script type="text/javascript">');
document.write('_qoptions={');
document.write('qacct:"p-61KlJaeg2GWeI"');
document.write('};');
document.write('</script>');
document.write('<script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>');
document.write('<noscript>');
document.write('<img src="http://pixel.quantserve.com/pixel/p-61KlJaeg2GWeI.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>');
document.write('</noscript>');
// <!-- End Quantcast tag -->
