var win;

function engage(URL) {location.href=URL;}

function pop()
        {
   neu = window.open('youxx/index_frames.html','','fullscreen=1')
        neu.focus();
        }

function shoplink()
   {
   if(navigator.appName == 'Microsoft Internet Explorer' && navigator.platform.indexOf('Win') != -1)
      {
      win=window.open('../../shop/frame.html','win','fullscreen');
          if(screen.width < 1024) {
      win.window.moveTo(100,80);
          }
          else{
          win.window.moveTo(318,248);
          }
      win.window.resizeTo(705,520);
      win.focus();
      }
        else{
          win=window.open('../../shop/index.php3','win','directories=0,location=0,menubar=0,resizeable=0,resizeable=0,scrollbars=1,status=0,toolbar=0,,top=188,left=310,width=705,height=520');
      win.focus();
          }
   }

function chatlink()
   {
   if(navigator.appName == 'Microsoft Internet Explorer' && navigator.platform.indexOf('Win') != -1)
      {
      win=window.open('../../chat/frame.html','win','fullscreen');
          if(screen.width < 1024) {
      win.window.moveTo(100,80);
          }
          else{
          win.window.moveTo(318,248);
          }
      win.window.resizeTo(705,520);
      win.focus();
      }
        else{
          win=window.open('../../chat/index.php','win','directories=0,location=0,menubar=0,resizeable=0,resizeable=0,scrollbars=1,status=0,toolbar=0,,top=188,left=310,width=705,height=520');
      win.focus();
          }
   }

   
function chatlinkm()
   {
   if(navigator.appName == 'Microsoft Internet Explorer' && navigator.platform.indexOf('Win') != -1)
      {
      win=window.open('../../chat/framem.html','win','fullscreen');
          if(screen.width < 1024) {
      win.window.moveTo(100,80);
          }
          else{
          win.window.moveTo(318,248);
          }
      win.window.resizeTo(705,520);
      win.focus();
      }
        else{
          win=window.open('../../chat/indexm.php','win','directories=0,location=0,menubar=0,resizeable=0,resizeable=0,scrollbars=1,status=0,toolbar=0,,top=188,left=310,width=705,height=520');
      win.focus();
          }
   }   
 
 
 function chatlinkf()
   {
   if(navigator.appName == 'Microsoft Internet Explorer' && navigator.platform.indexOf('Win') != -1)
      {
      win=window.open('../../chat/framef.html','win','fullscreen');
          if(screen.width < 1024) {
      win.window.moveTo(100,80);
          }
          else{
          win.window.moveTo(318,248);
          }
      win.window.resizeTo(705,520);
      win.focus();
      }
        else{
          win=window.open('../../chat/indexf.php','win','directories=0,location=0,menubar=0,resizeable=0,resizeable=0,scrollbars=1,status=0,toolbar=0,,top=188,left=310,width=705,height=520');
      win.focus();
          }
   }
 
   
 function smslink()
   {
   if(navigator.appName == 'Microsoft Internet Explorer' && navigator.platform.indexOf('Win') != -1)
      {
      win=window.open('../../sms/','win','fullscreen');
          if(screen.width < 1024) {
      win.window.moveTo(100,80);
          }
          else{
          win.window.moveTo(318,248);
          }
      win.window.resizeTo(705,520);
      win.focus();
      }
        else{
          win=window.open('../../sms/','win','directories=0,location=0,menubar=0,resizeable=0,resizeable=0,scrollbars=1,status=0,toolbar=0,,top=188,left=310,width=705,height=520');
      win.focus();
          }
   }


   function forenlink()
   {
   if(navigator.appName == 'Microsoft Internet Explorer' && navigator.platform.indexOf('Win') != -1)
      {
      win=window.open('../../forum/start.html','win','fullscreen');
          if(screen.width < 1024) {
      win.window.moveTo(100,80);
          }
          else{
          win.window.moveTo(318,248);
          }
      win.window.resizeTo(705,520);
      win.focus();
      }
        else{
          win=window.open('../../forum/start.html','win','directories=0,location=0,menubar=0,resizeable=0,resizeable=0,scrollbars=1,status=0,toolbar=0,,top=188,left=310,width=705,height=520');
      win.focus();
          }
   }


function abfrage_plugin()
   {
   if(navigator.appName == 'Microsoft Internet Explorer' && navigator.platform.indexOf('Win') != -1)
      {}
        else{
        var flash=0;

        for(i=0;i<navigator.plugins.length;i++){
        if(navigator.plugins[i].name.toLowerCase().indexOf("flash")>-1)flash=1;
        }

        if(flash) neu = window.open('youxx/index_frames.html','','fullscreen=1')
        neu.focus();
          }
   }


function video_auf(datei){

   if(navigator.appName == 'Microsoft Internet Explorer' && navigator.platform.indexOf('Win') != -1){
      win=window.open('/videos/frame.php?video='+datei,'ich','fullscreen');
      win.window.resizeTo(280,321);
      win.window.moveTo(500,300);
          win.focus();
      }
   else{      win=window.open('/videos/unten.php?video='+datei,'ich','width=280,height=300');
          win.focus();
  z=setInterval('chek()',10);
   }
}

function chek()
  {
    if(win.closed) {
    document.main.LoadMovie(50,'youxx/dummy.swf');
    clearInterval(z);
    }
}

function zu()
		 {
parent.close();
if (null!=win)
win.close();
		 } 

		 
function mailer()
   {
   if(navigator.appName == 'Microsoft Internet Explorer' && navigator.platform.indexOf('Win') != -1)
      {
      win=window.open('','win','fullscreen');
          if(screen.width < 1024) {
      win.window.moveTo(100,80);
          }
          else{
          win.window.moveTo(318,248);
          }
      win.window.resizeTo(705,520);
      win.focus();
      }
        else{
          win=window.open('../../cards/mailer.php','win','directories=0,location=0,menubar=0,resizeable=0,resizeable=0,scrollbars=1,status=0,toolbar=0,,top=188,left=310,width=705,height=520');
      win.focus();
          }
}
