// function addbookmark()
//           {
//              if (document.all)
//                   window.external.AddFavorite(location.href,document.Url);
//           }
//            function handleError()
//             {
//	            return true;
//             }
//            window.onerror = handleError;
//            
//            var ttext="www.fortune7inc.com - games forever";
//var stext="www.Fortune7inc.com - games forever";
//var tout="";
//var sout="";
//var ttimes=0;
//var stimes=0;
//var saves=stext;
//var frames=false;


////////////////////// |\
//// FRAMES request =====>
////////////////////// |/

//function setts(tparam,sparam,framep,menup) {

//ttext=tparam;
//stext=sparam;
//saves=sparam;
//if (framep==true) { frames=true; }
//if (framep==false){ frames=false;}

//}

////////////////////// |\
//// MOUSE handler ======>
////////////////////// |/

//function onmouses(sparamm) 	{ stext=sparamm;}
//function outmouses()		{ stext=saves;	}

////////////////////// |\
//// STATUS Script ======>
////////////////////// |/

//function statusx() {

//stimes++;

//	//You can make so much animations as you want but,
//	//the last animation must include: stimes=0;

//if (stimes==1)  { sout="----"+stext+"----"; }
//if (stimes==2)  { sout=">--"+stext+"--<";   }
//if (stimes==3)  { sout="->-"+stext+"-<-";   }
//if (stimes==4)  { sout="-->"+stext+"<--";   }
//if (stimes==5)  { sout="----"+stext+"----"; }
//if (stimes==6)  { sout="     "+stext+"   "; }
//if (stimes==7)  { sout="----"+stext+"----"; }
//if (stimes==8)  { sout="     "+stext+"   "; }
//if (stimes==9)  { sout="----"+stext+"----"; }
//if (stimes==10) { sout="     "+stext+"   "; }
//if (stimes==11) { sout="----"+stext+"----"; }
//if (stimes==12) { sout="--<"+stext+">--";   }
//if (stimes==13) { sout="-<-"+stext+"->-";   }
//if (stimes==14) { sout="<--"+stext+"-->";   }
//if (stimes==14) { stimes=0;		    }

//window.status=sout;

//setTimeout("statusx()",200);

//}

////////////////////// |\
//// TITLE Script =======>
////////////////////// |/

//function titlex() {

//ttimes++;

//	//You can make so much animations as you want but,
//	//the last animation must include: ttimes=0;
//	//IMPORTANT: ever make two title animations
//	//one when frames are true one when false
//	//because when you use the frames function and
//	//There is no second function where is instead od
//	//doument.title, parent.document.title the script will not work


//if (ttimes==1)  { tout="----"+ttext+"----"; }
//if (ttimes==2)  { tout=">--"+ttext+"--<";   }
//if (ttimes==3)  { tout="->-"+ttext+"-<-";   }
//if (ttimes==4)  { tout="-->"+ttext+"<--";   }
//if (ttimes==5)  { tout="----"+ttext+"----"; }
//if (ttimes==6)  { tout=". . ."+ttext+". . .";   }
//if (ttimes==7)  { tout="----"+ttext+"----"; }
//if (ttimes==8)  { tout=". . ."+ttext+". . .";   }
//if (ttimes==9)  { tout="----"+ttext+"----"; }
//if (ttimes==10) { tout=". . ."+ttext+". . .";   }
//if (ttimes==11) { tout="----"+ttext+"----"; }
//if (ttimes==12) { tout="--<"+ttext+">--";   }
//if (ttimes==13) { tout="-<-"+ttext+"->-";   }
//if (ttimes==14) { tout="<--"+ttext+"-->";   }
//if (ttimes==14) { ttimes=0;		    }

//if (frames==false) { document.title=tout;	}	 
//if (frames==true)  { parent.document.title=tout;}

//setTimeout("titlex()",200);
//}

//For IE flash auto activation
var bo_ns_id = 0;
function startIeFix()
{ 
 if(isIE())
 {  
 document.write('<div style="display: none;" id="bo_ns_id_' + bo_ns_id + '">');
   }
   }
   function endIeFix()
   {
   if(isIE())
   {
   document.write('</div>');
   var theObject = document.getElementById("bo_ns_id_" + bo_ns_id++);
   if(theObject.firstChild.data)
   {
   theObject.firstChild.removeAttribute('data'); 
   }
   var theParams = theObject.getElementsByTagName("param");
   var theParamsLength = theParams.length;
   for (var j = 0; j < theParamsLength; j++)
   {
   if(theParams[j].name.toLowerCase() == 'flashvars')
   {
   var theFlashVars = theParams[j].value;
   }
   }
   var theInnnerHTML = theObject.innerHTML;
   var re = /<param name="FlashVars" value="">/ig;
   theInnnerHTML = theInnnerHTML.replace(re, "<param name='FlashVars' value='" + theFlashVars + "'>");
   theObject.outerHTML = theInnnerHTML;
   }
   }
   function isIE()
   {
   var strBrwsr = navigator.userAgent.toLowerCase();
   if(strBrwsr.indexOf("msie") > -1 && strBrwsr.indexOf("mac") < 0)
   {
   return true;
   }
   else
   {
   return false;
   }
   }
				

