// JavaScript Document

function getcookie(cookiename) {
 var cookiestring=""+document.cookie;
 var index1=cookiestring.indexOf(cookiename);
 if (index1==-1 || cookiename=="") return ""; 
 var index2=cookiestring.indexOf(';',index1);
 if (index2==-1) index2=cookiestring.length; 
 return unescape(cookiestring.substring(index1+cookiename.length+1,index2));
}

var muteSounds = getcookie("mute") 
 
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="960" height="280">')
document.write('<param name="movie" value="swf/masthead.swf?skipintro=y&mute=' + muteSounds + '" />')
document.write('<param name="quality" value="high" />')
document.write('<param name="wmode" VALUE="transparent" />')
document.write('<embed src="swf/masthead.swf?skipintro=y&mute=' + muteSounds + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" width="960" height="280"></embed>')
document.write('</object>')
