﻿document.write('<script type="text/javascript" src="http://www.in.gov/ai/rightnow/syndication_widget/arss.js"></script>');
function faqload(){
    document.getElementById('want').style.display='none';document.getElementById('faq').style.display='none';
 
    var reader2 = RNTFeed.getReader();
    reader2.uri='http://iot.custhelp.com/cgi-bin/iot.cfg/php/enduser/opensearch.php?p_cv=2.80';
    reader2.pagesize = 10;
    reader2.navigation = "off";
    reader2.searchbox = "off";
    reader2.render("faqdivload");
    reader2.search("");
    var timeX = setTimeout("document.getElementById('want').style.display='block'", 500);
}
 
function showAudio()  {
var investAudio = "<object classid=\"CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95\" id=\"mediaplayer1\" height=\"40\" width=\"250\"> <param name=\"Filename\" value=\"http://www.in.gov/gov/files/Audio/022709_INvest.mp3\"> <param name=\"AutoStart\" id=\"AutoStart\" value=\"true\"> <param name=\"ShowControls\" value=\"True\"> <param name=\"ShowStatusBar\" value=\"False\"> <param name=\"ShowDisplay\" value=\"False\"> <param name=\"AutoRewind\" value=\"True\"> <param name=\"src\" value=\"http://www.in.gov/gov/files/Audio/022709_INvest.mp3\"> <embed type=\"application/x-mplayer2\" pluginspage=\"http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/\" src=\"http://www.in.gov/gov/files/Audio/022709_INvest.mp3\" autostart=\"1\" showcontrols=\"1\" showstatusbar=\"0\" showdisplay=\"0\" autorewind=\"1\" height=\"40\" width=\"250\" id=\"govmsg\" enablejavascript=\"true\"></embed> </object> <br><a href=\"http://www.in.gov/gov/files/Audio/022709_INvest.mp3\">Download Audio File</a>";
document.getElementById('objecthere').innerHTML = investAudio;
}
 
function statecheck()
{
if (this.value=='IN') document.getElementById('stoplayer2').style.display = 'none'; else document.getElementById('stoplayer2').style.display = 'block';
}
 
