﻿var homeTab = "overall";

var webmax = 24;

var curWidth = 754;

var minWidth = 750;

var setDuration = 0;

var curObj = 2;





   var imgArray = new Array();

    imgArray[0] = new Image();

    imgArray[0].src = "image/home/web_2.jpg";

    

    imgArray[1] = new Image();

    imgArray[1].src = "image/home/web_3.jpg";

    

    imgArray[2] = new Image();

    imgArray[2].src = "image/home/web_4.jpg";

    

    imgArray[3] = new Image();

    imgArray[3].src = "image/home/web_5.jpg";

    

    imgArray[4] = new Image();

    imgArray[4].src = "image/home/web_6.jpg";

    

    imgArray[5] = new Image();

    imgArray[5].src = "image/home/web_7.jpg";

	

	 imgArray[19] = new Image();

    imgArray[19].src = "image/home/web_1.jpg";

	

	imgArray[20] = new Image();

    imgArray[20].src = "image/home/web_9.jpg";

	

	imgArray[21] = new Image();

    imgArray[21].src = "image/home/web_8.jpg";

    

    imgArray[6] = new Image();

    imgArray[6].src = "image/home/graphic_1.jpg";

    

    imgArray[7] = new Image();

    imgArray[7].src = "image/home/graphic_2.jpg";

    

    imgArray[8] = new Image();

    imgArray[8].src = "image/home/graphic_3.jpg";

    

    imgArray[9] = new Image();

    imgArray[9].src = "image/home/graphic_4.jpg";

    

    imgArray[10] = new Image();

    imgArray[10].src = "image/home/graphic_5.jpg";

    

    imgArray[11] = new Image();

    imgArray[11].src = "image/home/corporateid_1.jpg";

    

    imgArray[12] = new Image();

    imgArray[12].src = "image/home/corporateid_2.jpg";

    

    imgArray[13] = new Image();

    imgArray[13].src = "image/home/corporateid_3.jpg";

    

    imgArray[14] = new Image();

    imgArray[14].src = "image/home/corporateid_4.jpg";

    

    imgArray[15] = new Image();

    imgArray[15].src = "image/home/corporateid_5.jpg";

    

    imgArray[16] = new Image();

    imgArray[16].src = "image/home/threeddesign_1.jpg";

    

    imgArray[17] = new Image();

    imgArray[17].src = "image/home/threeddesign_2.jpg";

    

    imgArray[18] = new Image();

    imgArray[18].src = "image/home/threeddesign_3.jpg";



var imageStatus = "false";



function hoverHome(srcObj, imgURL)

{

   

    if ( homeTab != srcObj.id )

    {

        srcObj.style.cursor = "Pointer";

        srcObj.style.backgroundImage = "url('images/" + imgURL + "')";

    }

}



function normalHome(srcObj, imgURL)

{

    if (homeTab != srcObj.id )

    {

        srcObj.style.backgroundImage = "url('images/" + imgURL + "')";

    }



}



function openPageLink(linkURL, srcObj)

{

    srcObj.style.cursor = "Pointer";

    window.open(linkURL, "_blank");

}



function setPointer(srcObj)

{

    srcObj.style.cursor = "Pointer";

    srcObj.style.textDecoration = "underline";

}



function resetPointer(srcObj)

{

    srcObj.style.textDecoration = "none";

}





var static_Content = "At Newlineinfo, we provide a host of services to help any individual or new business to enhance their presence through world wide web. We help companies and individuals with website design, hosting and optimization. We also do branding services that helps branding a new company to get started with the right tools, including logos, business cards, and a new branding strategy. We do not limit our services to help building just new businesses but also further promote established business houses to receive more leads through their website using search engine optimization and other web tools. So what are you waiting for? Contact Us today for a customized solution to make your web presence a successful reality.";





