
    var loadstate2 = "init"; //variable to find the state for loading content
    var constantInnerHTML2 = ""; //varible to hold the Scheme Name Column
    
    //Scheme Name column is stored upon calling this function
    function initialiseInnerHTML2()
    {
       constantInnerHTML2 = document.getElementById("fundingtab2").innerHTML;
    }
    //Content to appear upon loading of page
    function initialiseTable2()
    {
        if (loadstate2=="init")
        {
            elem2 = document.getElementById("fundingtab2");
            elem2.innerHTML= loadStateInit2();    
        } 
    }
    function btnPrev_Click2()
    {
        if (loadstate2=="last")
        {
            loadstate2="step1";
        }
        else if (loadstate2=="step1")
        {
            loadstate2="init";
        }
        elem2 = document.getElementById("fundingtab2");
        if(loadstate2=="step1")
        {
            elem2.innerHTML = loadStateStep3();
        }
        else if (loadstate2=="init")
        {
            elem2.innerHTML = loadStateInit2();
        }  
     
    }
    function btnNext_Click2()
    {
        if (loadstate2=="init")
        {
            loadstate2="step1";
        }
        else if (loadstate2=="step1")
        {
            loadstate2="last";
        }
        elem2 = document.getElementById("fundingtab2");
        if(loadstate2=="step1")
        {
            elem2.innerHTML = loadStateStep3();
        }
        else if (loadstate2=="last")
        {
            elem2.innerHTML = loadStateLast2();
        }  
     
    }
    function loadStateInit2()
    {
        var innerHTMLText2 = "";
        innerHTMLText2 = constantInnerHTML2+"<div id=\"fundingtab2_arrow_previous\"><img src=\"/BusinessCentre/PublishingImages/Funding/arrow_previous.png\" alt=\"Previous\" class=\"prev\" onclick=\"btnPrev_Click2();\" style=\"display:none\"/></div>";

        innerHTMLText2= innerHTMLText2+"<div id=\"fundingtab2_values\"><div><div class=\"values\" id=\"first\"><div class=\"head\">ALL</div>";

        innerHTMLText2 = innerHTMLText2+" <div></div><div></div><div></div><div></div>";
       innerHTMLText2 = innerHTMLText2+"<div  onmouseover=\"MyTip('schemes','Our support for Industry (Futurescape programme) seeks to mobilise the industry, targeting 3 groups in particular – major international companies, local flagship companies and Small Medium Enterprises (SMEs) – to engage in IDM R&D in Singapore. <br/><a target = _blank  href=http://www.idm.sg/support/futurescape/  target=_blank>http://www.idm.sg/support/futurescape/</a>','');\" onmouseout=\"UnTip();\"><img  src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\" /></div> ";
            
        
         innerHTMLText2 = innerHTMLText2+" <div  onmouseover=\"MyTip('schemes','Provides assistance through grants to cover the costs of overseas  business missions led by MDA to explore new markets or to participate in approved trade shows or market platforms.<br/><a  href=http://www.smf.sg/BusinessCentre/Pages/MarketDevelopScheme.aspx>For more information</a>','');\" onmouseout=\"UnTip ();\"><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\" /></div>";
         innerHTMLText2 = innerHTMLText2+" <div></div><div></div><div></div>";
         innerHTMLText2 = innerHTMLText2+" <div  onmouseover=\"MyTip('schemes','A scholarship scheme for students and industry professionals who  wish to pursue full-time advanced diploma, undergraduate and postgraduate media-related courses at reputable overseas or local tertiary  institutions.<br/><a href=/BusinessCentre/Pages/MediaEducationScheme.aspx>For More Information.</a><br/>','');\"  onmouseout=\"UnTip();\"><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\"  /></div>";
         innerHTMLText2 = innerHTMLText2+" <div></div><div></div><div></div><div></div></div>";

innerHTMLText2 = innerHTMLText2+"<div class=\"values\" id=\"second\"><div class=\"head\">Film</div>";
           innerHTMLText2 = innerHTMLText2+" <div></div><div></div><div></div><div></div><div></div><div></div>";
		innerHTMLText2 = innerHTMLText2+"<div  onmouseover=\"MyTip('schemes','A funding scheme to equip Singapore film, animation and publishing projects with financial support for exposure, representation, and business-matching opportunities to boost international marketability outside of industry trade and market platforms. It is geared towards the potential distribution and sales of such projects.<br/> <a target = _blank href=/SingaporeMediaCity/Documents/INSPIRE%20Form.pdf>Download PDF</a>','');\"  onmouseout=\"UnTip();\"><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\"  /></div> ";
		innerHTMLText2 = innerHTMLText2+"<div  onmouseover=\"MyTip('schemes','The SFC Script Development Programme aims to encourage and support film scriptwriters who have the talent to tell good stories by helping them develop their ideas into full-length feature film scripts that are ready for production. Selected applicants will be given an opportunity to benefit from an overseas attachment programme.<br><a href=/BusinessCentre/Pages/SFCSCRIPTDEVELOPMENT.aspx>For More Information.</a>','');\" onmouseout=\"UnTip();\"><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\" /></div> ";
		innerHTMLText2 = innerHTMLText2+"<div  onmouseover=\"MyTip('schemes','The SFC Short Film Grant aims to encourage aspiring and practicing filmmakers to develop a short film subject and funds up to $10,000 per project. This Grant has a new quarterly deadline for applications.<br><a href=/BusinessCentre/Pages/ShortFilmGrant.aspx>For More Information.</a>','');\" onmouseout=\"UnTip();\"><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\" /></div> ";
        innerHTMLText2 = innerHTMLText2+" <div></div>";
    
		innerHTMLText2 = innerHTMLText2+"<div  onmouseover=\"MyTip('schemes','A fund that provides up to S$25,000 to help local filmmakers defray the costs of converting or developing a 35mm print master from a digital version of their film.<br/> <a target = _blank href=/BusinessCentre/Documents/Application%20Forms/35mm-Info.pdf>Download Information PDF</a> and <a target = _blank href=/BusinessCentre/Documents/Application%20Forms/35mm-Application.pdf>Application Form</a><br>To learn more about the Singapore Film Commission, click<a href=http://www.sfc.org.sg  target=_blank> here</a>','');\"  onmouseout=\"UnTip();\"><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\"  /></div> ";
		innerHTMLText2 = innerHTMLText2+"<div  onmouseover=\"MyTip('schemes','TAP is a funding programme to help promote Singapore film internationally by supporting Singapore film talents to attend international films and competitions when their completed films are selected for screening and/or awards.<br/>TAP will start effective 1 April 2010<br/><a href=/BusinessCentre/Pages/TravelAssistanceProgramme.aspx>For More Information.</a>','');\"  onmouseout=\"UnTip();\"><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\"  /></div><div></div>";
		  innerHTMLText2 = innerHTMLText2+" <div><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\" /></div></div>";

        innerHTMLText2 = innerHTMLText2+"<div class=\"values\" id=\"third\"><div class=\"head\">TV</div>";
               innerHTMLText2 = innerHTMLText2+" <div  onmouseover=\"MyTip('schemes','Local production companies can submit proposals for television programmes to MDA for consideration all year round.','');\" onmouseout=\"UnTip();\"><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\" /></div>";
                    innerHTMLText2 = innerHTMLText2+" <div></div>";
                 
 	
 innerHTMLText2 = innerHTMLText2+" <div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\" /></div>";
  innerHTMLText2 = innerHTMLText2+" <div><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\" /></div></div>";

        



        innerHTMLText2 = innerHTMLText2+"<div id=\"fundingtab2_arrow_next\"><img src=\"/BusinessCentre/PublishingImages/Funding/arrow_next.png\" alt=\"Next\" class=\"next\" onclick=\"btnNext_Click2();\" /></div></div>";

        return innerHTMLText2;
    }
    function loadStateStep3()
    {
        var innerHTMLText2 = "";
        innerHTMLText2=constantInnerHTML2+"<div id=\"fundingtab2_arrow_previous\"><img src=\"/BusinessCentre/PublishingImages/Funding/arrow_previous.png\" alt=\"Previous\" class=\"prev\" onclick=\"btnPrev_Click2();\"  /><div></div><div></div></div>";

        innerHTMLText2 = innerHTMLText2+"<div id=\"fundingtab2_values\"><div><div class=\"values\" id=\"fourth\"><div class=\"head\">Publishing</div>";
 innerHTMLText2 = innerHTMLText2+" <div></div><div></div><div></div><div></div><div></div><div></div>";
          innerHTMLText2 = innerHTMLText2+"<div  onmouseover=\"MyTip('schemes','A funding scheme to equip Singapore film, animation and publishing projects with financial support for exposure, representation, and business-matching opportunities to boost international marketability outside of industry trade and market platforms. It is geared towards the potential distribution and sales of such projects.<br/> <a target = _blank href=/SingaporeMediaCity/Documents/INSPIRE%20Form.pdf>Download PDF</a>','');\"  onmouseout=\"UnTip();\"><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\"  /></div> ";
           innerHTMLText2 = innerHTMLText2+" <div></div><div></div><div></div>";
            innerHTMLText2 = innerHTMLText2+" <div></div><div></div><div><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\" /></div><div></div></div>";


          innerHTMLText2 = innerHTMLText2+"<div class=\"values\" id=\"fifth\"><div class=\"head\">Games</div>";
           innerHTMLText2 = innerHTMLText2+"<div></div><div></div><div></div><div></div><div></div>";
           innerHTMLText2 = innerHTMLText2+" <div></div><div></div><div></div><div></div><div></div><div></div><div></div><div><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\" /></div><div></div></div>";

        
        innerHTMLText2 = innerHTMLText2+"<div class=\"values\" id=\"sixth\"><div class=\"head\">Animation</div>";
        innerHTMLText2 = innerHTMLText2+" <div></div>";
        innerHTMLText2 = innerHTMLText2+"<div  onmouseover=\"MyTip('schemes','Local animation  companies can submit their proposals for animated TV projects and animated features to MDA for consideration all year round.<br/><a href=/BusinessCentre/Pages/SCREEN(Animation).aspx>For More Information.</a>','');\" onmouseout=\"UnTip();\"><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\" /></div>";
      
         innerHTMLText2 = innerHTMLText2+"<div  onmouseover=\"MyTip('schemes','Funds the development of pitching materials for animated televison series and feature films. Local animation companies will need to deliver a 5-minute pitch to an MDA evaluation panel.','');\" onmouseout=\"UnTip();\"><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\" /></div> ";
          innerHTMLText2 = innerHTMLText2+"<div  onmouseover=\"MyTip('schemes','Local animation and game companies can submit project proposal for the development of original TV animation, trailers for original animated feature films, playable game demos for original computer, console and mobile games.<br/><a href=/BusinessCentre/Pages/PILOT(Animation).aspx>For More Information.</a> ','');\" onmouseout=\"UnTip();\"><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\" /></div> ";
            innerHTMLText2 = innerHTMLText2+" <div></div><div></div>";
            innerHTMLText2 = innerHTMLText2+"<div  onmouseover=\"MyTip('schemes','A funding scheme to equip Singapore film, animation and publishing projects with financial support for exposure, representation, and business-matching opportunities to boost international marketability outside of industry trade and market platforms. It is geared towards the potential distribution and sales of such projects.<br/> <a target = _blank href=/SingaporeMediaCity/Documents/INSPIRE%20Form.pdf>Download PDF</a>','');\"  onmouseout=\"UnTip();\"><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\"  /></div> ";
           
    innerHTMLText2 = innerHTMLText2+" <div></div><div></div><div></div><div></div><div></div><div><img src=\"/BusinessCentre/PublishingImages/Funding/icon_checked.gif\" alt=\"\" /></div><div></div></div>";
        innerHTMLText2 = innerHTMLText2+"<div id=\"fundingtab2_arrow_next\"><img src=\"/BusinessCentre/PublishingImages/Funding/arrow_next.png\" alt=\"Next\" class=\"next\" onclick=\"btnNext_Click2();\" /></div>";

        return innerHTMLText2;    
    }

function loadStateLast2()
    {
        var innerHTMLText2 = "";
                innerHTMLText2=constantInnerHTML2+"<div id=\"fundingtab2_arrow_previous\"><img src=\"/BusinessCentre/PublishingImages/Funding/arrow_previous.png\" alt=\"Previous\" class=\"prev\" onclick=\"btnPrev_Click2();\"  /><div></div><div></div></div>";
        innerHTMLText2= innerHTMLText2+"<div id=\"fundingtab2_values\"><div><div class=\"values\" id=\"sixth\"><div class=\"head\">Media  Services</div>";
       innerHTMLText2 = innerHTMLText2+" <div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div> </div>";


		innerHTMLText2 = innerHTMLText2+"<div class=\"values\" id=\"seventh\"><div class=\"head\">IDM</div>";

		     innerHTMLText2 = innerHTMLText2+" <div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div> </div>";

		 innerHTMLText2 = innerHTMLText2+"<div class=\"values\" id=\"last\"><div  class=\"head\">Music</div>";

		    innerHTMLText2 = innerHTMLText2+" <div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div> <div></div><div></div></div>";
return innerHTMLText2; 
}