var map1 = '<iframe width=\"425\" height=\"350\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"http://maps.google.com/maps?f=d&source=s_d&saddr=39.768667,-86.16369&daddr=&hl=en&geocode=&mra=mi&mrsp=0&sz=18&sll=39.768552,-86.163733&sspn=0.003006,0.004812&ie=UTF8&ll=39.767975,-86.163282&spn=0.024047,0.038495&z=15&amp;output=embed\"></iframe><br /><small><a href=\"http://maps.google.com/maps?f=d&source=s_d&saddr=39.768667,-86.16369&daddr=&hl=en&geocode=&mra=mi&mrsp=0&sz=18&sll=39.768552,-86.163733&sspn=0.003006,0.004812&ie=UTF8&ll=39.767975,-86.163282&spn=0.024047,0.038495&z=15&amp;source=embed\" style=\"color:#0000FF;text-align:left\">View Larger Map</a></small>';
var map2 ='<iframe width=\"425\" height=\"350\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"http://maps.google.com/maps?f=d&source=s_d&saddr=&daddr=39.135008,-85.131072&geocode=&view=map&hl=en&mra=dme&mrcr=0&mrsp=1&sz=19&sll=39.134837,-85.130546&sspn=0.001517,0.002406&ie=UTF8&ll=39.128595,-85.128851&spn=0.048405,0.07699&z=14&amp;output=embed\"></iframe><br /><small><a href=\"http://maps.google.com/maps?f=d&source=s_d&saddr=&daddr=39.135008,-85.131072&geocode=&view=map&hl=en&mra=dme&mrcr=0&mrsp=1&sz=19&sll=39.134837,-85.130546&sspn=0.001517,0.002406&ie=UTF8&ll=39.128595,-85.128851&spn=0.048405,0.07699&z=14\" style=\"color:#0000FF;text-align:left\">View Larger Map</a></small>';
var map3 ='<iframe width=\"425\" height=\"350\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"http://maps.google.com/maps?q=West+Street+and+Vaughn+Drive,+Madison+IN&amp;oe=UTF-8&amp;safe=active&amp;ie=UTF8&amp;split=0&amp;gl=us&amp;ei=SpxxSu4Pkrg1nriwywo&amp;ll=38.742503,-85.375957&amp;spn=0.023431,0.036478&amp;z=14&amp;iwloc=A&amp;output=embed\"></iframe><br /><small><a href=\"http://maps.google.com/maps?q=West+Street+and+Vaughn+Drive,+Madison+IN&amp;oe=UTF-8&amp;safe=active&amp;ie=UTF8&amp;split=0&amp;gl=us&amp;ei=SpxxSu4Pkrg1nriwywo&amp;ll=38.742503,-85.375957&amp;spn=0.023431,0.036478&amp;z=14&amp;iwloc=A&amp;source=embed\" style=\"color:#0000FF;text-align:left\">View Larger Map</a></small>';
var map4 ='<iframe width=\"425\" height=\"350\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=316+East+Spring+Street,+New+Albany&amp;sll=37.0625,-95.677068&amp;sspn=42.089199,93.955078&amp;ie=UTF8&amp;ll=38.296808,-85.816612&amp;spn=0.010223,0.022938&amp;z=14&amp;iwloc=A&amp;output=embed\"></iframe><br /><small><a href=\"http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=316+East+Spring+Street,+New+Albany&amp;sll=37.0625,-95.677068&amp;sspn=42.089199,93.955078&amp;ie=UTF8&amp;ll=38.296808,-85.816612&amp;spn=0.010223,0.022938&amp;z=14&amp;iwloc=A\" style=\"color:#0000FF;text-align:left\">View Larger Map</a></small>';
var map5='<iframe width=\"425\" height=\"350\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=8670+West+State+Road+56,+french+lick+indiana&amp;sll=38.332047,-85.829531&amp;sspn=0.012237,0.019248&amp;gl=us&amp;ie=UTF8&amp;ll=38.564811,-86.610718&amp;spn=0.023489,0.036478&amp;z=14&amp;iwloc=A&amp;output=embed\"></iframe><br /><small><a href=\"http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=8670+West+State+Road+56,+french+lick+indiana&amp;sll=38.332047,-85.829531&amp;sspn=0.012237,0.019248&amp;gl=us&amp;ie=UTF8&amp;ll=38.564811,-86.610718&amp;spn=0.023489,0.036478&amp;z=14&amp;iwloc=A\" style=\"color:#0000FF;text-align:left\">View Larger Map</a></small>';
 
function displaymap(map,linkid){
document.getElementById(map).style.display='block';
var linktxt = document.getElementById(linkid);
    if (linktxt.innerHTML == 'View Map')
    {
    linktxt.innerHTML='Close Map';
        if(map == 'map1')
        {
        document.getElementById(map).innerHTML=map1;}
        else if(map == 'map2')
        {
        document.getElementById(map).innerHTML=map2;}    
        else if(map == 'map3')
        {
        document.getElementById(map).innerHTML=map3;}        
        else if(map == 'map4')
        {
        document.getElementById(map).innerHTML=map4;}        
        else if(map == 'map5')
        {
        document.getElementById(map).innerHTML=map5;} 
    window.location.href='#bottom';               
    }
    else if(linktxt.innerHTML == 'Close Map'){
    linktxt.innerHTML='View Map';
    document.getElementById(map).style.display='none';
    }
}
function motoLink(){
var x = document.getElementsByClassName('linkhdr');
    for(i=0;i<x.length;i++){
        if (x[i].firstChild.innerHTML=='Motorcycle'){
        x[i].firstChild.innerHTML='Motorcycle Home Page';
        }
    }
}