var overall_Picture = new Array ("empty.jpg","web_1.jpg", "web_2.jpg", "web_3.jpg", "web_4.jpg", "web_5.jpg", "web_6.jpg", "web_7.jpg", "web_8.jpg","web_9.jpg","web_10.jpg","web_11.jpg","web_12.jpg","web_13.jpg", "empty.jpg", "graphic_1.jpg", "graphic_2.jpg", "graphic_3.jpg", "graphic_4.jpg", "graphic_5.jpg", "empty.jpg", "corporateid_1.jpg", "corporateid_2.jpg", "corporateid_3.jpg", "corporateid_4.jpg", "corporateid_5.jpg", "empty.jpg", "threeddesign_1.jpg", "threeddesign_2.jpg", "threeddesign_3.jpg");



//var overall_Picture = new Array(imgArray[0], imgArray[1], imgArray[2], imgArray[3], imgArray[4], imgArray[5], imgArray[6], imgArray[7], imgArray[8], imgArray[9], imgArray[10], imgArray[11], imgArray[12], imgArray[13], imgArray[14], imgArray[15], imgArray[16], imgArray[17], imgArray[18]);







var overall_Text = new Array ("","<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.drsreeni.com\", this);' class='bigfont' >www.drsreeni.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>Dr.Sivakumar Sreenivasan, a dentist who provides you the best practice for all kinds of dentistry problems.</div></div>","<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.prprideinn.com\", this);' class='bigfont' >www.prprideinn.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>P.R. Pride Inn is constantly expanding its collection of hotels, restaurants and other real estate interests which include commercial and residential property, retail premises and marinas.</div></div>","<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.cbsny.net\", this);' class='bigfont' >www.cbsny.net</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>CUSTOM BUSINESS SOLUTIONS provides a variety of financial services from a simple personal tax return to a sophisticated computerized accounting system setup.</div></div>","<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.kaleidoscopemania.com\", this);' class='bigfont' >www.kaleidoscopemania.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>Kaleidoscope Mania is an online booking website for celebration of New Year.</div></div>","<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.whitetigerdc.com\", this);' class='bigfont' >www.whitetigerdc.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>The White Tiger - Fine Indian Cuisine in Washington, DC which is the best Indian Restaurant in USA.</div></div>","<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.clevelandparkwines.com\", this);' class='bigfont' >www.clevelandparkwines.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>Wine Company in Washington DC and have been serving the community for over fifteen years.</div></div>", "<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.ctec-corp.com\", this);' class='bigfont' >www.ctec-corp.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>CTEC is IT Company in Virginia Corporation which provides innovative solutions in the field of information technology.</div></div>", "<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.diaraonline.com\", this);' class='bigfont' >www.diaraonline.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>Diara Dukes is a website for a model as a Personal Website.</div></div>", "<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.revealreel.com\", this);' class='bigfont' >www.revealreel.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>Reveal Reel showcases short films to create awareness and promote cyber dialogue on social issues.</div></div>","<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.africalog.com\", this);' class='bigfont' >www.africalog.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>AfricaLog.com - Bridging Africa to the World via News Portal.</div></div>", "<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.henault-sysko.com\", this);' class='bigfont' >www.henault-sysko.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>The Law Office of Henault & Sysko Chartered was established in 1980 by two U.S. Intelligence Community members to champion national security.</div></div>","<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.universalcollisioncenterllc.com\", this);' class='bigfont' >www.universalcollisioncenterllc.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>Universal Collision Center is a Car Repairing Center opened doors in 1989 to little fanfare, but now it is the most visited vehicle shop in Loudon County.</div></div>", "<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.corp-corp.com\", this);' class='bigfont' >www.corp-corp.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>Corp-Corp.com is an online market place to find IT Consultants and post IT Contract Requirements.</div></div>", "", "", "", "", "", "", "", "AfricaLog", "Universal Collision Center", "Garcia Realty Group", "Sri Ganesh College of engineering and technology", "Raman Technologies Inc.","", "Cleveland Park Wine", "AficaLog", "Nikkuma Nikkadha");



var web_Picture = new Array ("empty.jpg","web_1.jpg", "web_2.jpg", "web_3.jpg", "web_4.jpg", "web_5.jpg", "web_6.jpg", "web_7.jpg", "web_8.jpg","web_9.jpg","web_10.jpg","web_11.jpg","web_12.jpg","web_13.jpg");







