//<!--
// flash.js 1.0 06.04.2006
//
// Copyright (c) 2006 Carsten Manshusen Softwareentwicklung. All Rights Reserved.
//
// History: 06.04.2006 mac Erzeugung

// Flash-Control erzeugen
function CreateFlashControl(mediaFile, title, width, height) {
  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + ' codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"'
    + ' title="' + title + '" width="' + width + '" height="' + height + '">'
    + '<param name="movie" value="' + mediaFile + '" />'
    + '<param name="quality" value="high" />'
    + '<embed src="' + mediaFile + '" quality="high"'
    + ' pluginspage="http://www.macromedia.com/go/getflashplayer"'
    + ' type="application/x-shockwave-flash"'
    + ' width="' + width + '" height="' + height + '"></embed></object>');
}

function forsure(text)
{

         Check = confirm( text);

         if(Check == false)
         {
                  return false;
         }

         return true;
}

function popup(w,h,site) 
{
        //mittig ausrichten
        x = screen.availWidth/2-w/2;
        y = screen.availHeight/2-h/2;
        
        popupWindow = window.open(
        site,'xxx','width='+w+',height='+h+',left='+x+',top='+y+',screenX='+x+',screenY='+y);
}



function popup() 
{
        w = '830';
        h = '620';
        site = 'index.php';
        
        //mittig ausrichten
        x = screen.availWidth/2-w/2;
        y = screen.availHeight/2-h/2;
        
        popupWindow = window.open(
        site,'xxx','width='+w+',height='+h+',left='+x+',top='+y+',screenX='+x+',screenY='+y);
}
//-->

