function RunFoo(){
    document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH=305 HEIGHT=250>\n');
    document.write('<PARAM NAME=movie VALUE="/content/flash/new.swf" />\n');
    document.write('<PARAM NAME=quality VALUE=high />\n');
    document.write('<PARAM NAME=wmode VALUE=transparent />\n');
    document.write('<PARAM NAME=bgcolor VALUE=#FFFFFF />\n');
    document.write('<EMBED src="/content/flash/new.swf" quality=high bgcolor=#FFFFFF WIDTH=305 HEIGHT=250 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode="transparent"></EMBED>\n');
    document.write('</OBJECT>\n');
}
function RunFoo2(){
    document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH=305 HEIGHT=250>\n');
    document.write('<PARAM NAME=movie VALUE="/content/flash/new_8-19-10.swf" />\n');
    document.write('<PARAM NAME=quality VALUE=high />\n');
    document.write('<PARAM NAME=wmode VALUE=transparent />\n');
    document.write('<PARAM NAME=bgcolor VALUE=#FFFFFF />\n');
    document.write('<EMBED src="/content/flash/new_8-19-10.swf" quality=high bgcolor=#FFFFFF WIDTH=305 HEIGHT=250 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode="transparent"></EMBED>\n');
    document.write('</OBJECT>\n');
}
function RunFoo3(){
    document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH=305 HEIGHT=250>\n');
    document.write('<PARAM NAME=movie VALUE="/content/flash/new_1-31-11.swf" />\n');
    document.write('<PARAM NAME=quality VALUE=high />\n');
    document.write('<PARAM NAME=wmode VALUE=transparent />\n');
    document.write('<PARAM NAME=bgcolor VALUE=#FFFFFF />\n');
    document.write('<EMBED src="/content/flash/new_1-31-11.swf" quality=high bgcolor=#FFFFFF WIDTH=305 HEIGHT=250 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode="transparent"></EMBED>\n');
    document.write('</OBJECT>\n');
}

// BROWSER SELECTOR CODE
function css_browser_selector(u){var ua = u.toLowerCase(),is=function(t)
{return ua.indexOf(t)>-1;},g='gecko',w='webkit',s='safari',h=document.getElementsByTagName('html')[0],
b=[(!(/opera|webtv/i.test(ua))&&/msie\s(\d)/.test(ua))?('ie ie'+RegExp.$1):is('firefox/2')?g+' ff2':is('firefox/3')?g+' ff3':is('gecko/')?g:/opera(\s|\/)(\d+)/.test(ua)?'opera opera'+RegExp.$2:is('konqueror')?'konqueror':is('chrome')?w+' chrome':is('applewebkit/')?w+' '+s+(/version\/(\d+)/.test(ua)?' '+s+RegExp.$1:''):is('mozilla/')?g:'',is('j2me')?'mobile':is('iphone')?'iphone':is('ipod')?'ipod':is('mac')?'mac':is('darwin')?'mac':is('webtv')?'webtv':is('win')?'win':is('freebsd')?'freebsd':(is('x11')||is('linux'))?'linux':'','js']; c = b.join(' '); h.className += ' '+c; return c;}; css_browser_selector(navigator.userAgent);

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
  var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
var state = 'hidden';
function showhide(layer_ref){
    if(state=='visible'){
	state = 'hidden';
    } else {
	state = 'visible';
	}
    eval("document.all." + layer_ref + ".style.visibility = " + state);
}
var state = 'hidden';
function hide(layer_ref){
    if(state=='visible'){
	state = 'hidden';
    } else {
	state = 'visible';
    }
    eval("document.all." + layer_ref + ".style.visibility = state");
}
function frame1(stringToEval){
  var movie=eval(stringToEval);
  if(movie) movie.Rewind();
}
function frame2(stringToEval){
  var movie=eval(stringToEval);
  if(movie) movie.GotoFrame(2); movie.Play();
}
function showVideo(){
    hide('hidePopup2');hide('hidePopup');
    frame2('document.getElementsByName(\'video\')[0]');
}
function noVideo(){
    hide('hidePopup');hide('hidePopup2');
    frame1('document.getElementsByName(\'video\')[0]');
}
btn1 = new Image(95, 31);
btn1.src= "/content/images/end1.gif";
bl_btn1 = new Image(95, 31);
bl_btn1.src= "/content/images/end1_over.gif";
btn2 = new Image(95, 31);
btn2.src= "/content/images/end2.gif";
bl_btn2 = new Image(95, 31);
bl_btn2.src= "/content/images/end2_over.gif";
