

// Netscape Flash Detector. 

// cut&paste from www.macromedia.com



FlashMode = 0;





if (navigator.appName == "Netscape" && navigator.plugins) {

   numPlugins = navigator.plugins.length;

   if (numPlugins > 0) 

    {

      

      for (i = 0; i < numPlugins; i++)

      {

         	plugin = navigator.plugins[i];

			if (plugin.description.indexOf("Flash 3") != -1 || plugin.description.indexOf("Flash 4") != -1) {

            numTypes = plugin.length;

            for (j = 0; j < numTypes; j++) 

            {

               mimetype = plugin[j];

               

               if (mimetype)

               {     

                  if (mimetype.enabledPlugin && (mimetype.suffixes.indexOf("swf") != -1))

                     FlashMode = 1;

                  // Mac wierdness

                  if (navigator.mimeTypes["application/x-shockwave-flash"] == null)

                     FlashMode = 0;

               }

            }

         }

      }

   }                        

}




// Flash Site starten deutsch
function openpop()

{

	var url="start.html";

	popNav = window.open(url, "popNav", "left=10,screenX=10,top=20,screen=20,titlebar=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,directories=0,width=400,height=400");

	self.close();

}


// Flash Site starten english
function openpop_e()

{

	var url="start_e.html?en";

	popNav = window.open(url, "popNav", "left=10,screenX=10,top=20,screen=20,titlebar=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,directories=0,width=400,height=400");

	self.close();

}


// debug code
//javascript:window.open('stones.html','win','width=700,height=550,menubar=no,directories=no,location=no,toolbar=no,resizable=no,scrollbars=no,status=no')
function debug()

{

	var url="stones.html";

	popNav3 = window.open(url, "popNav3", "width=700,height=550,menubar=no,directories=no,location=no,toolbar=no,resizable=no,scrollbars=no,status=no"); 

popNav3.focus();


}

// HTML Site starten deutsch
function openpop_h()

{

	var url="start_frame.html";

	popNav = window.open(url, "popNav", "left=10,screenX=10,top=20,screen=20,titlebar=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,directories=0,width=400,height=400");

	self.close();

}

// HTML Site starten english
function openpop_he()

{

	var url="start_framee.html";

	popNav = window.open(url, "popNav", "left=10,screenX=10,top=20,screen=20,titlebar=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,directories=0,width=400,height=400");

	self.close();

}