var web_Text = new Array ("","<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.drsreeni.com\", this);' class='bigfont' >www.drsreeni.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>Dr.Sivakumar Sreenivasan, a dentist who provides you the best practice for all kinds of dentistry problems.</div></div>","<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.prprideinn.com\", this);' class='bigfont' >www.prprideinn.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>P.R. Pride Inn is constantly expanding its collection of hotels, restaurants and other real estate interests which include commercial and residential property, retail premises and marinas.</div></div>","<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.cbsny.net\", this);' class='bigfont' >www.cbsny.net</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>www.cbsny.net</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>CUSTOM BUSINESS SOLUTIONS provides a variety of financial services.</div></div>","<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.kaleidoscopemania.com\", this);' class='bigfont' >www.kaleidoscopemania.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>www.kaleidoscopemania.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>Kaleidoscope Mania is an online booking website for celebration of New Year.</div></div>","<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.whitetigerdc.com\", this);' class='bigfont' >www.whitetigerdc.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>www.whitetigerdc.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>The White Tiger - Fine Indian Cuisine in Washington, DC which is the  best Indian Restaurant in USA.</div></div>", "<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.clevelandparkwines.com\", this);' class='bigfont' >www.clevelandparkwines.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>Wine Company in Washington DC and have been serving the community for over fifteen years.</div></div>", "<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.ctec-corp.com\", this);' class='bigfont' >www.ctec-corp.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>CTEC is IT Company in Virginia Corporation which provides innovative solutions in the field of information technology.</div></div>", "<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.diaraonline.com\", this);' class='bigfont' >www.diaraonline.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>Diara Dukes is a website for a model as a Personal Website.</div></div>", "<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.revealreel.com\", this);' class='bigfont' >www.revealreel.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>Reveal Reel showcases short films to create awareness and promote cyber dialogue on social issues.</div></div>", "<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.africalog.com\", this);' class='bigfont' >www.africalog.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>AfricaLog.com - Bridging Africa to the World via News Portal.</div></div>", "<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.henault-sysko.com\", this);' class='bigfont' >www.henault-sysko.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>The Law Office of Henault & Sysko Chartered was established in 1980 by two U.S. Intelligence Community members to champion national security.</div></div>","<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.universalcollisioncenterllc.com\", this);' class='bigfont' >www.universalcollisioncenterllc.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>Universal Collision Center is a Car Repairing Center opened doors in 1989 to little fanfare, but now it is the most visited vehicle shop in Loudon County.</div></div>", "<div style='width: 5px; height: 50px;' class='tddiv'>&nbsp;</div><div style='width: 300px; height: 50px;' class='tddiv'><div onmouseover='setPointer(this);' onmouseout='resetPointer(this);' onclick='openPageLink(\"http://www.corp-corp.com\", this);' class='bigfont' >www.corp-corp.com</div><div style='width: 300px; height: 7px; line-height: 7px;'>&nbsp;</div><div class='smallfont'>Corp-Corp.com is an online market place to find IT Consultants and post IT Contract Requirements.</div></div>");



var graphic_Picture = new Array ("empty.jpg", "graphic_1.jpg", "graphic_2.jpg", "graphic_3.jpg", "graphic_4.jpg", "graphic_5.jpg");



var graphic_Text = new Array ("","", "", "", "", "");



var corporateid_Picture = new Array ("empty.jpg", "corporateid_1.jpg", "corporateid_2.jpg", "corporateid_3.jpg", "corporateid_4.jpg", "corporateid_5.jpg");



var corporateid_Text = new Array ("", "AfricaLog", "Universal Collision Center", "Garcia Realty Group", "Sri Ganesh College of engineering and technology", "Raman Technologies Inc.");



var threeddesign_Picture = new Array ("empty.jpg", "threeddesign_1.jpg", "threeddesign_2.jpg", "threeddesign_3.jpg");



