//<![CDATA[
<!--

var message="Right-mouse click has been disabled.";
function click(e)
{
  if (document.all)
  {
    if (event.button==2||event.button==3)
    {
      alert(message);
      return false;
    }
  }
  else
  {
    if (e.button==2||e.button==3)
    {
      e.preventDefault();
      e.stopPropagation();
      alert(message);
      return false;
    }
  }

}

if (document.all) // for IE
{
  document.onmousedown=click;
}
else // for FF
{
  document.onclick=click;
}

	$(document).ready(function(){
		generateSprites(".nav-top", "current-", true, 300, "fade");
		generateSprites(".nav-btm", "current-", true, 300, "fade");
	});



$(document).ready(function() {
 
 
    
 
    $(".galleries").click( function() {
        if ($("#openCloseIdentifier").is(":hidden")) {
            $("#subnav").animate({height: "0px"}, 500 );
            $(".nav-btm").animate({top: "175px"}, 500 );
            $("#openCloseIdentifier").show();
	 $.cookie('GalBox', 'collapsed', { path: '/' } );


        } else {
            $("#subnav").animate({height:"242px"}, 500 );
            $(".nav-btm").animate({top:"347px"}, 500 );
            $("#openCloseIdentifier").hide();
	 $.cookie('GalBox', 'open', { path: '/' } );

        }
    }); 




var so = new SWFObject("/images/mcgraw/site/template/MusicFinal.swf", "Music", "100", "25", "9", "#000000");
   so.addParam("wmode", "transparent");
   so.write("MusicLayer");

/* Replacement calls. Please see documentation for more information. */

if(typeof sIFR == "function"){

// This is the preferred "named argument" syntax
	sIFR.replaceElement(named({sSelector:".hana", sFlashSrc:"/images/mcgraw/site/template/hana.swf", sColor:"#333333", sLinkColor:"#FFFFFF", sHoverColor:"#048eed", sWmode:"transparent", nPaddingTop:"10", sFlashVars:"textalign=left"}));

sIFR.replaceElement(named({sSelector:".hana2", sFlashSrc:"/images/mcgraw/site/template/hana.swf", sColor:"#048eed", sLinkColor:"#FFFFFF", sHoverColor:"#048eed", sWmode:"transparent", nPaddingTop:"10", sFlashVars:"textalign=left"}));

sIFR.replaceElement(named({sSelector:".hana3", sFlashSrc:"/images/mcgraw/site/template/hana.swf", sColor:"#FFFFFF", sLinkColor:"#FFFFFF", sHoverColor:"#048eed", sWmode:"transparent", nPaddingTop:"5", sFlashVars:"textalign=left"}));

sIFR.replaceElement(named({sSelector:".contact1", sFlashSrc:"/images/mcgraw/site/template/hana.swf", sColor:"#FFFFFF", sLinkColor:"#FFFFFF", sHoverColor:"#048eed", sWmode:"transparent", nPaddingTop:"7", sFlashVars:"textalign=center"}));

sIFR.replaceElement(named({sSelector:".contact2", sFlashSrc:"/images/mcgraw/site/template/hana.swf", sColor:"#048eed", sLinkColor:"#FFFFFF", sHoverColor:"#048eed", sWmode:"transparent", nPaddingTop:"1", sFlashVars:"textalign=left"}));

sIFR.replaceElement(named({sSelector:".contact3", sFlashSrc:"/images/mcgraw/site/template/hana.swf", sColor:"#CCCCCC", sLinkColor:"#FFFFFF", sHoverColor:"#048eed", sWmode:"transparent", nPaddingTop:"10", sFlashVars:"textalign=left"}));


};







});



$(document).ready(function() {

  var StoreGal = $.cookie('GalBox');

  if (StoreGal == 'open') {
            $("#subnav").animate({height: "242px"}, 500 );
            $(".nav-btm").animate({top: "347px"}, 500 );
            $("#openCloseIdentifier").hide();

        };
	
	
});




//-->
//]]> 