﻿// JScript File
	//For FEMA Map Dislaimer Window Off of Menu Control I want To
function my_win1()
{
var w = (screen.availWidth *.9)||(screen.width * .9)
var h = (screen.availHeight *.9)||(screen.height * .9)

window.open('misc/fema_disclaimer.aspx','mywindow1','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,copyhistory=yes,resizable=yes,width='+w+', height='+h);
}
//For GIS interactive Map Dislaimer Window Off of Transportation Stormwater

function my_win2()
{
var w = (screen.availWidth *.9)||(screen.width * .9)
var h = (screen.availHeight *.9)||(screen.height * .9)
window.open('http://pubarcims.marioncountyfl.org/website/MCBCC_General?ActiveLayer=X&Layers=00001000000000000111000001110000000001000000011','mywindow1','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,copyhistory=yes,resizable=yes,width='+w+', height='+h);
}





	function new_window2() 
	{
		var w = (screen.availWidth * .9)||(screen.width * .9)
        var h = (screen.availHeight * .9)||(screen.height * .9)


		window.open('http://www.marioncountyclerk.org/index.cfm?FuseAction=BoardMinutes.Home&DisplayTextOnly=True&CFID=14643&CFTOKEN=88145603&Cerberus=532a9974e398eb34fa9c0e73285a8e18','mywindow3','location=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,width='+w+', height='+h);
	}
   function new_window1() 
	{
	    var w = (screen.availWidth * .9)||(screen.width * .9)
        var h = (screen.availHeight * .9)||(screen.height * .9)

        window.open('http://agendas.marioncountyfl.org/docdepot61/','mywindow2','location=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,width='+w+', height='+h);

	}
	function new_window() 
	{
	location=("../Commissioners/agendas/video_archive.aspx")  
	}
	
    function videoarhive()  
    { 
    location=("video_archive.aspx")  
    }


	
/* tabs on front page */	
	  var panels = new Array('panel1', 'panel2', 'panel3', 'panel4');
  var selectedTab = null;
  function showPanel(tab, name)
  {
    if (selectedTab) 
    {
      selectedTab.style.backgroundColor = '';
      selectedTab.style.paddingBottom = '0px';
      selectedTab.style.marginTop = '0px';
    }
    selectedTab = tab;
    selectedTab.style.backgroundColor = '';
    selectedTab.style.paddingBottom = '0px'; //4px for raised tabs
    selectedTab.style.marginTop = '0px'; //-4px for raised tabs
    for(i = 0; i < panels.length; i++)
      document.getElementById(panels[i]).style.display = (name == panels[i]) ? 'block':'none';
    return false;
  }
 
//for agenda-video page buttons
function goLite(FRM,BTN)
{
   window.document.forms[FRM].elements[BTN].style.color = "#808080";
   window.document.forms[FRM].elements[BTN].style.backgroundColor = "#E5c57a";
   window.document.forms[FRM].elements[BTN].style.borderColor = "#BBBBBB";
}

function goDim(FRM,BTN)
{
   window.document.forms[FRM].elements[BTN].style.color = "#c37B13";
   window.document.forms[FRM].elements[BTN].style.backgroundColor = "#E5c57a";
   window.document.forms[FRM].elements[BTN].style.borderColor = "#BBBBBB";
}

  
  <!--
SLIDES = new slideshow("SLIDES");

s = new slide();
s.src =  "images/feature/FireStationGroundbreaking20080207.jpg"
s.text = "Groundbreaking For A New Fire Station";
s.link = "http://www.marioncountyfl.org/misc/FireStationGroundbreaking.htm";
s.target = "_blank";
SLIDES.add_slide(s);

s = new slide();
s.src =  "images/feature/bus.jpg"
s.text = "GED Bus At Two Library Locations";
s.link = "http://www.marioncountyfl.org/misc/GEDBusAtLibraries.pdf";
s.target = "_blank";
SLIDES.add_slide(s);


s = new slide();
s.src =  "images/feature/flagfootball01.jpg"
s.text = "Let’s Play Some Football";
s.link = "http://www.marioncountyfl.org/misc/YouthFlagFootball20080201.pdf";
s.target = "_blank";
SLIDES.add_slide(s);


s = new slide();
s.src =  "images/feature/CommissionMeeting20080122.jpg"
s.text = "A Reason To Wear Red";
s.link = "http://www.marioncountyfl.org/misc/ReasonToWearRed.htm";
s.target = "_blank";
SLIDES.add_slide(s);

//-->