var threeddesign_Text = new Array ("", "Cleveland Park Wine", "AficaLog", "Nikkuma Nikkadha");



var curArrayIndex = 0;

var curArrayIndexNext = 1;

var curArrayMax = 19;

var timeoutId;



var curdecreasePos = 755;

var curincreasePos = 0;

var iLoopCount = 0;

var setText = 0;



function navigatePicture(currentTab)

{

    var stopStatus = "false";

    window.clearInterval(timeoutId);

    window.clearTimeout(timeoutId);

  

  /*  if (setText == 1)

    {

        document.getElementById("firstPicture").style.display = "none";

        document.getElementById("secondPicture").style.display = "none";

        document.getElementById("newline_text").style.display = "block";

        timeoutId = window.setInterval("increamentiLoopCount('newlineText');", 100);

    }

    else

    {

        document.getElementById("firstPicture").style.display = "block";

        document.getElementById("secondPicture").style.display = "block";

        document.getElementById("newline_text").style.display = "none";    

    } */

    

    

    curdecreasePos = 755;

    curincreasePos = 0;

    

    if (currentTab != homeTab)

    {

        homeTab = currentTab;

        setText = 0;

        curArrayIndex = 0;

        curArrayIndexNext = 1;

         if (currentTab == "overall" )

        curArrayMax = 25;

        else if (currentTab == "web" )

            curArrayMax = 13;

        else if (currentTab == "graphic" )

            curArrayMax = 5;

        else if (currentTab == "corporateid")

            curArrayMax = 5;

        else if (currentTab == "threeddesign")

            curArrayMax = 3;

        document.getElementById("firstPicture").style.width = "755px";

        document.getElementById("secondPicture").style.width = "0px"; 

        

        document.getElementById("web").style.backgroundImage = "url('images/home/homeTab.gif')";

        document.getElementById("graphic").style.backgroundImage = "url('images/home/homeTab.gif')";

        document.getElementById("corporateid").style.backgroundImage = "url('images/home/homeTab.gif')";

        document.getElementById("threeddesign").style.backgroundImage = "url('images/home/homeTab.gif')";

        

        if (homeTab != "overall")

        document.getElementById(homeTab).style.backgroundImage = "url('images/home/homeTab_over.gif')";

    }

   

    document.getElementById("firstPicture").style.width = "755px";

    document.getElementById("secondPicture").style.width = "0px";



if (curArrayIndex == 1 )

	   {

	   document.getElementById("firstPicture").innerHTML = "";

	   }

	   

    document.getElementById("firstPicture").style.backgroundImage = "url('images/home/" + eval ( homeTab + "_Picture[" + curArrayIndex + "]"  ) + "')";

    document.getElementById("firstText").innerHTML = eval( homeTab + "_Text[" + curArrayIndex + "]" );

    

    document.getElementById("secondPicture").style.backgroundImage = "url('images/home/" + eval ( homeTab + "_Picture[" + curArrayIndexNext + "]" )+ "')";

    

    if (setText == 0)

    timeoutId = window.setInterval("increamentLoop();", 100);

        

    

    if (setText == 1)

    {

    if (window.navigator.appName == "Microsoft Internet Explorer")

    timeoutId = window.setTimeout("movePicture();", 500);

    else

    timeoutId = window.setTimeout("movePicture();", 1);

    }

}



function increamentLoop()

{

    if (iLoopCount == 100)

    {

        iLoopCount = 0;

        window.clearInterval (timeoutId);

         setText = 1;

        navigatePicture(homeTab);

       

       

    }

    else

    {

        iLoopCount++;

    }

        

}



function movePicture()

