/*
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="76" height="76" name="abc" id="abc" onmouseover="makebig(this)" onmouseout="makesmall(this)" style="position:absolute; z-index:5;">
  <param name="movie" value="/mymovie.swf">
  <param name="quality" value="high">
  <param name="wmode" value="transparent">
  <embed src="/mymovie.swf" width="76" height="76" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="abc"></embed>
</object>
*/
//document.write('<div id="bigredbox" style="background-color:red;position:absolute;">Hello</div>');
/*
function objmove(obj,x,y){
  obj.style.top=y;
  obj.style.left=x;
}
function myfunc(){
  abc.style.bottom='';
  abc.style.right='';
  switch(navigator.family)
    {
      case 'nn4':
        dh=window.innerHeight+window.pageYOffset-10;
        dw=window.innerWidth+window.pageXOffset-20;
        document.abc.top=dh-17-25;
        document.abc.left=dw-19-29;
        break;
      default:
        //dh=document.body.clientHeight+document.documentElement.scrollTop;
        dh=document.documentElement.clientHeight+document.documentElement.scrollTop;
        //dw=document.body.clientWidth+document.documentElement.scrollLeft;
        dw=document.documentElement.clientWidth+document.documentElement.scrollLeft;
        if (isNaN(dh)) {
          window.addEventListener("resize",myfunc,true);
          dh=window.innerHeight+window.pageYOffset-10;
          dw=window.innerWidth+window.pageXOffset-20;
          abc=document.getElementById("abc");}
        window.status=dh;
        abc.style.top=dh-5-abc.height;
        abc.style.left=dw-5-abc.width;
        break;
    }
	window.setTimeout("myfunc();",100);
}
*/
var HTMLstr2;
HTMLstr3='<style type="text/css">';
HTMLstr3+='<!--';
HTMLstr3+='#julcir { position:absolute; z-index:5; visibility:visible;}';
HTMLstr3+='-->';
HTMLstr3+='</style>'
HTMLstr4='<div id="fbicon" name="fbicon"><object onmouseover="fbmov(this);" onmouseout="fbmou(this);" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="76" height="76" name="julcir" id="julcir">  <param name="movie" value="/mymovie.swf">  <param name="quality" value="high">  <param name="wmode" value="transparent">  <embed src="/mymovie.swf" width="76" height="76" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="abc"></embed></object></div>';
document.write(HTMLstr3);
document.write(HTMLstr4);
setInterval("setpicpos();",100);
setpicpos();
//document.body.onresize=setpicpos;
//document.body.onscroll=setpicpos;
switch(navigator.family){
  case 'nn4':
    document.layers['fbicon'].onmouseover=fbmov;
    document.layers['fbicon'].onmouseout=fbmou;
    document.layers['fbsign'].onmouseover=fbmov;
    document.layers['fbsign'].onmouseout=fbmou;
    document.layers['fbover'].onmouseover=fbmov;
    document.layers['fbover'].onmouseout=fbmou;
    break;
  }
function setpicpos(){
  switch(navigator.family)
    {
      case 'nn4':
        dh=window.innerHeight+window.pageYOffset-10;
        dw=window.innerWidth+window.pageXOffset-20;
        document.fbicon.top=dh-17-25;
        document.fbicon.left=dw-19-29;
        document.fbover.top=dh-17-25;
        document.fbover.left=dw-19-29;
        document.fbsign.top=dh-25;
        document.fbsign.left=dw-75;        
        break;
      default:
        dh=document.body.clientHeight+document.body.scrollTop;
        dw=document.body.clientWidth+document.body.scrollLeft;
        if (isNaN(dh)) {
          window.addEventListener("resize",setpicpos,true);
          dh=window.innerHeight+window.pageYOffset-10;
          dw=window.innerWidth+window.pageXOffset-20;
          julcir=document.getElementById("julcir");}
        julcir.style.top=dh-17-julcir.height;
        julcir.style.left=dw-19-julcir.width;
        break;
    }}
function nothing(){}
function fbmov(objn){
  makebig(objn);
  setpicpos();}
function fbmou(objn){
  makesmall(objn);
  setpicpos();}
function fbmclick(){
  window.location.href="email.asp";}

semaphore=0;
latestsize=0;
maxs=356;
mins=76;
var chgobj;
function makebig(obj){
  obj.width=maxs;
  obj.height=maxs;
}
function makesmall(obj){
  obj.width=mins;
  obj.height=mins;
}
function modabc(w,h,mod,stype){
  sett=0;
  oldw=parseInt(chgobj.width);
  oldh=parseInt(chgobj.height);
  chgobj.width=w;
  chgobj.height=h;
  w=0+w+mod;
  h=0+h+mod;
  mycommand="modabc(" + (w) + "," + (h) + "," + mod + "," + stype + ")";
  semaphore=1;
  if(stype==latestsize) if(w<=maxs) if(w>=mins) {window.setTimeout(mycommand,50);sett=1;}
  if(sett==0) window.setTimeout("semaphore=0",50);
}