﻿// JScript File
/***********************************************
* Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
//Marquee for News
var delayb4scroll = 2000 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var marqueespeed = 2 //Specify marquee scroll speed (larger is faster 1-10)
var pauseit = 1 //Pause marquee onMousever (0=no. 1=yes)?

////NO NEED TO EDIT BELOW THIS LINE////////////
var copyspeed = marqueespeed
var pausespeed = (pauseit == 0) ? copyspeed : 0
var actualheight = ''

function scrollmarquee() {
    if (parseInt(cross_marquee.style.top) > (actualheight * (-1) + 8))
        cross_marquee.style.top = parseInt(cross_marquee.style.top) - copyspeed + "px"
    else
        cross_marquee.style.top = parseInt(marqueeheight) + 8 + "px"
}

function initializemarquee() {
    cross_marquee = document.getElementById("vmarquee")
    cross_marquee.style.top = 0
    marqueeheight = document.getElementById("marqueecontainer").offsetHeight
    actualheight = cross_marquee.offsetHeight
    if (window.opera || navigator.userAgent.indexOf("Netscape/7") != -1) { //if Opera or Netscape 7x, add scrollbars to scroll and exit
        cross_marquee.style.height = marqueeheight + "px"
        cross_marquee.style.overflow = "scroll"
        return
    }
    setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll)
}

if (window.addEventListener)
    window.addEventListener("load", initializemarquee, false)
else if (window.attachEvent)
    window.attachEvent("onload", initializemarquee)
else if (document.getElementById)
    window.onload = initializemarquee


//Implement the tab pages
function showimg(val) {
    document.getElementById("img1").style.display = "none";
    document.getElementById("img2").style.display = "none";
    document.getElementById("img3").style.display = "none";
    document.getElementById("img4").style.display = "none";

    document.getElementById("sipl1").className = "notselected";
    document.getElementById("sipl2").className = "notselected";
    document.getElementById("sipl3").className = "notselected";
    document.getElementById("sipl4").className = "notselected";

    document.getElementById("img" + val).style.display = "block";
    document.getElementById("sipl" + val).className = "selected";

}


function showdiv(val) {
    document.getElementById("div_news").style.display = "none";
    document.getElementById("div_follow").style.display = "none";
    document.getElementById("div_media").style.display = "none";

    document.getElementById("linews").className = "notselected";
    document.getElementById("lifollow").className = "notselected";
    document.getElementById("limedia").className = "notselected";

    document.getElementById("div_" + val).style.display = "block";
    document.getElementById("li" + val).className = "selected";

}

function showtext(val) {

    document.getElementById("litext1").className = "notselected";
    document.getElementById("litext2").className = "notselected";
    document.getElementById("litext3").className = "notselected";
    document.getElementById("litext4").className = "notselected";

    //document.getElementById("img" + val).style.display = "block";
    document.getElementById("litext" + val).className = "selected";

    if (val == 1) {
        document.getElementById("textdiv").innerHTML = "<div class='black_text' style='width:620px; padding-bottom:10px; padding-left:10px; padding-right:10px; padding-top:20px; height:150px;'><p>We have been providing leading edge web design and application development service for clients around the world. Our expertise covers both .NET and PHP (LAMP &amp; WAMP) technologies, as well as databases, multimedia, Web 2.0, social networking, web services, web &amp; graphic design and more.</p><p>We provide service in “as needed”, “time and material” and “dedicated hiring” mode. Our service clients include startups (both pre-VC funding and VC funded), established small and medium size companies, as well as large enterprises from different industry segments. Services are delivered on-site, off-site and, if applicable, offshore as per client and project needs.</p></div><div style='float:right; padding-right:15px;'><img src='/Portals/0/Templates/red_more_icon.gif' alt='' />&nbsp;&nbsp;<a href='Services/WebDesignDevelopment.aspx' class='red_more'>more</a></div>";
    }
    if (val == 2) {
        document.getElementById("textdiv").innerHTML = "<div class='black_text' style='width:620px; padding-bottom:10px; padding-left:10px; padding-right:10px; padding-top:20px; height:150px;'><p>We have been providing custom software development services for Windows and Linux platforms to small to the very large companies, including Microsoft for it Windows, Zune, Advanced Technology etc. teams. On the other hand, we have been providing specialized and cutting edge software architecture, design and development for small and medium size companies.</p><p>Windows: Native (C/C++) &amp; Managed (C#) development using Win32, COM, .NET framework, DirectShow, Media Foundation, WMSDK, Active Directory, WMI, File System, Windows Shell, UI.</p><p>Linux (Fedora Core &amp; Ubuntu): Development using C/C++ for file system, Internet, UI.</p></div><div style='float:right; padding-right:15px;'><img src='/Portals/0/Templates/red_more_icon.gif' alt='' />&nbsp;&nbsp;<a href='Services/WindowsLinuxDevelopment.aspx' class='red_more'>more</a></div>";
    }
    if (val == 3) {
        document.getElementById("textdiv").innerHTML = "<div class='black_text' style='width:620px; padding-bottom:10px; padding-left:10px; padding-right:10px; padding-top:20px; height:150px;'><p>We create custom hardware as well as design and develop software for Industrial automation &amp; control for engineering domain, especially the manufacturing sector.</p><p>Based on the clients’ specific need and the scenario, we create architecture for the overall solution, which includes off-the-shelf components and specially designed hardware, firmware (as needed), and custom-designed application software. All these are integrated to create the custom solution.</p><p>We back all this up with our deployment, user training, and ongoing maintenance &amp; enhancement support in the related areas of the clients’ business.</p></div><div style='float:right; padding-right:15px;'><img src='/Portals/0/Templates/red_more_icon.gif' alt='' />&nbsp;&nbsp;<a href='Services/EmbeddedSystems.aspx' class='red_more'>more</a></div>";
    }
    if (val == 4) {
        document.getElementById("textdiv").innerHTML = "<div class='black_text' style='width:620px; padding-bottom:10px; padding-left:10px; padding-right:10px; padding-top:20px; height:150px;'><p>Our India Development Center (IDC) functions as the offshore development facility for a number of customers – especially small businesses – around the world. The IDC provides cost effective high quality developer resource and the required technology facilities.</p><p>We also offer Virtual Offshore Center / Dedicated Hiring facility for multiple overseas clients. These resources are booked for specific client projects for a given duration, so that they function as an extended part of the client’s team.</p><p>The IDC team has been into outsourced product development for a long time, including the development of all SARANGSoft software products, where only the product ideas, final product integration, and marketing are driven by SARANGSoft Corp.</p></div><div style='float:right; padding-right:15px;'><img src='/Portals/0/Templates/red_more_icon.gif' alt='' />&nbsp;&nbsp;<a href='Services/OutsourcedProductDevelopment.aspx' class='red_more'>more</a></div>";
    }
}
