function GetXmlHttpObject(handler) {
    var objXmlHttp = null; if (navigator.userAgent.indexOf("MSIE") >= 0) {
        var strName = "Msxml2.XMLHTTP"; if (navigator.appVersion.indexOf("MSIE 5.5") >= 0) { strName = "Microsoft.XMLHTTP"; }
        try { objXmlHttp = new ActiveXObject(strName); objXmlHttp.onreadystatechange = handler; return objXmlHttp; }
        catch (e) { alert("*******Error*******\n\nYour browser does not meet the minimum requirements to run the console.\n\nPlease upgrade your browser. We suggest using Firefox.\n\nQuestions? Please contact us!"); return; } 
    }
    if (navigator.userAgent.indexOf("Mozilla") >= 0) { objXmlHttp = new XMLHttpRequest(); objXmlHttp.onload = handler; objXmlHttp.onerror = handler; return objXmlHttp; } 
}
function changebulletblurb(blurb) {
    switch (blurb)
    { case 1: document.getElementById('bulletblurb').innerHTML = "<img src=\"\/images\/biconecommerce.jpg\" Alt=\"eCommerce\" Border=\"0\" Width=\"60\" Height=\"60\" align=\"right\">IDC specializes in eCommerce solutions. This means we can help you setup your online shopping environment with ease and have you selling quickly.<BR><BR>Our Commerce system is designed so that you can spend more time running your store rather than learning how to."; break; case 2: document.getElementById('bulletblurb').innerHTML = "<img src=\"\/images\/biconsecure.jpg\" Alt=\"eCommerce\" Border=\"0\" Width=\"60\" Height=\"60\" align=\"right\">Experienced in extensive database integration, IDC is ready to meet any data storage need. From online training to eCommerce and data search, we can do it all.<BR><BR>We offer 128 bit Secure Socket Layer encryption for all sensitive online data transfer."; break; case 3: document.getElementById('bulletblurb').innerHTML = "<img src=\"\/images\/biconseo.jpg\" Alt=\"eCommerce\" Border=\"0\" Width=\"60\" Height=\"60\" align=\"right\">Search Engine Optimization is probably the most important part of your website. Without good SEO, you risk being lost in an ocean of sites.<BR><BR>With over 10 years of experience, IDC can help connect you with your target audience."; break; case 4: document.getElementById('bulletblurb').innerHTML = "<img src=\"\/images\/biconhosting.jpg\" Alt=\"eCommerce\" Border=\"0\" Width=\"60\" Height=\"60\" align=\"right\">Power your Web site with performance Web hosting. With full support for popular applications and languages such as MS Access, MS SQL, ASP, ASP.net and VBScript. <BR><BR>Our servers are housed in an environmentally controlled data center with redundant data backup and emergency power generators."; break; case 5: document.getElementById('bulletblurb').innerHTML = "<img src=\"\/images\/biconchat.jpg\" Alt=\"eCommerce\" Border=\"0\" Width=\"60\" Height=\"60\" align=\"right\">In 2008, IDC released SurferMonitor, a hosted live chat and visitor tracking solution designed to assist you in offering unmatched support to your site visitors. SurferMonitor offers exclusive features not found with any other CSR service.<BR><BR>Check out <a href=\"http:\/\/www.SurferMonitor.com\" Target=\"_blank\">SurferMonitor.com</a>."; break; case 6: document.getElementById('bulletblurb').innerHTML = "<img src=\"\/images\/bicongraphic.jpg\" Alt=\"eCommerce\" Border=\"0\" Width=\"60\" Height=\"60\" align=\"right\">With an eye for design, IDC can work with your ideas, your current designs or we can come up with a look to suit you perfectly from scratch.<BR><BR>From custom logo creation for print to graphics and photography for the web, we're ready to meet all your graphic design needs."; break; case 7: document.getElementById('bulletblurb').innerHTML = "<img src=\"\/images\/biconcc.jpg\" Alt=\"eCommerce\" Border=\"0\" Width=\"60\" Height=\"60\" align=\"right\">IDC specializes in eCommerce solutions. This means we can help you setup your online shopping environment with ease and get you selling your products quickly.<BR><BR>Our Commerce system is designed so that you can spend more time running your store than learning how to."; break; default: document.getElementById('bulletblurb').innerHTML = "IDC offers innovative web development integrating cutting edge technology and proven graphical layout to bring you the best in E-commerce, multimedia, graphics and design. Combine our skilled design team with our powerful hosting services and you have everything you need to establish and maintain your successful presence on the web."; } 
}
function showHelpHint(str) {
    if (str.length == 0)
    { document.getElementById("txtHint").innerHTML = ""; document.getElementById("txtHint").className = "txtHint"; return; }
    xmlHttp = GetXmlHttpObject(); if (xmlHttp == null)
    { alert("Your browser does not support AJAX!"); return; }
    var url = "gethelphint.idc"; url = url + "?q=" + str; url = url + "&sid=" + Math.random(); xmlHttp.onreadystatechange = stateChanged; xmlHttp.open("GET", url, true); xmlHttp.send(null);
}
function stateChanged() {
    if (xmlHttp.readyState == 4) {
        document.getElementById("txtHint").innerHTML = xmlHttp.responseText; if (xmlHttp.responseText != "") { document.getElementById("txtHint").className = "txtHintUsed"; }
        else { document.getElementById("txtHint").className = "txtHint"; } 
    } 
}
function returnDefaultHelp() { document.helpguide.txtkey.value = "Type your question or keyword"; }
var refreshNews = 0; function showIDCNews(newsID) {
    if (newsID.length == 0)
    { document.getElementById("homecontentnews").innerHTML = ""; return; }
    xmlHttp = GetXmlHttpObject(); if (xmlHttp == null)
    { alert("Your browser does not support AJAX!"); return; }
    var url = "getidcnews.idc"; url = url + "?q=" + newsID; url = url + "&sid=" + Math.random(); xmlHttp.onreadystatechange = stateNewsChanged; xmlHttp.open("GET", url, true); xmlHttp.send(null);
}
function stateNewsChanged() {
    if (xmlHttp.readyState == 4)
    { document.getElementById("homecontentnews").innerHTML = xmlHttp.responseText; } 
}
function showGuideDetail(theID) {
    clearInterval(refreshNews); if (theID.length == 0)
    { document.getElementById("homecontentnews").innerHTML = ""; return; }
    xmlHttp = GetXmlHttpObject(); if (xmlHttp == null)
    { alert("Your browser does not support AJAX!"); return; }
    var url = "gethelpanswer.idc"; url = url + "?q=" + theID; url = url + "&sid=" + Math.random(); xmlHttp.onreadystatechange = stateAnswerChanged; xmlHttp.open("GET", url, true); xmlHttp.send(null);
}
function stateAnswerChanged() {
    if (xmlHttp.readyState == 4)
    { document.getElementById("homecontentnews").innerHTML = xmlHttp.responseText; } 
}
function closeGuideAnswer() { refreshNews = showIDCNews(0); document.getElementById("txtHint").innerHTML = ""; document.getElementById("txtHint").className = "txtHint"; }
function returnDefaultHelp() { document.helpguide.txtkey.value = "Type your question or keyword"; }
function setfocus() { document.helpguide.txtkey.focus(); }
var flNum = 1
var strtFL = null; function init() { strtFL = setInterval("rotateFl()", 10000); }
function resetFL() { clearInterval(strtFL); strtFL = null; }
var Alph = 0; var speed = 10; function chngFL(n) {
    Alph = 0; flNum = n; resetFL(); if (n == "1") { document.getElementById('flashcont').style.backgroundImage = "url(/images/Flash1.jpg)"; document.getElementById('lrnlnk').href = "Web-Design.idc"; document.getElementById('lrnlnk').title = "eCommerce and Corporate Web Development."; fadeIn('flashcont'); strtFL = setInterval("rotateFl()", 10000); }
    if (n == "2") { document.getElementById('flashcont').style.backgroundImage = "url(/images/flash2.jpg)"; document.getElementById('lrnlnk').href = "Web-Design.idc"; document.getElementById('lrnlnk').title = "Complete design services."; fadeIn('flashcont'); strtFL = setInterval("rotateFl()", 10000); }
    if (n == "3") { document.getElementById('flashcont').style.backgroundImage = "url(/images/flash3.jpg)"; document.getElementById('lrnlnk').href = "Web-Hosting.idc"; document.getElementById('lrnlnk').title = "Web hosting and merchant services."; fadeIn('flashcont'); strtFL = setInterval("rotateFl()", 10000); } 
}
function fadeOut() { var contT = document.getElementById('flashcont'); contT.style.opacity = Alph / 100; contT.style.filter = 'alpha(opacity = ' + Alph + ')'; Alph = Alph - speed; setTimeout("fadeOut()", 50); }
function fadeIn() { var contT = document.getElementById('flashcont'); if (Alph < 100) { contT.style.opacity = Alph / 100; contT.style.filter = 'alpha(opacity = ' + Alph + ')'; Alph = Alph + speed; setTimeout("fadeIn()", 50); } }
function rotateFl() {
    var thisNum = flNum + 1; if (thisNum > 3) { thisNum = 1 }
    chngFL(thisNum);
}
function checksm(ison) {
    var sm = document.getElementById('surfermondiv'); if (ison == true) { sm.setAttribute("class", "smshadow"); }
    else { sm.setAttribute("class", "smnoshadow"); } 
}