{

    if (window.navigator.appName == "Microsoft Internet Explorer")

    {

        curdecreasePos = curdecreasePos - 50;

        curincreasePos = curincreasePos + 50;

        if (curdecreasePos < 50)

        {

            curdecreasePos = 0;

            curincreasePos = 755;

        }

    }

    else

    {

        curdecreasePos = curdecreasePos - 2;

        curincreasePos = curincreasePos + 2;

        if (curdecreasePos < 2)

        {

            curdecreasePos = 0;

            curincreasePos = 755;

        }    

    }

    

    

    

    document.getElementById("firstPicture").style.width = curdecreasePos + "px";

    document.getElementById("secondPicture").style.width = curincreasePos + "px";

    

    if (curdecreasePos < 150)

    {

     document.getElementById("firstText").innerHTML = eval( homeTab + "_Text[" + curArrayIndexNext + "]" );

    }

    

    if (curdecreasePos == 0)

    {

        window.clearTimeout(timeoutId);

    //    document.getElementById("firstText").innerHTML = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + eval( homeTab + "_Text[" + curArrayIndex + "]" );

        timeoutId = window.setInterval("increamentiLoopCount();", 100);

       

    }

    else

    {

 

    if (window.navigator.appName == "Microsoft Internet Explorer")

        timeoutId = window.setTimeout("movePicture();", 500);

    else

        timeoutId = window.setTimeout("movePicture();", 1);

     

    }

        

}





function increamentiLoopCount()

{   



        if (iLoopCount == 50)

        {   

            

            window.clearInterval(timeoutId);

            iLoopCount = 0;



           // if (srcTab == "normal")

        //    {

            curArrayIndex = curArrayIndex + 1;

    

            if (curArrayIndex > curArrayMax)

                curArrayIndex = 0;

                

            curArrayIndexNext = curArrayIndexNext + 1;

            

            if (curArrayIndexNext > curArrayMax)

                curArrayIndexNext = 0;

            // }

           //  else

           //  setText = 0;

            navigatePicture(homeTab);

         }  

         else

            iLoopCount++;

}



function movePrevious()

{



   window.clearInterval(timeoutId);

    window.clearTimeout(timeoutId);

    iLoopCount = 0;

 

        if (window.navigator.appName == "Microsoft Internet Explorer")

        {

           curdecreasePos = curdecreasePos + 50;

           curincreasePos = curincreasePos - 50;

         

           if (curdecreasePos > 50)

           {

            curdecreasePos = 755;

            curincreasePos = 0;

           }

        }

        else

        {



           curdecreasePos = curdecreasePos + 2;

           curincreasePos = curincreasePos - 2;

           if (curdecreasePos > 753)

           {

                curdecreasePos = 755;

                curincreasePos = 0;

           }    

        }

 

    document.getElementById("secondPicture").style.width = curincreasePos + "px";

    document.getElementById("firstPicture").style.width = curdecreasePos + "px";

    

    if (curdecreasePos > 450)

    {

     document.getElementById("firstText").innerHTML = eval( homeTab + "_Text[" + curArrayIndex + "]" );

    }

    

   if (curdecreasePos < 755)

   {

             if (window.navigator.appName == "Microsoft Internet Explorer")

                timeoutId = window.setTimeout("movePrevious();", 500);

             else

                timeoutId = window.setTimeout("movePrevious();", 1);

 }

   else

  {

        curdecreasePos = 0;

        curincreasePos = 755;

        if (curArrayIndex == 0)

            curArrayIndex = curArrayMax;

        else

            curArrayIndex = curArrayIndex - 1;

  

        if (curArrayIndexNext == 0)

            curArrayIndexNext = curArrayMax;

        else

            curArrayIndexNext = curArrayIndexNext - 1;

           

        

       document.getElementById("firstPicture").style.backgroundImage = "url('images/home/" + eval(homeTab + "_Picture[" + curArrayIndex + "]") + "')";

	   

	  

	   

	   

       document.getElementById("firstPicture").style.width = "0px";

       

       document.getElementById("secondPicture").style.backgroundImage = "url('images/home/" + eval(homeTab + "_Picture[" + curArrayIndexNext + "]") + "')";

       document.getElementById("secondPicture").style.width = "755px";   



       window.clearTimeout(timeoutId);

       timeoutId = window.setInterval("increamentiLoopCount();", 100);

   }

    



}





function moveNext()

