<!--
// Script fuer 4steps2web
// Michael Ettl 30.06.2003

function do_init(level)
{
  /* Pruefung wegen Paket */
  if (level==0) { check_frameset(); }

  /* Externe Links in neuem Fenster
 if (1==0) 
 {
  var c=document.links;
  for(var i=0;i<c.length;i++) {
   if(!(c[i].href.search("4steps2web")> -1 || c[i].href.search(document.location.hostname)> -1)) {
     c[i].target="_blank";
   }
  }
 } 
 */
}

function check_frameset() 
{
 // Prueft ob bei DemoPaket die Seiten im korrekten Frame sind
 //  es sollte keine externe Verlinkung von Seiten direkt mögliche sein 
 if (window.name != 'Hauptframe')   { 
 	alert("Der Aufruf einzelner Seiten (ohne Rahmen) ist nur in den bezahlten Varianten möglich!\n\nYou can not open this page directly (without ad-frame) in the free version!\n\n4steps2web - http://www.4steps2web.net");
 	document.location='index.htm'; 
 }
}

function check_parent()
{
	/* left/top/bottom nicht ohne entspr. frameset aufrufbar */
	if(parent.frames.length==0) {
		parent.location.href="index.htm";
	}
}

function ZweiFrames(URI1,F1,URI2,F2) {
  Frame1=eval("parent."+F1);
  Frame2=eval("parent."+F2);
  Frame1.location.href = URI1;
  Frame2.location.href = URI2;
}

function large_img(meinbild,string,w,h) { 
	var win=window.open("","","width="+w+",height="+h+",resizable=1,left=100,top=20"); 
	win.document.open("text/html"); 
	win.document.writeln("<HTML><HEAD><TITLE>"+meinbild+"</TITLE>");
	win.document.writeln("<link rel='stylesheet' type='text/css' href='style.css'></HEAD><BODY>"); 
	win.document.writeln("<CENTER>");
	win.document.writeln("<H1>"); 
	win.document.writeln(string); 
	win.document.writeln("</H1>"); 
	win.document.writeln("<IMG SRC='"+meinbild+"'>"); 
	win.document.writeln("<P></P>"); 
	win.document.writeln("</CENTER>"); 
	win.document.writeln("</BODY></HTML>"); 
	win.document.close(); 
}
//-->

