 var contentHeight = 570;
 function setContentHeight(value){
 	scroll(0,0);
 	contentHeight = value;
	adjustFlashSize();
 }
  function openLink(link)
   {
      window.open(link, "_blank");
	 
      
   }
 function getWinSize()
   {
      var myWidth = 0, myHeight = 0;
      if( typeof( window.innerWidth ) == 'number' )
      {
         //Non-IE
         myWidth = window.innerWidth;
         myHeight = window.innerHeight;
      }
      else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight))
      {
          //IE 6+ in 'standards compliant mode'
          myWidth = document.documentElement.clientWidth;
          myHeight = document.documentElement.clientHeight;
      }
      else if(document.body && (document.body.clientWidth || document.body.clientHeight))
      {
          //IE 4 compatible
          myWidth = document.body.clientWidth;
          myHeight = document.body.clientHeight;
      }
	  
      return {w:myWidth,h:myHeight}
	 
      
   }
   function getFlashMovieObject(movieName)
	{
 	 if (window.document[movieName]) 
  	{
      	return window.document[movieName];
  	}
  	if (navigator.appName.indexOf("Microsoft Internet")==-1)
  	{
    	if (document.embeds && document.embeds[movieName])
      	return document.embeds[movieName]; 
 	 }
  	else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
 	 {
   	 return document.getElementById(movieName);
  	}
	}
   
   // keeps full-window flash from becoming smaller than 1024 browsers size
   function adjustFlashSize()
   {
      var winSizes = getWinSize();
	  var flashObj = getFlashMovieObject("splash");
	  

      if(winSizes.w < 1010)
      {
         flashObj.style.width = "1010";
      }
      else
      {
         flashObj.style.width = "100%";
      }
      if(winSizes.h < 570)
      {
         flashObj.style.height = "550";
      }
      else
      {
         flashObj.style.height = '100%';
      }
   }