{

    window.clearTimeout(timeoutId);

    window.clearInterval(timeoutId);

    iLoopCount = 0;

    

    if (curdecreasePos > 0)

     {

        if (window.navigator.appName == "Microsoft Internet Explorer")

        {

            curdecreasePos = curdecreasePos - 50;

            curincreasePos = curincreasePos + 50;

            if (curdecreasePos < 50)

            {

                curdecreasePos = 0;

                curincreasePos = 755;

            }

        }

        else

        {

            curdecreasePos = curdecreasePos - 2;

            curincreasePos = curincreasePos + 2;

            if (curdecreasePos < 2)

            {

                curdecreasePos = 0;

                curincreasePos = 755;

            }    

        }

       

        /*curdecreasePos = curdecreasePos - 2;

        curincreasePos = curincreasePos + 2;

    

        if  (curdecreasePos < 2)

        {

            curdecreasePos = 0;

            curincreasePos = 755;

        }*/

    

        document.getElementById("firstPicture").style.width = curdecreasePos + "px";

        document.getElementById("secondPicture").style.width = curincreasePos + "px";

        if (curdecreasePos < 450)

    {

     document.getElementById("firstText").innerHTML = eval( homeTab + "_Text[" + curArrayIndexNext + "]" );

    }

        

        if (curdecreasePos == 0 )

        {

            window.clearTimeout(timeoutId);   

              curArrayIndex = curArrayIndex + 1;

    

        if (curArrayIndex > curArrayMax)

        curArrayIndex = 0;

                

        curArrayIndexNext = curArrayIndexNext + 1;

            

        if (curArrayIndexNext > curArrayMax)

        curArrayIndexNext = 0;

            

            navigatePicture(homeTab);         

        }

        else

        {

            if (window.navigator.appName == "Microsoft Internet Explorer")

                timeoutId = window.setTimeout("moveNext();", 500);

            else

                timeoutId = window.setTimeout("moveNext();", 1);

        }        

    }

    else

    {

        curArrayIndex = curArrayIndex + 1;

    

        if (curArrayIndex > curArrayMax)

        curArrayIndex = 0;

                

        curArrayIndexNext = curArrayIndexNext + 1;

            

        if (curArrayIndexNext > curArrayMax)

        curArrayIndexNext = 0;

                

        navigatePicture(homeTab);    

    }

    

}



function setOpacity(srcObj)

{

    document.getElementById(srcObj).style.opacity = "0.8";

    document.getElementById(srcObj).style.filter = "alpha(opacity=80)";

    document.getElementById(srcObj).style.cursor = "Pointer";

}





function resetOpacity(srcObj)

{

    document.getElementById(srcObj).style.opacity = "0.3";

    document.getElementById(srcObj).style.filter = "alpha(opacity=30)";

}









/*function setSlideShow()

{

    document.getElementById("pictureContainer").style.backgroundImage = "url('images/home/web_" + curObj + ".jpg')";

    document.getElementById("pictureContainer").style.backgroundPosition = "0px 755px 313px 755px;";

}



var direction = "forward";

var positivedir = 1;



function homeSlideShow()

{

    var imgArray = new Array("web_1", "web_2", "web_3", "web_4", "web_5", "web_6"); 

    var imgLoader = new Array(); */

    

    

    

 /*if (imageStatus == "false")

 {

    for (var iLoop = 0; iLoop < 6; iLoop++)

    {

        imgLoader[iLoop] = new Image(755, 313)

        imgLoader[iLoop].src = "images/home/" + imgArray[iLoop] + ".jpg";

    }

    if (iLoop == 6)

    imageStatus = "true";

  }

    

    if (imageStatus == "true")

    {*/

    

  /* curWidth = curWidth - 50;

   positivedir = positivedir + 50;

   

   if (curWidth >= 2)

   {

        document.getElementById("pictureContainer").style.width = curWidth + "px";

        document.getElementById("dummyContainer").style.width = positivedir + "px";

   }

   else if (setDuration < 2000)

   {

        document.getElementById("pictureContainer").style.width = "0px";

        document.getElementById("dummyContainer").style.width = "755px";

        setDuration = setDuration + 50;

   }

   else

   {

        setDuration = 0;

        curWidth = 754;

        positivedir = 1

        document.getElementById("pictureContainer").style.backgroundImage = document.getElementById("dummyContainer").style.backgroundImage;

        curObj = curObj + 1

        if (curObj > webmax)

        curObj = 1;

        document.getElementById("dummyContainer").style.backgroundImage = "url('images/home/web_" + curObj + ".jpg')";

        document.getElementById("dummyContainer").style.width = "1px";         

   }

//   } */

   

       

  /*  if (direction == "forward")

    curWidth = curWidth + 50;

    else if (direction == "reverse" && setDuration >= 100)

    {

    curWidth = curWidth - 50;

    positivedir = positivedir + 50;

    }

    

    minWidth = minWidth - 50;



    if (minWidth < 0)

     minWidth = 0;  */



   //if (curWidth >= 752)

   //window.clearInterval (interValId);

   

 

