/*
var filerefA = document.createElement('script');
filerefA.setAttribute("type","text/javascript");
filerefA.setAttribute("src", "/files/6.0/jquery-1.3.2.min.js?portal=cedge");

if (typeof filerefA!="undefined") {
  document.getElementsByTagName("head")[0].appendChild(filerefA);
}


var filerefB = document.createElement('script');
filerefB.setAttribute("type","text/javascript");
filerefB.setAttribute("src", "/files/6.0/ctw/ctw-init.js?portal=cedge");

if (typeof filerefB!="undefined") {
  document.getElementsByTagName("head")[0].appendChild(filerefB);
}

*/



document.write('<meta name="google-site-verification" content="96QBiiRbjE9TYNnswImsZI4InERWj-tSjGcKPHYEKfM" />');
document.write('<meta name="msvalidate.01" content="6FCDC0747162AC77B19FE2E313AC67BF" />');

document.write('<script type="text/javascript" src="/files/6.0/jquery-1.3.2.min.js?portal=cedge"></script>');

var sbolib={

  /* Simple Show/Hide (tans, sans, hans)
  ---------------------------------------------------------------------------------------------------------- */
  tans:function(elemID) {
    if (!document.getElementById) return false;
    var myDiv=document.getElementById(elemID);
    if (myDiv){
      if (myDiv.style.display == 'none'){
        sbolib.sans(elemID);
      } else{
        sbolib.hans(elemID);
      }
    }
  },

  sans:function(elemID) {
    var myDiv=document.getElementById(elemID);
    if (myDiv){
      myDiv.style.display="block";
    } else {
      return false;
    }
  },

  hans:function(elemID) {
    var myDiv=document.getElementById(elemID);
    if (myDiv){
      myDiv.style.display="none";
    } else {
      return false;
    }
  },
  
  
  getDomain:function() {
    
    var thestring = ""+window.location.href;
    var urlpattern = new RegExp("(http|ftp|https)://(.*?)/.*$");
    var parsedurl = thestring.match(urlpattern);

    var theprotocolS = parsedurl[0].split(":");
    
    var theprotocol = theprotocolS[0];

    var thedomain =  parsedurl[2].split(".");
    return thedomain[0];

  },
  
  getProtocol:function() {
    
    var thestring = ""+window.location.href;
    var urlpattern = new RegExp("(http|ftp|https)://(.*?)/.*$");
    var parsedurl = thestring.match(urlpattern);
    
    var theprotocolS = parsedurl[0].split(":");
    
    var theprotocol = theprotocolS[0];

    return theprotocol;

  },

  /* Simple Pop-ups
  ---------------------------------------------------------------------------------------------------------- */
  popup:function(thepage) {
    var winl=(screen.width - 640) / 2;
    var wint=(screen.height - 450) / 4;
    winprops='height=450,width=640,top='+wint+',left='+winl+',toolbar=no,scrollbars='+'yes'+',resizable';

    win=window.open(thepage, 'sbopopup', winprops);

    if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
  }

}



//if(sbolib.getProtocol() != 'https') {
  document.write('<script type="text/javascript" src="/files/6.0/ctw/sidebar-1.1.js?portal=cedge"></script>');  
  document.write('<script type="text/javascript" src="/files/6.0/ctw/ssd-min-v1.1_5.js?portal=cedge"></script>');
//}


document.write('<script type="text/javascript" src="/files/6.0/hpslides.js?portal=cedge">&nbsp;</script>');
document.write('<script type="text/javascript" src="/files/6.0/init_slides.js?portal=cedge">&nbsp;</script>');
document.write('<script type="text/javascript" src="/files/6.0/flowplayer-3.1.4.js?portal=cedge">&nbsp;</script>');



