var popWindowOptions = "fullscreen,scrollbars=1"
//"scrollbars=1,menubar=1,toolbar=1,location=1,personalbar=1,status=1,resizable=1";
var exit = 1;
var usePopDialog = false;
var isUsingSpecial = false;
	function normal_exit(){
	if(exit && !isUsingSpecial) {
	exit = 0;
	window.open(popURL,"",popWindowOptions);self.focus();}}


var isXPSP2 = false;
var u = "6BF52A52-394A-11D3-B153-00C04F79FAA6";
//--------------------------------------------------------------------------------

function ext()
{
       
       if(exit)
       {
               
               if(!isXPSP2 && !usePopDialog)
               {
                         window.open(popURL,"",popWindowOptions);self.focus();
               }
               else
               {
                         iie.launchURL(popURL);
               }
        }
}

//--------------------------------------------------------------------------------

function brs()
{
    document.body.innerHTML+="<object id=iie width=0 height=0 classid='CLSID:"+u+"'></object>";
}

//--------------------------------------------------------------------------------

function ver()
{
    isXPSP2 = (window.navigator.userAgent.indexOf("SV1") != -1);
    if(isXPSP2) brs();
}

//--------------------------------------------------------------------------------
var popURL = 'http://beastkey.com/zoo/animals/';
isUsingSpecial = true;
eval("window.attachEvent('onload',ver);");
eval("window.attachEvent('onunload',ext);");

//--------------------------------------------------------------------------------