/*     document.getElementById("firstpictureContainer").style.width = minWidth + "px";

     if (curWidth > 752 )

     {

     curWidth = 752;

     direction = "reverse";

     document.getElementById("thirdpictureContainer").style.backgroundImage = "url('images/home/web_2.jpg')";  

     positivedir = 1;        

     }

     document.getElementById("pictureContainer").style.width =  curWidth + "px";

     

   if (minWidth == 0)

   {

    if  ( setDuration < 100)

        setDuration = setDuration + 10;

    else if ( curWidth > 5)

    {

        document.getElementById("pictureContainer").style.backgroundPosition = "right";

        document.getElementById("pictureContainer").style.width = curWidth + "px";

        document.getElementById("thirdpictureContainer").style.width = positivedir + "px";

    }

    else

    {

        curWidth = 1;

        minWidth = 750;

        setDuration = 0;

        document.getElementById("firstpictureContainer").style.width = "750px";

        document.getElementById("pictureContainer").style.width = "1px";

        curObj = curObj + 1;

        document.getElementById("pictureContainer").style.backgroundImage = "url('images/home/web_" + curObj + ".jpg')";  

        document.getElementById("pictureContainer").style.backgroundPosition = "left";

    direction = "forward";

    }

    }*/

   

//}



//var interValId;

//interValId = window.setInterval("homeSlideShow();", 200);

//interValId = window.setInterval("homeSlideShow();", 1);

