function draw_iTunesButton()
{

 // document.write('<a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?id=284661270"> <img src="images/it_button2.gif"></a>');
 // document.write('<br>(Samples from all 10 tracks on iTunes)<br>');
 
  draw_iTunesFlash();

}



function draw_iTunesFlash()
{

  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0" id="Moviev2_02" width="340" height="150">');
  document.write('<param name="movie" value="flash/itunes.swf">');
  document.write('<param name="bgcolor" value="#B43131"> <param name="quality" value="high"> <param name="allowscriptaccess" value="samedomain">');
  document.write('<param name="movie" value="flash/itunes.swf">'); 
  document.write('<embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" name="itunes.swf" width="340" height="150" src="flash/itunes.swf" bgcolor="#B43131" quality="high" swliveconnect="true" allowscriptaccess="samedomain">'); 
  document.write('<noembed></noembed></embed></object>');  

 
}

function draw_albumFlash()
{

  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0" id="Moviev2_02" width="232" height="232">');
  document.write('<param name="movie" value="flash/da_simpleAlbumFadeIn.swf"><param name="wmode" value="transparent">');
  document.write('<param name="bgcolor" value="#B43131"> <param name="quality" value="high"> <param name="allowscriptaccess" value="samedomain">');
  document.write('<param name="movie" value="flash/da_simpleAlbumFadeIn.swf">'); 


//If this browser understands the mimeTypes property and recognizes the MIME Type //"application/x-shockwave-flash"...
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]){

   //...write out the following <EMBED> tag into the document.
    document.write('<embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" name="da_simpleAlbumFadeIn.swf" width="232" height="232" src="flash/da_simpleAlbumFadeIn.swf" bgcolor="#B43131" quality="high" swliveconnect="true" allowscriptaccess="samedomain" wmode="transparent">'); 
}

//Otherwise,...
else {

   //...write out the following <IMG> tag into the document. The image need
   //not be the same size as the Flash Player movie, but it may help you lay out the
   //page if you can predict the size of the object reliably.
   document.write('<a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?i=284661294&id=284661270"><IMG SRC="images/drawtime_music_cover_232.gif" WIDTH="232" HEIGHT="232"></a>');
}

 
  document.write('<noembed></noembed></embed></object>');  

 
}


function screenAdjustment(heightCheck)
{

  if(screen.height <= heightCheck)
 {

  //document.getElementById('flash_button').style.position="absolute";
  //document.getElementById('flash_button').style.marginLeft = "-320px";
  //document.getElementById('flash_button').style.border = "1px solid white";
  //document.getElementById('flash_button').style.clear = "left";
   document.getElementById('title_image').src = "images/page_title_v2_smaller.gif";

   document.getElementById('spacer1').height = "2";
   
  
  
  }
  
}


       
        
        
        


          