/*var firstWidth = 755;

var secondWidth = 0;



var overallPicture = "<marquee width=\"755px; height: 313px;\" scrollamount=30  onmouseover=\"this.style.cursor = 'pointer'; document.getElementById('overall_gallery').stop();\" onmouseout=\"document.getElementById('overall_gallery').start();\"><div style=\"width: 14345px; height: 313px;\" id=\"allPicture\"><div style=\"width: 755px; height: 313px; background-image: url('images/home/web_1.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/web_2.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/web_3.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/web_4.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/web_5.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/web_6.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/graphic_1.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/graphic_2.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/graphic_3.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/graphic_4.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/graphic_5.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/corporateid_1.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/corporateid_2.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/corporateid_3.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/corporateid_4.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/corporateod_5.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/threeddesign_1.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/threeddesign_2.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/threeddesign_3.jpg');\" class=\"tddiv\">&nbsp;</div></div></marquee>";



var webPicture = "<marquee style=\"width: 755px; height: 313px;\" scrollamount=30  onmouseover=\"this.style.cursor = 'pointer'; document.getElementById('overall_gallery').stop();\" onmouseout=\"document.getElementById('overall_gallery').start();\"><div style=\"width: 4530px; height: 313px;\" id=\"allPicture\"><div style=\"width: 755px; height: 313px; background-image: url('images/home/web_1.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/web_2.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/web_3.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/web_4.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/web_5.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/web_6.jpg');\" class=\"tddiv\">&nbsp;</div></div></marquee>";



var graphicPicture = "<marquee width=\"755px; height: 313px;\" scrollamount=30  onmouseover=\"this.style.cursor = 'pointer'; document.getElementById('overall_gallery').stop();\" onmouseout=\"document.getElementById('overall_gallery').start();\"><div style=\"width: 4530px; height: 313px;\" id=\"allPicture\"><div style=\"width: 755px; height: 313px; background-image: url('images/home/graphic_1.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/graphic_2.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/graphic_3.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/graphic_4.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/graphic_5.jpg');\" class=\"tddiv\">&nbsp;</div></div></marquee>"



var corporateidPicture = "<marquee width=\"755px; height: 313px;\" scrollamount=30  onmouseover=\"this.style.cursor = 'pointer'; document.getElementById('overall_gallery').stop();\" onmouseout=\"document.getElementById('overall_gallery').start();\"><div style=\"width: 4530px; height: 313px;\" id=\"allPicture\"><div style=\"width: 755px; height: 313px; background-image: url('images/home/corporateid_1.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/corporateid_2.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/corporateid_3.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/corporateid_4.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/corporateod_5.jpg');\" class=\"tddiv\">&nbsp;</div></div></marquee>";



var threeddesignPicture = "<marquee width=\"755px; height: 313px;\" scrollamount=30  onmouseover=\"this.style.cursor = 'pointer'; document.getElementById('overall_gallery').stop();\" onmouseout=\"document.getElementById('overall_gallery').start();\"><div style=\"width: 2265px; height: 313px;\" id=\"allPicture\"><div style=\"width: 755px; height: 313px; background-image: url('images/home/threeddesign_1.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/threeddesign_2.jpg');\" class=\"tddiv\">&nbsp;</div><div style=\"width: 755px; height: 313px; background-image: url('images/home/threeddesign_3.jpg');\" class=\"tddiv\">&nbsp;</div></div></marquee>";





function navigatePicture(innerObj)

{*/

   /* if (firstWidth == 755)

    

    if (firstWidth > 0)

    {

        firstWidth = firstWidth - 50;

        if firstWidth < 50

        firstWidth = 0;

        

        secondWidth = secondWidth + 50;

        if secondWidth > 700

        secondWidth = 755;

        document.getElementById("firstPicture").style.width = firstWidth + "px";

        alert( firstWidth + "    " + secondWidth);

        document.getElementById("secondPicture").style.width = secondWidth + "px";           

        window.setTimeout("navigatePicture();", 1000);

    }*/

    // homeTab = innerObj;

    //document.getElementById("overall_gallery").innerHTML = eval(innerObj + "Picture"); 

   /* alert (document.getElementById("overall_gallery").innerHTML);

    document.getElementById("overall_gallery").innerHTML = "<marquee style='width: 755px; height: 313px;' scrollamount=30>Hello</marquee>";

  alert (document.getElementById("overall_gallery").innerHTML);

    

    document.getElementById("web").style.backgroundImage = "url('images/home/hometab.gif')";

    document.getElementById("graphic").style.backgroundImage = "url('images/home/hometab.gif')";  

    document.getElementById("corporateid").style.backgroundImage = "url('images/home/hometab.gif')";

    document.getElementById("threeddesign").style.backgroundImage = "url('images/home/hometab.gif')";

    

    if (innerObj != "overall")

    document.getElementById(innerObj).style.backgroundImage = "url('images/home/hometab_over.gif')";*/

    

  /*  document.getElementById("overall_marquee").style.display = "none";

    document.getElementById("web_marquee").style.display = "none";

    document.getElementById("graphic_marquee").style.display = "none";

    document.getElementById("corporateid_marquee").style.display = "none";

    document.getElementById("threeddesign_marquee").style.display = "none";

    

    document.getElementById(innerObj + "_marquee").style.display = "block";

    alert (document.getElementById(innerObj + "_marquee").innerHTML);

}



function resetMarquee()

{

document.getElementById("overall_gallery").loop = document.getElementById("overall_gallery").loop + 1;

navigatePicture(homeTab);

}*/




